Is is possible to find any control only ising ID?

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
sunil.pandey
Posts: 11
Joined: Fri Jul 03, 2015 5:35 pm

Is is possible to find any control only ising ID?

Post by sunil.pandey » Wed Jul 08, 2015 11:47 am

Hi,

Can anybody please help me to understand "Is is possible to find any control only ising ID, without using Ranorex path?"

Regards,
Sunil
Last edited by sunil.pandey on Wed Jul 08, 2015 2:21 pm, edited 1 time in total.

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

Re: Is is possible to find any control only ising ID, without us

Post by odklizec » Wed Jul 08, 2015 12:05 pm

Hi,

I'm afraid, I don't understand your question. Could you please be a bit more specific about what you are trying to achieve? An example xpath and Ranorex snapshot would be extremely helpful for understanding of your issue.
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

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Is is possible to find any control only ising ID?

Post by krstcs » Wed Jul 08, 2015 4:22 pm

Ranorex is built around using XPath to identify elements. There is no way to get around that.

If you have an ID for an element though, and it is unique, then you can have a very simple path like this:

Code: Select all

//div[#'myElementID']
This will be found very quickly due to being unique because Ranorex can index it.


It sounds like you don't understand XPath and how Ranorex uses it. I would suggest that you read the user guide here. It will explain everything you need to know to work with Ranorex.
Shortcuts usually aren't...