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
Hi,The question is write a script for the following 
scenario.
scenario:in a job portal i entered QTP 3yrs testing then 
click  search button.then it displays results like
 Test lead  bangalore  (here is a checkbox).
 Test lead hyderabad  check box
 so on...
question is if test lead position in bangalore then 
checkbox shld be enabled automatically..
 Question Submitted By :: Priya
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Hi,The question is write a script for the following scenario. scenario:in a job portal i entered QTP 3yrs testing then click search button.then it displays results like Test lead bangalore (here is a checkbox). Test lead hyderabad check box so on... question is if test lead position in bangalore then checkbox shld be enabled automatically..
Answer
# 1
vbCheckBox("name").set "ON"
is to select the specific CB.
Iam afraid, I could not understand what you are asking 
for...
 
Is This Answer Correct ?    1 Yes 0 No
Suresh
 
  Re: Hi,The question is write a script for the following scenario. scenario:in a job portal i entered QTP 3yrs testing then click search button.then it displays results like Test lead bangalore (here is a checkbox). Test lead hyderabad check box so on... question is if test lead position in bangalore then checkbox shld be enabled automatically..
Answer
# 2
Your question is not clear, can u tell me once again clearly
 
Is This Answer Correct ?    0 Yes 0 No
Sri Satya
 
 
 
  Re: Hi,The question is write a script for the following scenario. scenario:in a job portal i entered QTP 3yrs testing then click search button.then it displays results like Test lead bangalore (here is a checkbox). Test lead hyderabad check box so on... question is if test lead position in bangalore then checkbox shld be enabled automatically..
Answer
# 3
Better Capture the webtable rowcount and columncount like
row=Browser("<name>").Page("<Page>").Webtable
("<tablename>").rowcount
column=Browser("<name>").Page("<Page>").Webtable
("<tablename>").columncount

For i=1 to row
   For j=1 to column
  val=Browser("<name>").Page("<Page>").Webtable
("<tablename>").getcelldata(i,j)
if instr(val,"Test Lead")>0 then
Browser("<name>").Page("<Page>").Webtable
("<tablename>").childitem("Webcheckbox",i,j).Select "On"
next
next

Reach me @9894207910 if u want more info.
 
Is This Answer Correct ?    0 Yes 0 No
Balaji
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What are the file extensions for per-action, shared object repository files and what is the extension for library files? Semantic-Space5
Scenario:2 combo boxes.1st combo contains a,b,c,d.2nd combo contains 10..20,20..30,30..40,.Selecting 'a' shld display 10...20,'b' shld display 20..30.. and so on.tell d script? 2.Random testing of 500 test cases in qtp?  1
how to identify the user defind varibles? plz tell me  1
how quick test record on dynamically generated urls and web pages. Infosys2
How can we do Data driven testing Using For loop in QTP?  2
Does QTP recognize two diff browser's at a time..?if possible how..? Is it possible run scripts on Mozilla which are recorded on IE..?..How..? Semantic-Space10
can any one explain with an example how to test Web application using qtp  2
How to Test the mainframe application?(tell me few basic things)  3
How do you invoke an application using the step generator in qtp?  5
When and why do you use "OPTION EXPLICIT" in VB Script. Is there any online help or something to learn the script for Beginners?  5
how to re-install QTP 9.0 trial version.  13
. Types of properties that Quick Test learns while recording?  1
How QTP recognizes Objects in AUT? Blue-Star5
What is API Satyam1
Could any one suggest web site links to learning VB Script for QTP purpose??  2
How to handle dynamic objects in QTP? Infosys3
how we can take data in the username field text box into variable in web application explain with example and give all functions to get data into variables  1
According to use, how virtual object is different from object spy? If Qtp is not learning a sub-menues. What should we done? how would we manage on the expert view too? alkaa.dugaal@gmail.com HCL1
What is diff between SDLC AND STLC? Nokia1
What are the most frequent errors you faced while executing your scripts? Semantic-Space3
 
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