How to extract the web page information using vbscript/QTP script?
Hi friends,
Please let me know how to get the web page information using vbscript?
Regards,
Pradeep
Re: How to extract the web page information using vbscript/QTP script?
What kind of information do you want to extract? Do you mean Page properties? Please be more specific.
Re: How to extract the web page information using vbscript/QTP script?
[QUOTE=pradeep.madishetti;23923]Hi friends,
Please let me know how to get the web page information using vbscript?
Regards,
Pradeep[/QUOTE]
try this
browser(browser name).page(pagename).XXX
XXX- the property of page object you want to access.
Re: How to extract the web page information using vbscript/QTP script?
Hi,
Incase you mean Page Caption, Title etc by Web page information, you can definitely use the method suggested by Brijesh.
Incase it is a runtime property you are looking at, use getROProperty and pass the Property name as parameter.
Parameter could be URL, Hwnd - Window Handle etc...
Cheers....