Hi all,
I have recorded some tests which we run generally do work well.
I have then started to rename some of the object repository folders and web elements within to be more user friendly.
I can see that in my scripts, the renamed objects are renamed accordingly, which is great.
But when I run the test script, it fails to locate those web elements.
For example these two recording lines work:
WebUI.click(findTestObject(‘Object Repository/Recordings/Page_andy-bc-7-4-1-rcdockergroupbc-devcom Home/a_User’))
WebUI.click(findTestObject(‘Object Repository/Recordings/Page_andy-bc-7-4-1-rcdockergroupbc-devcom Home/a_Metadata Schemas’))
But these are the renamed ones of those which do not work:
WebUI.click(findTestObject(‘Object Repository/BC/Graphite/Menus/User/a_User Top Level Menu Item’))
WebUI.click(findTestObject(‘Object Repository/BC/Graphite/Menus/User/a_Metadata Schemas’))
Can anyone tell me what I may be doing wrong?
Any thoughts appreciated.