Hello community,
I've just experienced Ranorex and I am curious to get more into it. I already tried to create a Testscript to prove an application against functional requirements.
In addition I've had a closer look on the videos provided online but there are stilöl a few things I'd like to know.
Ho can i check whether an option within the menu is shown or hidden. For example in the firefox browser I'd like to test whether the option to search for add-ons is shown or not.
The used should not be able to look for add-ons by himself and therefore I need to check whether this option will be hidden. How could I create a script that tests this case?
I do hope you can help me with that!
Kind Regards
Check whether option is hidden
Re: Check whether option is hidden
Hi,
I don't have a clue how to hide a plugin search box in FF (is there a parameter/option to do that?). Anyway, what I would do is to track the search box (while available) to store its xpath in repo. Then simply use Validate Not Exists action/method to validate its "non-existence" during test.
Eventually, you can validate if the attribute "Hidden" for given xpath is True or not. True means the search box is hidden.
I don't have a clue how to hide a plugin search box in FF (is there a parameter/option to do that?). Anyway, what I would do is to track the search box (while available) to store its xpath in repo. Then simply use Validate Not Exists action/method to validate its "non-existence" during test.
Eventually, you can validate if the attribute "Hidden" for given xpath is True or not. True means the search box is hidden.
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