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

What is method name to compare two XML files.

1753


Suppose I want fail that check point? How can you do that?

872


1 Folders in VSS 2 In navigation script there are 100 script i want to run first 50 and 37th script also not needed to run how to do this 3 What is navigation script,Driver script, business script what we are loaded in this script 4 use of resource tab 5 Difference between verification and validation give real scenario example 6 file scripting object when to use it 7 what are the problems you are faced while testing web application 8 difference between expert view and keyword view 9 difference between QTP 8.2 and QTP 9.2 navigation frame work please answer these questions from real time working people as early as possible

1837


i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script

1650


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1522


What is TOM in QTP?

2019


We stored into the objects OR and then write the scripting

1786


How to remove the associated function library?

769


How do we analyze the checkpoint results?

818


How many add-ins comes by default with quicktest professional?

741


What is the pros and cons between QTP and Rational Robot

3522


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

2142


How to call a test from another test?

1012


what could go wrong with test automation?

1789


How many types of recording modes in the qtp?

845