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

Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance

0 Answers  


can anybody give me the links for vb script material

1 Answers  


Hello, How can i capture first letter of any string using QTP. For ex.. i want "j" in the below string "john" could any one explain me? Is there any function for that?

4 Answers   Livetek,


What type of automation frame work you are using?and why?

2 Answers   Wipro,


What are the drawbacks of QTP?

10 Answers   Ordain Solutions,


Explain the Load testing process?

1 Answers   Crea,


what are the Common Problems in S/w development process

1 Answers  


1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me

0 Answers  


can anyone tell me from where i can download qtp demo or crack version

0 Answers  


If u r using descriptive programming to identify the object where do u write the script for those objects? do u write it in the expertview? plz do answer its urgent thanks advance.

3 Answers  


How many types of parameters are there in QTP and what are they?

2 Answers  


in flight reservation application. when i entered flyto combobox as london. and i have to check this london is present in flyfrom combobox.give me the code with good explanation. extention to this question. at each iteration i have to put(WRITE) the fly from and fly to city in database table

1 Answers  


Categories