Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to capture the current page URL
#1
Not Solved
Hi,
do anybody know how to capture the current page URL?
I tried this:
Code:
Browser("Browser").Page(Browser("Browser").GetROProperty("title")).GetROProperty("URL")


I use this statement in a reusable action.
It works in one scenario but not in others.

I think it is because of the page name. Can anybody help me?

Thank you for your help!
Reply


Messages In This Thread
how to capture the current page URL - by sidartha - 05-15-2008, 06:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Capture Entire Web page through QTP learnQtptips 2 11,918 07-25-2013, 05:24 PM
Last Post: vinod123
  ‘General Run Error’ when trying to fetch URL in Browser Address Bar with DP sukhvinderh 5 5,750 10-14-2011, 07:29 PM
Last Post: v.swaminathan
  Getting URL from Internet Explorer BVVPrasad 1 4,681 07-25-2011, 08:24 AM
Last Post: rajpes
  Write a program to print the current folder name in the local system. kannan_panneerselvam 8 8,044 07-09-2011, 11:10 AM
Last Post: souvikghosh_diatm
  Changing current working directory vijay44 1 3,475 01-21-2010, 03:22 PM
Last Post: Saket

Forum Jump:


Users browsing this thread: 3 Guest(s)