How to work with pop-ups?

If you have multiple pop-ups (or windows) in your application, you can take advantage of the Pop-up field of locators to include a text or phrase that uniquely identifies the pop-up you are targeting. When a command is finished, the next command starts off with the main window and if pop-up field is populated, it will search for the phrase defined in the pop-up field before trying to find the locator. If it does not find it in the main window, it keeps going to the next pop-up to find the unique text until it finds the pop-up that includes the unique text and then it will try to find the locator there.

CLOSE_POPUP command enables you to close a pop-up and takes as parameter, a unique text on the pop-up that you want to close.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.