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 |
Hi, Am trying to download QTP 8.2 version.its not supporting Windows Vista.Can you please help me out from this.Which QTP version supports this. Thanks in Advance.
In an(AUT) web application their are two frames as fraMain and fraFooter. Both the frames contain link which needs to be retrieved at a single step. I tried it using "Regular Expression" as fra.* but QTP doesn't recognize the object. So Plz help me out to get resolve the problem:-)
What is diff betwee datatable.importsheet "path" and datatable.import
what is test scheduling?
What is the Dynamic Scenario in QTP? And also anybody give the example for this?
3. How to handle the exceptions using recovery secnario manager in Qtp?
How to record application running on the Virtual machine?
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
what is the Exact Meaning of Environment Variables?
How to track the execution time?
How we will execute(run) the scripts in qtp 8.2?
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.