Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
URL to capture
#4
Not Solved
Hi,
i'm a beginner in QTP and VBScript.
i would like to get the url af the current page.


I tryed to print the url on a message box like following:
Code:
MsgBox Browser("Browser").GetROProperty("url")

In return, i have a emplty messagebox. That means the url was not captured.

I tried also MsgBox Browser("Browser").GetROProperty("openURL"). But this line gives the first opened URL.

do anyone can advice on this subject?

Thank you in advance.
Reply


Messages In This Thread
URL to capture - by stevol - 05-13-2008, 08:07 PM
RE: URL to capture - by niranjan - 05-14-2008, 03:24 AM
RE: URL to capture - by stevol - 05-14-2008, 03:11 PM
RE: URL to capture - by sidartha - 05-14-2008, 04:02 PM
RE: URL to capture - by somisays - 05-14-2008, 04:25 PM
RE: URL to capture - by sidartha - 05-14-2008, 05:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems with URL as Object identifier??? jcraig26 1 3,352 02-27-2013, 05:06 PM
Last Post: anil2u
  url value sia sharma 0 2,214 07-02-2012, 12:30 PM
Last Post: sia sharma
  split the values in url ....................... rjkmr.aiht 3 4,417 05-21-2012, 06:09 PM
Last Post: Ankesh
  Invalid URL Error manavkbgupta 2 2,806 03-28-2012, 02:15 PM
Last Post: manavkbgupta
  The browser Application can't be launched. Possibly the URL is wrong.- Win.XP-IE 8. fonsecba 2 6,484 05-26-2011, 04:06 PM
Last Post: manmeet.singh81

Forum Jump:


Users browsing this thread: 1 Guest(s)