I am new to QTP and programming in general, but my current task is to create automated tests using QTP 9.2 for a multi-page web application. My script was working fine during an earlier build, but now it seems as if the programmers have renamed some of the page names, so the script times out during execution because it is unable to find the objects in the Object Repository.
Is there a more efficient way to use QTP, so I don't have to do so much rework if the programmers change the titles of pages, etc?
Thanks... GB
This line of code is no longer working because the title of the browser/page has been changed from "REVIEW DOCS" to "REMOVE ALL DOCUMENTS":
DAF=Browser("REVIEW_DOCS").Page("REVIEW_DOCS").Frame("main").WebElement("DAF").GetROProperty("innertext")
I know of at least one other page that has been changed and may come across a few more as the scripts continues through.
Thanks for any assistance...