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



When testing a web application, the url for each page changes, so using QTP how do u handle this s..

Answer / nanda

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

When testing a web application, the url for each page changes, so using QTP how do u handle this s..

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

When testing a web application, the url for each page changes, so using QTP how do u handle this s..

Answer / dimple

First of all what is the purpose of recording that URL
changes?
The tester should concentrate more on functionality of the
application.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More QTP Interview Questions

example-date format is 01-jan-09 in QTP.How to convert this format to 01-01-09?

9 Answers   Tech Mahindra,


WHAT IS THE DIFF BTW KEYWORD DRIVEN TESTING AND DATA DRIVEN TESTING?

1 Answers  


Explain getroproperty and gettoproperty & settoproperty?

1 Answers  


whai is meant by automation testing?

6 Answers  


How to call actions in QTP?

2 Answers   Wipro,






i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji

0 Answers  


Diff between WEB APPLICATION AND CLIENT-SERVER APPLICATION?

2 Answers  


Hello Guys, Can anybody Explain me about Automation framework?? and how can we prepareAutomation Framework using QTP

3 Answers   CTS, IBM, Sapient,


How to integrate the qualitycenter with qtp

0 Answers   Wipro,


How to start recording using quicktest professional (qtp)?

0 Answers  


how to validate email?email ie correct or not ?with below conditions. 1)before @(symbol) only alphbates and min 4 char to max 15 chars. 2)before @(symbol) only alphabates dont use ant special chars or numarics 3) after @(symbol) only one dot(.)symbol for ex:abc@gmail.com it is valid email or not based above conditons

2 Answers   Aspire,


Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

0 Answers   TCS,


Categories