Hi,
Ranorex has problem with finding elements from Repository, while running records WebApplication.
Testing environment: Mozilla Firefox Quantum 61.0.1 (64 bity) + Ranorex Plugin 1.1.3
We have recorded test case with acvivated Ranorex Plugin - object was added to repistory in 1 way (on screeshot - red digit 1).
After runing test on Virtual Machine (where we have the same parameters like on this computer, where test was created) Ranorex is not able to find item.
Solution is maping objects with disactivated Ranorex Plugin (on screenshot - red digit 2) - Now object was found successfully on Virtual Machine *.
* After maping item without plugin, we activate plugin again.
This situation doens't concern only virutal machine, it also quite often has place when we have recorded some test case, and we are trying to run it on the same computer (the same example like above).
What is the reason of this situation ?
Thanks in advance for help
Not able to identify objects (WebApplication)
Re: Not able to identify objects (WebApplication)
Hi,
Is there and reason why you are mapping elements with disabled plugin? This is, in my opinion, a completely wrong approach! You should always record/manually add elements with enabled plugin, otherwise, the web page elements are not found under DOM. And this is why the playback fails once the plugin is enabled (and DOM is found). Recording elements without Ranorex plugin makes the xpaths much less detailed/unique and not as reliable/fast as with plugin.
Is there and reason why you are mapping elements with disabled plugin? This is, in my opinion, a completely wrong approach! You should always record/manually add elements with enabled plugin, otherwise, the web page elements are not found under DOM. And this is why the playback fails once the plugin is enabled (and DOM is found). Recording elements without Ranorex plugin makes the xpaths much less detailed/unique and not as reliable/fast as with plugin.
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: Not able to identify objects (WebApplication)
Thank you for your response.
The reason why I deactivated the plugin for mappig this kind of object was fact, that after recording with activated plugin, during running test, Ranorex was not able to find the element.
When I deactivated the plugin, mapped object and activated Ranorex plugin again, it was able to find an object.
Best regards
The reason why I deactivated the plugin for mappig this kind of object was fact, that after recording with activated plugin, during running test, Ranorex was not able to find the element.
When I deactivated the plugin, mapped object and activated Ranorex plugin again, it was able to find an object.
Best regards