ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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
 Question Submitted By :: Sachin
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
Answer
# 1
try this

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

msgbox x
 
Is This Answer Correct ?    2 Yes 0 No
Chandu
 
  Re: 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
Answer
# 2
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 ?    2 Yes 0 No
Neeraj Chauhan
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
How to manage a drag drop event in the qtp  1
Give a comment on Regular Expressions using QTP?  4
How we can we create a Text checkpoint in QTP 9.1,Actually what i did is first i put in recording mode and gofor Inser menu>Checkpoint>Textcheckpoint>click,Now an hand symbol came and i showed it to some textbox and cliked but the QTP9.1 is giving an error message like "The Obkect you are selecting doesn't support this operation" If i go for Help of QTP 9.1 information I didn't get any solution,pls help me in this issue.  5
where exactly we can't do the automation testing. give some examples Wipro2
from what stage you will start automation in your project TCS4
What is the limitation to XML Checkpoints? CTS4
hi radhaka plz tell me clearly to handle the earrors with out isng recovery scnerio this is sreenivas from delhi  2
what is object spy TCS3
What is the difference between keyword driven frameworkd and Modularisation framework?(Chandana) Wipro5
In my script there is a link(e.g. 'My Page') when I execute the script sometimes(not every time) QTP throws an error that "My Page(as link)" not found. Pleaase tell me where I need to update  2
Hello Everybody, please tell me how to use accessibility checkpoint and XML checkpoint by giving any practical example of it.please provide me the steps to perform that and also pls provide the code too. Thanks in advance, Gaytri  1
How to import excel sheet to QC?  1
What is diff between SDLC AND STLC? Nokia1
What is the differnce between action & script Lehman-Brothers2
the develeper not accepter your defect what status is that ?  1
Can any one please explain hwo to test client/server application using QTP? Value-Labs2
can we call a test in another test? how? explain with one example? iFocus1
Can you do more than just capture and playback?  2
What is Tree view?  2
How can we make a shared object repository in QTP 9? Ordain-Solutions3
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com