Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

btnWinAppDriverCode_Click doesn't set btnRecord.IsChecked to false #2010

Open
micrec90 opened this issue Jun 8, 2024 · 1 comment
Open

Comments

@micrec90
Copy link

micrec90 commented Jun 8, 2024

// Stop recording
if (btnRecord.IsChecked == true)
{
btnRecord_Click(null, null);
}

I don't think it's a good idea to programmatically "click" the button like this. The toggle button will still have it's IsChecked property set to true therefore the next time we click Record it will be set to false.

@RakeshDangi-slt
Copy link

use the check box image or element to verify, the property might not update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants