Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



i am trying to capture the URL from the open browser and store it. pls give me solution how we can ..

Answer / chandu

try this

x=Browser("ALL Interview .com ::").GetROProperty("openurl")

msgbox x

Is This Answer Correct ?    4 Yes 0 No

i am trying to capture the URL from the open browser and store it. pls give me solution how we can ..

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

Post New Answer

More QTP Interview Questions

How will you send values to a cell in a webtable using QTP?

2 Answers  


How many types of recording modes in the qtp?

0 Answers  


What is throw object?

1 Answers  


in qtp how i can retrive from a browser how many links are there.means total no of links used in a browser

4 Answers   Verizon,


in order to start automation testing what we should require (entry level to automation testing)

2 Answers  


what is descriptive.create()in qtp?

4 Answers   IBM,


I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2

0 Answers   Livetek,


write a script to verify the image path(src property) of the images which are in web pages.(do it by Descriptive method by creating a description object)

1 Answers  


what could go wrong with test automation?

0 Answers  


How u perform Batch Program in QTP?

3 Answers  


What all challenges you have faced during automation and how you have resolved it?

2 Answers   Genpact,


By using QTP can we record any log files written by the application which is in execution?

0 Answers   Ordain Solutions,


Categories