Page 1 of 1

Is is possible to find any control only ising ID?

Posted: Wed Jul 08, 2015 11:47 am
by sunil.pandey
Hi,

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

Regards,
Sunil

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

Posted: Wed Jul 08, 2015 12:05 pm
by odklizec
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.

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

Posted: Wed Jul 08, 2015 4:22 pm
by krstcs
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.