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 have the script like this:
Browser("Philips Web Login").Page("Philips CL DMS2 
Application").Frame("ScopeFrame").Link("DC3701737
(Active)").Click 
in which the value "DC3701737" will get changed and i have 
to use the same value in so many places.
If i want to get that value "DC3701737" in to a variable, 
how?
pls let me know if you didn't get the question.
Help me out in this.
 Question Submitted By :: Babu
I also faced this Question!!     Rank Answer Posted By  
 
  Re: I have the script like this: Browser("Philips Web Login").Page("Philips CL DMS2 Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. If i want to get that value "DC3701737" in to a variable, how? pls let me know if you didn't get the question. Help me out in this.
Answer
# 1
THE way I got your question is you want to store the value 
of 'Link'.You can do it this way:
myLinkval = Browser("Philips Web Login").Page("Philips CL 
DMS2 Application").Frame("ScopeFrame").Link("DC3701737 
(Active)").GetRoProperty("name")
msgBox myLinkVal
Variable, myLinkVAl will contain the value of link which 
can be used furthur.
Hope it helps, if i have misunderstood the question,plz let 
me know.

Thanks
Imran
 
Is This Answer Correct ?    1 Yes 1 No
Imran Sheikh
 
  Re: I have the script like this: Browser("Philips Web Login").Page("Philips CL DMS2 Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. If i want to get that value "DC3701737" in to a variable, how? pls let me know if you didn't get the question. Help me out in this.
Answer
# 2
n = bBrowser("Philips Web Login").Page("Philips CL DMS2 
Application").Frame("ScopeFrame").Link("DC3701737
(Active)").getroproperty("name")
 
Is This Answer Correct ?    0 Yes 1 No
Kishore
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
How will u test content of an web application with out using chechpoints in QTP 9.2? CTS3
Please tell me the steps to record the test in Analog recording mode in QTP version 9.2???  2
Does QTP support flat files? If yes what are those?  2
How do u write a regular expression for date (dd/mm/yyyy) field ? Semantic-Space3
What is positive test case and Negative Test case? What is the meaning of Real World Scenario's?  1
When it be decided to go for either Per - Action or Shared?  2
How can we record an edit box in the Web application ? Kanbay3
What is the use of "Step Generator" in QTP??for what purpose we are using??explain with an example  2
If the web applicatoin takes navigation time above 2 hours to dispaly next Web page then how can we synchronize the QTP with Appilication Under Test TCS2
What is Virtual Object? Plz Explain me with an example? Ordain-Solutions2
what is defination of regression testing?  2
How i can test the background color of the records displayed in a Table. Eg i have a .net desktop application and there is a Table(swftable) with records displayed in the grids. i have to validate whether the 1st record is displayed in white background color and 2nd record in light blue background color...But the constraints is that once user click on the first record...the background color changes to grey.......Plze let me now how to validate this with QTP 9.2. Accenture7
What is the Maximum syncronization timeout in seconds in QTP 9.5 Polaris4
What is OUTPUT VALUE ? PLZ Explain With Example?  4
How we can add objects to the object repository during the running?is it possible or not?explain  3
How to do excception handling ( error handling ) in QTP Institute-for-Medical-Education5
how do u copy object repository?  1
HOW to invoke any recorded script in QTP with out using RECORD & PLAYBACK CONCEPT?  1
Where should we turn Smart Identification ON in QTP?  5
Explain about the Test Fusion Report of QTP ? Ordain-Solutions1
 
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