i am trying to capture the URL from the open browser and
store it. pls give me solution how we can do this in QTP.
thanks
Answers were Sorted based on User's Feedback
Answer / chandu
try this
x=Browser("ALL Interview .com ::").GetROProperty("openurl")
msgbox x
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / neeraj chauhan
Hi All
Set oDesc=Description.create()
oDesc("html tag").value="INPUT"
oDesc("micclass").value="Link"
set
CollectionOfLinks=Browser("vBrowser").page("vPage").childobjects(oDesc)
NumberOfLinks=CollectionOfLinks.count()
for i=0 to NumberOfLinks
Print CollectionOfLinks(i).GetRoProperty("href or url")
Next
If still you face any problem, reply me.
Thanks and Regards
Neeraj Chauhan
Is This Answer Correct ? | 3 Yes | 0 No |
what are the drawbacks for record and payback in qtp
On what document base Descriptive programming is written if build is not yet ready ?
What is the difference between gettoproperty and settoproperty?Explain with an example?
Explain the concept of how QTP identifies object.
What is the Difference between copy to action and call to action?
Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?
how to select particular value from the combobox in the current page which is entred in the previous page editbox after parameterization?
any one can send me the concepts of qtp
What are the different types of functions available in qtp and explain ?
Pls let me know completely about descriptive programming, where it is used, pls explain with a real time example of its occurence and the program code written in qtp.
What are the versions of qtp,What are the differences b/n them?
Hi, I am learning QTP. can someone please tell me a site from where i can learn QTP scripting Thanks in advance