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   To Refer this Site to Your Friends   Click Here
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 multiple radio buttons i need to select a radio 
buton and i dont want to hard code i have a generic 
function for it there i have used select#0 so it selects 
first radio button but for other script i want to select 
the 4th radio button how i can make it still more generic
 Question Submitted By :: Sarvan
I also faced this Question!!     Rank Answer Posted By  
 
  Re: I have multiple radio buttons i need to select a radio buton and i dont want to hard code i have a generic function for it there i have used select#0 so it selects first radio button but for other script i want to select the 4th radio button how i can make it still more generic
Answer
# 1
hi, What you can do is
Create a function which accepts a parameter (Index #).
Pass the index number to the radio button u need to click.
 
Is This Answer Correct ?    6 Yes 1 No
Ashish
 
  Re: I have multiple radio buttons i need to select a radio buton and i dont want to hard code i have a generic function for it there i have used select#0 so it selects first radio button but for other script i want to select the 4th radio button how i can make it still more generic
Answer
# 2
use select #x

pass the x as a variable
 
Is This Answer Correct ?    0 Yes 0 No
Rahul
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What are different types of frame works ?  3
What is the vb script when the url enter into the browser Satyam1
I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications) Xansa6
Idid my qtp course in 2007 june in mind Q i for got to use this tool ,i want to mention in my resume about this ,how can i rectify this ,pls give me any idea . Quest2
The interviewer asked me when u recorded one application.object repository properties are saved with .tsr extention. in qtp expert view wherever mouse is there that snapshot displayed in active screen but some recored script lines are not displyed in actives screen y? IBM3
Inserting a Call to Action is not Importing all columns in Datatable of globalsheet. Why? Accenture3
Explain abt the File System Object in QTP with ex Ordain-Solutions3
why qtp supports vbscript? and not for others just like cgi,phython,shell,perl,html and all.. Cap-Gemini2
what is the difference between Reusable action and external action? HCL1
How can I pass values from one action to another in QTP ? Ordain-Solutions6
What scripting language QTP of?  4
hi guys this is Keerthi, I am searching for job,so I want to know which questions are intervier asking on QTP&MANUAL&QUALITY CENTER,can u send Any one questions&Answers to my id:chinna.ammi@yahoo.co.in  8
How to compare source and target database in testing? Can anybody please tell me in detail the procedure how to compare it?  1
where is the bitmap checkpoint be saved  3
Can you give me the code to calculate the total number of Links using the child object in the web page..? is there any other way to calculate number of links with out using the Child objects.?? DST-Global-Solutions2
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
Diff. between keyword driven Data driven testing?  7
How can I use the value retrieved by OUTPUT VALUE check point as Input for other Actions? Motorola1
suppose by navigation i went from 1st page to 5th page write a script for coming from any page to the 1st page abd by executing where the page may be . it will come to 1st page give the code using gmail. give me mail id so that i can under this answer with out any doubt  1
how do you do database testing in qtp NIIT4
 
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