How to check the URL using Automation tool QTP

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

diff between qtp versions from 8.5

1557


Is it possible to switch between recording modes during a test creation?

586


What is the difference in testing a client-server application and a web application?

571


how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?

1304


how to test load test and block box testing an a web based application pls give ans briefly

1345






How to creating an output value using quicktest professional?

530


What are the data types in qtp?

658


hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.

1827


Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.

3409


What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

569


we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

1569


I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?

584


How many types of recording modes are there?

586


What are the recording modes in qtp?

574


How many types of actions are there in quicktest professional (qtp)?

525