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

How to work with new windows #5

Open
ayaz-ashrapov opened this issue Nov 28, 2016 · 0 comments
Open

How to work with new windows #5

ayaz-ashrapov opened this issue Nov 28, 2016 · 0 comments

Comments

@ayaz-ashrapov
Copy link

Hi Joshua,
Thank you for your work. Could you, please, explain how to handle multiple windows and dialogs?
Here is my sample scenario:

  1. Run application -> Login splash screen appears
  2. Click to Login button -> splash screen disappears and main window shows up
  3. Click to button in main window

I managed to write steps 1 and 2, but can't click any button at step 3 - test waits for some time then reports 'Unable to regex match on Screen' error. At that time application window is active and visible, so I wonder if there is some method that I need to call in order to redraw the whole screen before calling methods for controls in main window?

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

1 participant