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 |
How can we count the no of rows are available in a data table ?
How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
How to convert non-reusable action into reusable action in QTP?(i know by default QTP will take it as a non-reuable action )(Chandana) plz urgent?
how to merge object repositories?
What is the difference between low level recording and virtual object.
anybody wants to learn QTP with realtime implementations and complete framwork contact to this mail id ciraaj@gmail.com
Give the syntax to import/export xls into qtp.
Write a script to verify font style and color of a windows object using descriptive programming
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
How can you close the second opened browser?
How to send QTP scripts to our colleagues?