Ranorex V8.3.0 Spy - Track is unable to find button

Ask general questions here.
[email protected]
Posts: 6
Joined: Wed Oct 17, 2018 6:12 pm

Ranorex V8.3.0 Spy - Track is unable to find button

Post by [email protected] » Wed Oct 24, 2018 8:45 pm

Hi,

I am trying to find a button that appears in confirmation pop up, when the user clicks the logoff link. The track button in Spy does not seem to recognize the pop up window that appeared. How do I get Spy to see that the window has appeared?

Thanks,

Peter

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

Re: Ranorex V8.3.0 Spy - Track is unable to find button

Post by odklizec » Thu Oct 25, 2018 8:17 am

Hi,

I guess it's a web browser-related issue? What browser are we talking about (version)? Have you tried it in other browsers?

Could you please upload a Ranorex snapshot (NOT screenshot) of the web page, when the popup appears? Ideally, take the snapshot of entire web browsers form, not just page's DOM element. If the popup window is something browser-related (native browser popoup), then it may not be located under DOM, but somewhere in browser's form structure. in other words, it may not be traceable and maybe found only in browser's forms tree structure.
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

User avatar
Aracknid
Posts: 342
Joined: Tue Aug 10, 2010 3:23 pm
Location: Toronto, Ontario, Canada

Re: Ranorex V8.3.0 Spy - Track is unable to find button

Post by Aracknid » Fri Oct 26, 2018 3:41 pm

Assuming it's not a FireFox/Chrome plug-in issue, or an issue with not using Spy as an Admin, you can often use the Spy tool's screenshot section to highlight WITHIN the screen shot to drill into what you are looking for. I find that I have to do this mostly with Edge.

So, to do this, in Spy click on the DOM that contains the button and then click in the Spy window's screenshot area to capture the screen shot. If it's the right DOM and you can see the button in the screenshot, move over it in the screen shot and it should highlight in pink. Click it and the Spy's object tree will update to show that object.

If you cannot see the button in any of the DOM's, than maybe you'll have to dig through the Browser object itself (a form or windows app).

Aracknid

[email protected]
Posts: 6
Joined: Wed Oct 17, 2018 6:12 pm

Re: Ranorex V8.3.0 Spy - Track is unable to find button

Post by [email protected] » Fri Oct 26, 2018 4:57 pm

HI,

That worked. Thanks!

Peter