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

Inconsistent selection behavior in end-to-end tests #1

Open
dmitrybublik opened this issue Dec 14, 2016 · 0 comments
Open

Inconsistent selection behavior in end-to-end tests #1

dmitrybublik opened this issue Dec 14, 2016 · 0 comments
Labels

Comments

@dmitrybublik
Copy link
Collaborator

dmitrybublik commented Dec 14, 2016

TestStack.White.UIItems.ListViewRow cannot be selected normally. The method Select() doesn't work. For selection emultaion we use trick:

listViewRow.Focus();
listViewRow.Cells[0].Click();

But this trick works unstable. It is better add big delay between Focus() and Click():

listViewRow.Focus();
Task.Delay(1000).Wait();
listViewRow.Cells[0].Click();

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

No branches or pull requests

2 participants