When testing a web application, the url for each page
changes, so using QTP how do u handle this scenario. If
anyone knows please answer in detail about the whole
procedure. Thanks a lot.
Answers were Sorted based on User's Feedback
may be u want to say the page title will chage, due to that
script fails?
if it is ur situation:
use the regular expression for page title property in
Object repository. it will handle ur scenario.
regular expression will be : .* , this will be matched to
any value, so that QTP will recogninze the page even the
titles are changing dynamically.
if u didnt get this please mail at: nanda.dreddy@gmail.com
by reffrening this question.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / arjuncr
hai subash
by using regular expression we can handle this
syntax:
browser("title:=.*page.*").page("title:=.*page.*").webutton
("name:=Click").Click
the above is descriptive programe.by this we can handle
dynamic changes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Write a QTP script to print all the link names displayed in a web page
What is driver script and driver script in qtp frame work????
How to "Turn Off" QTP results after running a Script?
What is the process for creating an automated test script using QTP assuming you have reviewed the manual test case and understand the requirements?
How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.
How to test background color and dynamic images during run time can you put the check point for moving objects?
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
how will check the links in multiple pages at a time
how to retrive that the number of spaces are in a string ????
hi i have one issue while coding the dates . i want to add the date curret to 4 days . can any one helme plz about this regards balaji
How to capture a window in QTP?