Hi All,
I an using Ranorex Repository for Storing the Objects. Now the Problem I am Facing is The Development team is constantly changing Properties of The Object Like: Innertext.
I am using Regular Expression but still some times the innertext is changed in such a way that Regex also does not identify objects.
My question is there a way to update repository like there is an option in QTP.
If No then please any ideas to overcome this issue?
Please help.
Regards,
Deepak
Updating Repository
Re: Updating Repository
Hi Deepak,
Since the repository is a text file, just use a text editor (ike notepad++) and do a find & replace. You can use regular expressions to make the changes as precise as possible.
Note1: this could cause unwanted updates, so make a backup before the change.
Note2: did you try to use another attribute then innertext (@id, @class, etc.)?
Note3: The innertext of a button can change if the page is available in more than one language.This localization issue can be addressed by using resource files.
Problem described in here:
http://www.ranorex.com/forum/how-to-bin ... t5229.html
and a workable solution here:
http://www.ranorex.com/forum/adding-and ... -t438.html
Best Regards,
Zoltán Major
Since the repository is a text file, just use a text editor (ike notepad++) and do a find & replace. You can use regular expressions to make the changes as precise as possible.
Note1: this could cause unwanted updates, so make a backup before the change.
Note2: did you try to use another attribute then innertext (@id, @class, etc.)?
Note3: The innertext of a button can change if the page is available in more than one language.This localization issue can be addressed by using resource files.
Problem described in here:
http://www.ranorex.com/forum/how-to-bin ... t5229.html
and a workable solution here:
http://www.ranorex.com/forum/adding-and ... -t438.html
Best Regards,
Zoltán Major
-
- Posts: 30
- Joined: Mon Jan 21, 2013 1:31 pm
Re: Updating Repository
Hi All,
Instead of updating the repository, you can use the Regular expression to make the xpath more robust.
Find more details about regular expression, click below links.
http://www.ranorex.com/support/user-gui ... xpath.html
http://www.ranorex.com/blog/automated-t ... ynamic-ids
Need more help? Contact us.
Regards,
Amiruddin, Indium software - Automation COE
Instead of updating the repository, you can use the Regular expression to make the xpath more robust.
Find more details about regular expression, click below links.
http://www.ranorex.com/support/user-gui ... xpath.html
http://www.ranorex.com/blog/automated-t ... ynamic-ids
Need more help? Contact us.
Regards,
Amiruddin, Indium software - Automation COE