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 |
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
How to capture checkbox properties when properties of the object keep changing on relogin to the application.
what is vss and cvs what is main difference b/w these two
How to give Table check points?
HoW to open QTP in Real time.after getting the qtp window how to log in .pl answer real time people
how can we compare descriptive programing with a regular expression
How do Parameterization and Data-Driving relate to each other in QTP?
what is qtp automation frame work,what is the use of that frame work?
64 Answers Cap Gemini, IBM, iGate, TCS,
I have 5 no.of Action in my Test. Out off which i should make 3rd action as my start-up action. How should i make it?
What is BPT?
How can you capture(Read) the values from a Table?
what is option explicit?