how to check URL using QTP? write vb script with descriptive programm only?



how to check URL using QTP? write vb script with descriptive programm only?..

Answer / manjunathareddy

Dim oBrowser
Set oBrowser=Description.Create()
oBrowser("micClass").Value="Browser"
Msgbox Browser(oBrowser).GetROProperty("url")

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More QTP Interview Questions

Explain the terms test and business component?

0 Answers  


When i use paramateriztion for tickets in flight reservation application , the tes'll run for first iteration but for the second iteration it'll give this details, but the second iteration is failed. Pls anyone clarify it. Cannot find the "Agent Name:" object's parent "Login" (class Dialog). Verify that parent properties match an object currently displayed in your application.

2 Answers  


How to do excception handling ( error handling ) in QTP

6 Answers   Institute for Medical Education,


I have a tool bar where 5 different buttons are placed, but these buttons are not traceable hence i have created a virtual object on save button of this toolbar. Now pls tell me how to use this virtual object while write script.

0 Answers   IBM,


1.how can we report the QTP test result in a different excel sheet 2.

3 Answers   Aurigo,


Describe the differences between functions and actions in UFT?

0 Answers  


www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example

0 Answers   TCS,


What is the file extension of the code file & object repository file in QTP?

2 Answers  


HOW TO DO THE BATCH TESTING USING QTP?

2 Answers   Ordain Solutions,


w is output value

3 Answers   MBT,


When ‘option explicit’ keyword is used in qtp?

0 Answers  


Differences between text and test area checkpoints?

0 Answers  


Categories