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 |
What will be the script for recovery scenerio.plzanyone give ans with aexample related to banking project
What is active screen?
I want to open a Google page without recording a test and i do not want to use system.Util.run command as well how do i do this?
How we can add actions in the test using QTP?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
What is Object Spy?
7 Answers JKH, Ordain Solutions,
Can we create a qtp test from qc?
Does QTP is "Unicode" compatible?
explain abt dyanamic changing object with example?
What do you do if QTP doesn't recognize object ,what action should be taken
can i login a page by giving username and password and click on ok button through database parameterization.and if its yes then please write the code of that
How to create configuration scripts