Repository path
Posted: Thu Jan 27, 2011 10:53 am
Hello.
I'm new to ranorex and I have a question.
I have this path in repository and it works ok:
Form']/container[@controlname='viewContainer']/container/.//listitem[@index='1']", 10000, null);
But what I would like to do is to be able to change "index number"
So basicly I would like to do that:
Form']/container[@controlname='viewContainer']/container/.//listitem[@index=" + Settings.IndexRow + "']", 10000, null); <-- if I do that and build it it work exactly how i want it to work.
But if I do that in repository code it gets deleted because ranorex makes new code.
And if I try to enter this in repository(.rxrep) path I get this wirten in the code and ofc it doesn't work:
Form']/container[@controlname='viewContainer']/container/.//listitem[@index='\" + Settings.IndexRow + \"']", 10000, null);
If anyone knows the solution for my problem please post it:
Thank you very much.
I'm new to ranorex and I have a question.
I have this path in repository and it works ok:
Form']/container[@controlname='viewContainer']/container/.//listitem[@index='1']", 10000, null);
But what I would like to do is to be able to change "index number"
So basicly I would like to do that:
Form']/container[@controlname='viewContainer']/container/.//listitem[@index=" + Settings.IndexRow + "']", 10000, null); <-- if I do that and build it it work exactly how i want it to work.
But if I do that in repository code it gets deleted because ranorex makes new code.
And if I try to enter this in repository(.rxrep) path I get this wirten in the code and ofc it doesn't work:
Form']/container[@controlname='viewContainer']/container/.//listitem[@index='\" + Settings.IndexRow + \"']", 10000, null);
If anyone knows the solution for my problem please post it:
Thank you very much.