Generic Repository Item Names : Object Identification and Technologies

Generic Repository Item Names

Technology specific object identification, supported applications, web technologies, and 3rd party controls.

Generic Repository Item Names

Postby lucio » Fri Jul 22, 2011 12:49 pm

Hi,
I have to check several websites from several webservers.
All servers are running the same application but the repository itemnames differ a bit, e.g
repo.WebDocument_Web_Terminal___A.InputTagUsername.TagValue=...
repo.WebDocument_Web_Terminal___B.InputTagUsername.TagValue=...
repo.WebDocument_Web_Terminal___a.InputTagUsername.TagValue=... and so on.

Is there a possibility to handle that in a generic way.

Thanks in advance
lucio
lucio
 
Posts: 2
Joined: Wed Apr 20, 2011 11:25 am

Re: Generic Repository Item Names

Postby Support Team » Fri Jul 22, 2011 4:08 pm

lucio wrote:All servers are running the same application but the repository itemnames differ a bit

So all repository application folders WebDocument_Web_Terminal___A, WebDocument_Web_Terminal___B and WebDocument_Web_Terminal___a correspond to the same application; and all that is different is the URL to the application?
If so, then basically two of the three application folders are useless. Just pick one of the folders, edit the RanoreXPath for that folder so it does not contain the URL to the server, but some other attribute that identifies your application (e.g. the title), and your are done. Then this folder will work for your application no matter what the URL to the application is; you can then remove the other two WebDocument_Web_Terminal... folders.

See the following chapters in the Ranorex User Guide on how to edit the RanoreXPath for the folder:
http://www.ranorex.com/support/user-gui ... xpath.html
http://www.ranorex.com/support/user-gui ... ditor.html
http://www.ranorex.com/support/user-gui ... xpath.html

Regards,
Alex
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4843
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Object Identification and Technologies

Who is online

Users browsing this forum: No registered users and 0 guests