Search by automation ID

Ask general questions here.
Sunguresat
Posts: 1
Joined: Tue Apr 04, 2017 8:26 am

Search by automation ID

Post by Sunguresat » Wed Jun 21, 2017 8:20 am

Hi,

I have this problem - cannot find elements. I know they exist because developer added them somewhere, but I cannot find it. Spy doesn't help either. So it made me thinking, maybe there is some feature in ranorex called "search"? You enter automation ID and it searches for it through element browser(your application)?

Thanks!

Vaughan.Douglas
Posts: 254
Joined: Tue Mar 24, 2015 5:05 pm
Location: Des Moines, Iowa, USA

Re: Search by automation ID

Post by Vaughan.Douglas » Wed Jun 21, 2017 2:23 pm

That is the Ranorex Spy. Try pulling up the spy and doing something like

//*[@automationid='YouIdHere']
search.png
  • the // should force Ranorex to search EVERYTHING under host, so it could take a while
  • the * is a wildcard for adapter type
  • I've assumed the Automation ID attribute is automationid
If you want more specific suggestions, I recommend uploading a snapshot of your AUT.
You do not have the required permissions to view the files attached to this post.
Doug Vaughan