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

what type of automation is follwed in the project?

0 Answers   Google,


how to capture objects of remote deskop as it is capturing only window.

1 Answers   Wipro,


can a Function return more than one value..??? if so please give me the code for that.

5 Answers   DST Global Solutions,


whenever U using QTP,Test Director, Why we using separate Bug tracking tool?

1 Answers  


Is it mandatory to know abt regular expression in descriptive programming

2 Answers  


request to add whatsapp grp for test engineer

1 Answers  


How can I use Call dlls in QTP ?

0 Answers  


how to capture the run time values of web table.

3 Answers   CTS,


what is recovery manager and recovey scenerio?

2 Answers   BirlaSoft,


Plz suggest me a good training institute in Mumbai/hyderabad for QTP…. Plz advice thank u

29 Answers   IBM,


1. Which function is used to check whether the specified object property achieves the specified value within the specified timeout below anyone is correct 1. Check Property 2. getToproperty 3. output Pls anybody can give the answer.. Thanks in advance...

1 Answers   Navis,


What are the option you can use to synchronize your test?

2 Answers  


Categories