Page 1 of 1

Variables in index

Posted: Wed Apr 04, 2012 9:02 am
by KapacRus
Hello!
I have a problem with access to an element in the sample. Suppose we have xpath /treeitem[@accessibledefaultaction='Expand'] which gives us two elements. To access the first, we can use /treeitem[@accessibledefaultaction='Expand'][1] but I want to use variables.
/treeitem[@accessibledefaultaction='Expand'][$number]
/treeitem[@accessibledefaultaction='Expand'][@index=$number]
Why is this option not working?

Re: Variables in index

Posted: Thu Apr 05, 2012 4:21 pm
by Support Team
Hi,
KapacRus wrote:Why is this option not working?
Currently this is not possible to do, but with Ranorex 3.3 we implement a bunch of new RxPath features and then you should be able to do exactly what you want.

Regards,
Peter
Ranorex Team

Re: Variables in index

Posted: Fri Apr 06, 2012 5:36 am
by KapacRus
And on what date scheduled for release 3.3?

Re: Variables in index

Posted: Fri Apr 06, 2012 7:07 am
by Support Team
Hi,
KapacRus wrote:And on what date scheduled for release 3.3?
we cannot tell you an exact date now, but it should be available mid of Q2.

Regards,
Tobias
Ranorex Team

Re: Variables in index

Posted: Fri Apr 06, 2012 7:51 am
by KapacRus
Thanks for the quick answers!