Changing the path of an element

Ranorex Studio, Spy, Recorder, and Driver.
anujakulkarni
Posts: 29
Joined: Wed Jan 07, 2009 1:15 pm

Changing the path of an element

Post by anujakulkarni » Thu Jan 22, 2009 4:12 pm

Hi,

I am automating a form and its path is recorded as
/form[@automationid='mainWindow']
I want to use [@name=''NameoftheForm'] instead of [@automationid]. Is there any way I can change this path?

Cheers,

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Post by Support Team » Fri Jan 23, 2009 11:12 am

Sure, in RanorexRecorder select the corresponding item in the repository editor, click on the right column to edit the path.

Regards,
Alex
Ranorex Support Team

anujakulkarni
Posts: 29
Joined: Wed Jan 07, 2009 1:15 pm

Post by anujakulkarni » Fri Jan 23, 2009 12:23 pm

Hi Aex,

Sorry I didn't mention earlier, but I am using Ranorex Studio and not the stand alone recorder.
click on the right column to edit the path.
Do you mean the path column in the repository? Well it does allow me to type thing in but does not actually change it. That is, it does not save whatever I type in for changing the path.[/img]

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Post by Support Team » Fri Jan 23, 2009 2:22 pm

After editing, please, press Enter to accept your changes and to close the edit box.

Regards,
Alex
Ranorex Support Team

anujakulkarni
Posts: 29
Joined: Wed Jan 07, 2009 1:15 pm

Post by anujakulkarni » Fri Jan 23, 2009 2:37 pm

Thanks a lot for your help :)