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       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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("Login").Page
("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. 
I got the value "DC3701737" in to a variable(Say x). Now if 
i want to pass the variable in to link object .. how?

Browser("Login").Page("Application").Frame
("ScopeFrame").Link(x).Click

Is it possible to pass any variable into a link object  .. 
so, that the application will select that link 
automatically?

If ur not able to understand, pls let me know.
 Question Submitted By :: Babu
I also faced this Question!!     Rank Answer Posted By  
 
  Re: I have the script like this: Browser("Login").Page ("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. I got the value "DC3701737" in to a variable(Say x). Now if i want to pass the variable in to link object .. how? Browser("Login").Page("Application").Frame ("ScopeFrame").Link(x).Click Is it possible to pass any variable into a link object .. so, that the application will select that link automatically? If ur not able to understand, pls let me know.
Answer
# 1
Try this...

Browser("Login").Page("Application").Frame
("ScopeFrame").Link(x & "(Active)").Click
 
Is This Answer Correct ?    2 Yes 0 No
Harish
 
  Re: I have the script like this: Browser("Login").Page ("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. I got the value "DC3701737" in to a variable(Say x). Now if i want to pass the variable in to link object .. how? Browser("Login").Page("Application").Frame ("ScopeFrame").Link(x).Click Is it possible to pass any variable into a link object .. so, that the application will select that link automatically? If ur not able to understand, pls let me know.
Answer
# 2
Please try this in Descriptive way.

Try this code to select the link....
Browser("Login").Page("Application").Frame
("ScopeFrame").Link("text:="&x).Click
 
Is This Answer Correct ?    3 Yes 0 No
Raj
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
For ex we are doing automate testing in that can we do some part of application recording, some part descriptive programing and some part general VB scripting like that ............. Satyam3
i want know iam working 2+ exp in QTP can i do performence testing (eg:loadrunner) yes r no? IBM6
Which is the best testing institute for QTP training in Hyderabad.  3
I have a Webtable object in my shared object repository, say WT1, which has different index value in 2 different versions, one version having WT1's index value as 1 and other version having WT1's index value as 2. how could i use same test script to identify the WT1 object having different index values.  4
What is the use of environment variables?  1
Please tell me the steps to record the test in Analog recording mode in QTP version 9.2???  2
How to send QTP scripts to our colleagues? Virtusa1
What r the different type of reports generated in Quality Center? TCS1
can anyone please tell me what are all the shortcut keys used for qtp9.2? Thanks in advance..i expect ur valuable reply that help us our team???  1
More details about keyword driven technique in QTP TCS1
How many types of Test Plans are there...??  3
Can anybody send me the code to get the RO property of the active screen in QTP while running?  8
Hi, i am rani ,i am putting 1+years of fake exp ,so pls anyone explain how i get project (in real time) ? how it is tested ex: in banking ,test the number of textboxes in one window  3
There are 4 webpages in an application, in third page there is one cancel button i want to click that cancel button only, how can I click that cancel buttton ? Wipro4
How to export(copy) the entire webtable from the webpage into Excelsheet? using Vb scripting  9
Hi Guys, In one of my interviews, I was asked to Write a paragaraph explaining how much scripting I did in QTP? I don't know where to start and what to write. So I need your help in writing that.  1
Does the Existing reusable action can be modified at the time of calling the action?? Please help me..  2
How can i count "spaces" in any sentence or a string if suppose " It is a Testing question" Here we have 4 gaps(spaces) Is there any function to find out spaces between words Livetek3
Plz explain about MATCH/EXACT MATCH/IGNORE SPAGE in text check points?  1
How to use QTP for Regration testing, plz tell as with short Example of login window? plz tell as....  2
 
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