Identify elements from pane

Ranorex Spy, Recorder, and Studio.
varun
Posts: 110
Joined: Mon Jul 23, 2012 5:52 am

Re: Identify elements from pane

Post by varun » Mon Jan 14, 2013 5:53 am

Hi Markus,
I suppose there is a root item in your repository which represents the RxPath to the root dom object, this single repo item has to be changed.
I guess attached is the repo item you want me to change. Please let me know, what changes need to be done here as I want this script on our other servers too which may be for instance - "http://xeonserver1/NextGenR22_QA".

Thanks,
Varun.
Attachments
RepoItem_0114.png
RepoItem
RepoItem_0114.png (20.75 KiB) Viewed 771 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Identify elements from pane

Post by Support Team » Mon Jan 14, 2013 4:13 pm

Hi Varun,

You have to use an attribute and a value for the attribute which remains the same even if you execute it on other servers too.
If you need further guidance we will need Ranorex snapshot files of the element from your different servers.

Regards,
Markus
.
Image

varun
Posts: 110
Joined: Mon Jul 23, 2012 5:52 am

Re: Identify elements from pane

Post by varun » Tue Jan 15, 2013 10:53 am

Markus, please find attached RX snapshots of Add button from two different servers.

Thanks,
Varun.
Attachments
X_Server_AddButton.rxsnp
Server2
(217.68 KiB) Downloaded 181 times
D_Server_AddButton.rxsnp
Server1
(227.41 KiB) Downloaded 186 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Identify elements from pane

Post by Support Team » Tue Jan 15, 2013 4:03 pm

Hi Varun,

This would be a possible RxPath: "/dom[@domain='xeonserver1' or @domain='dbservertest2']".

Regards,
Markus
.
Image

varun
Posts: 110
Joined: Mon Jul 23, 2012 5:52 am

Re: Identify elements from pane

Post by varun » Wed Jan 16, 2013 1:40 pm

Thanks Markus for response. It works.