Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


How to check the URL using Automation tool QTP

Answers were Sorted based on User's Feedback



How to check the URL using Automation tool QTP..

Answer / aiswaryan

Dim a
'use output value and take the url text
Browser("QTP Interview Questions").WinEdit("Edit").Output
CheckPoint("edit")
'the output value will be stored in datatable.
a = datatable.RawValue("Edit_text_out")
'a contains the url
msgbox a

Is This Answer Correct ?    1 Yes 0 No

How to check the URL using Automation tool QTP..

Answer / mahesh

hi..dear manisha

For check URL u can go through this following way.

dim Objhello = Brower("name:=XYZ").page
("title:=abc").getroproperty("url")
msgbox Objhello

for more queary u can call me on this nuber..

9986645937.

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More QTP Interview Questions

how to insert QTP to display errors and other description in the test results instead of halting execution by throwing error in the mid of executin due to an error (for object not found)?

1 Answers   Ordain Solutions,


What are software testing metrics

3 Answers  


QTP identifying the child tabs in a maintab like tab_1,tab_2,tab_3,tab_4 while using a for loop for these tabs.its not proceeding from _1 to _2. How can i use "for loop "

2 Answers   Livetek,


How to do the Mouse Operations in QTP. How to aacess an Image in a web application to save it on my desktop. To my Knwoledge that can be done by mouse right click on the Image and selecting 'Save the Image'option. Or Is there any alternate way to do this..

1 Answers  


Can we create test script with out Step Generator?

4 Answers  






What exactly is the difference among all the three recording modes.

5 Answers   Accenture,


What is output value?

3 Answers   Ordain Solutions,


what r advance features u had done in QTP?

3 Answers   HCL,


What are the points to be taken into consideration while doing desktop testing?

1 Answers   Cap Gemini,


The xls contain data. how to get number of columns form the sheet?

4 Answers   Virtusa,


How to release all resources file from the QTP?

0 Answers   Tech Mahindra,


can we change the name of a check point? when will you start writing testcases? do you follow any methodology for writing test scripts? qtp is key word driven testing or data driven testing?

2 Answers  






Categories