unable to locate element in Ranorex studio of type WebDocument:IE

Ask general questions here.
rsudhak
Posts: 118
Joined: Fri Jan 04, 2019 1:38 pm

Re: unable to locate element in Ranorex studio of type WebDocument:IE

Post by rsudhak » Wed Feb 05, 2020 4:54 pm

Have created a snapshot (standalone spy)of both elements that I see in spy, not sure which one should be considered
Attachments
SpyScreenshot.png
SpyScreenshot.png (102.06 KiB) Viewed 143 times
snapshots.zip
(133.33 KiB) Downloaded 8 times

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

Re: unable to locate element in Ranorex studio of type WebDocument:IE

Post by odklizec » Thu Feb 06, 2020 8:35 am

Hi,

Thanks for the snapshots. Well, as I've expected, there is no addon available for the embedded IE:
IENoAddon.png
IENoAddon.png (77.13 KiB) Viewed 136 times
Which means that there is nothing you can do about the element search speed in such IE-based browser.

On the other hand, I've tried both xpaths, pointing directly to "dom" and "form//dom" and they both work OK in the snapshot? So they should work during runtime as well...
/dom[@domain='identity-stg.trimble.com']//input[#'user']
/form[@controlname='BrowserAuthenticationWindow']/container[@controlname='webBrowserPanel']//dom[@domain='identity-stg.trimble.com']//input[#'user']
If they don't, I would recommend to try below (or similarly detailed) xpath instead...

Code: Select all

/dom[@domain='identity-stg.trimble.com']/body//div[@id='right-section']/div[@class='main-cntr']//form[@id='loginForm']//input[@id='user']
Another thing you might try is to run your test on another machine. Just to see, if there is any difference.
And of course, your last option is to contact Ranorex support ;) But I guess that more precise xpath will help?
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

rsudhak
Posts: 118
Joined: Fri Jan 04, 2019 1:38 pm

Re: unable to locate element in Ranorex studio of type WebDocument:IE

Post by rsudhak » Tue Feb 11, 2020 9:40 am

Its the same issue, havent had much luck with this one

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

Re: unable to locate element in Ranorex studio of type WebDocument:IE

Post by odklizec » Tue Feb 11, 2020 9:52 am

Hi,

Well, I'm afraid, that there is no other option than to contact Ranorex support? They will need to analyze the issue on your machine, so remote session will be most probably required.
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