Hi, we have a test that needs to validate the "submit" function.
After the application UI is loaded, when a user click the submit the button, if the submit is successful, the application UI will automatically be closed. How do we validate submit is successful in our Ranorex code?
Thanks,
Zhiqiu
How to validate the page is closed
Re: How to validate the page is closed
Hi,
Depending on your needs, you should use Validate.NotExists(), WaitForNotExists() or a combination of both methods. First validates the 'not exists' state of given repo element/xpath second one waits for not existence of given repo info element. You can find many examples of both methods at this forum. Hope this helps?
Depending on your needs, you should use Validate.NotExists(), WaitForNotExists() or a combination of both methods. First validates the 'not exists' state of given repo element/xpath second one waits for not existence of given repo info element. You can find many examples of both methods at this forum. Hope this helps?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration