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

I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?

0 Answers  


What's Checkpoints for QTP?

1 Answers  


what type of framework u r using in ur organization

0 Answers   Wipro,


How do you delete unwanted results in qtp?

0 Answers  


is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?

1 Answers  


why was automation used in the project?

1 Answers   Google,


Explain the types of object repository?

0 Answers  


Diff b/w WEB TESTING AND Client server testing?

3 Answers   Ordain Solutions,


Through array we can execute the testcase how ? give me example

0 Answers   TCS,


Explain how qtp identifies object?

0 Answers  


How to call the userdefined functions to script? If i am stored 'add()' function in Library functions folder. i want to cal that function in my script.

4 Answers  


Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?

0 Answers  


Categories