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                      
tip   SiteMap shows list of All Categories in this site.
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 ?    0 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 ?    1 Yes 0 No
Neeraj Chauhan
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
how we connect oracle or sql data server database to qtp Tanla-Solutions2
what is the hierachy of Descreptive programming? Fiserv1
What is API  1
whai is meant by automation testing?  1
How to get Links count in an web application,without descriptive programming?  5
Give me an example where you have used a COM interface in your QTP project?  1
What exactly is the difference among all the three recording modes. TCS2
What is test fusion report? CIL2
How to compare the two strings?  1
Hi to All, My name is Aditya, i have 4 year exp in software testing (Manual Testing), but i try to shift my career now in automation testing. right now i have no exp or u can say i am not hand exp in live application. So please guide me, what i do ???? Can i join again automation course only practical which is live application. if u know any person who's expert in qtp and he/she ready to take my class i have our own and company laptop. If required i will pay amount please don't mind. Please help me, and i am also planing to join core java from coming 1st Aust (in seed) for only purpose the understanding script of Automation (QTP)... Please help me... I am waitting u r replay... Thank you Thanks again  2
Plze let me know how you can validate in the QTP that printed documents is correctly printed or not ie how we can do the validation that all the records or text are printed successfully in the printed document as per the application format requuired. MBT4
what is the exact testing process in qtp plz explin ?  2
how will we run batch tests in qtp what is the process to run the multiple test sets?  3
What is descriptive Programming in qtp.  4
What is TD plugin? For what purpose they are used . Ineed to connect QC9.2 with QTP 9.2 . Need to run some scripts IN QTP having the QC connectivity. Pls explain in detailed step Thanks in advnece  1
In my Script Firstly i have to parametrize the data then we import the data from c drive.suppose i have parametrize the Person name and company Name and i have enter one person name and one company name in the excel sheet now we import the sheet and the script is passed i want to ask one thing can we add more than one person name and more than one company name in the excel sheet suppose firstly we create person name "ADDy" and company nmae.'Wipro" and we set the current row in the script for this data and now we want run the script another set of data so how we can run the script with another set of data  2
What expansion of "MIC" in MICPASS (TEST ReportPAGE) TCS4
1. IS A VIRTUAL OBJECT USED WHEN THE LABEL IS NOT RECOGNIZED BY QTP Ordain-Solutions6
Which Databases supports for QTP?  2
Actually what is Quality center..is it Test Director or some other tool..Anybody can expalain it in detail..Thanks in advance.. Sony3
 
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