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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between keyword view and expert view?

624


Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation

1598


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1294


What is Distributed testing? How does UFT support it?

618


Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..

1357






If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

592


How to start recording using quicktest professional?

620


I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!

1443


1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.

1687


Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

1783


Explain about the quicktest professional (qtp) automation object model?

579


how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up

3787


How to use Environment parameterization? Explain with an example.

1489


What are the automation metrice in your project?

1728


For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?

1756