Not able to identify objects (WebApplication)

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
PR91
Posts: 2
Joined: Fri Aug 10, 2018 8:33 am

Not able to identify objects (WebApplication)

Post by PR91 » Fri Aug 10, 2018 12:27 pm

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

Image

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

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3949
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Not able to identify objects (WebApplication)

Post by odklizec » Fri Aug 10, 2018 1:33 pm

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.
Pavel Kudrys
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

PR91
Posts: 2
Joined: Fri Aug 10, 2018 8:33 am

Re: Not able to identify objects (WebApplication)

Post by PR91 » Sat Aug 11, 2018 10:30 pm

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