Hi,
Is it possible to check that an element is enabled and if so how would you check that, please.
thanks
Element enabled test in recorded test
Re: Element enabled test in recorded test
Sure, you can validate "enabled" attribute (as any other element's attribute). Check the "Validation" paragraph here...
http://www.ranorex.com/support/user-gui ... rding.html
http://www.ranorex.com/support/user-gui ... rding.html
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
Re: Element enabled test in recorded test
Hi,
I want to wait for the element to become enabled, will the validate wait for the element to become enabled?
I want to wait for the element to become enabled, will the validate wait for the element to become enabled?
Re: Element enabled test in recorded test
No, validation will not wait for "enabled" state. What you can do is to add the element in question to repository (don't forget to include the "enabled" attribute to its path). Then in recording use the WaitForExists action, which will pause the test execution until the element with attribute enabled=true is found. This is probably the easiest solution of your problem? More sophisticated way would be using the UserCode with do...while loop and some IFs. 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