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
 
 
 
Question
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?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
Answer
Let me explain the answer for the First question:

Write one function for Combo1

n=datatable.value("selectStr",dtlocalsheet)'this statement 
will send parameter to the first combo for selection of 
a,b,c,d etc

Public function combo1Selection(n)
  Browser().page()....select n
  'put standard checkpoint on Second combo and select table
  i=Browser().page()....webtable().getROproperty("value")
  if i="expected" then
     'write statements
  else
    'write statemets
  end if
end fucntion



*****Random testing of 500 test cases in qtp*****

Hi u can use excel sheet for testing this....
u can use parameter in the excel as "Run" and in the "Run" 
field just specify as "Yes" whichever testcases u want to 
run.
this has big procedure....if u want ..just send mail to 
djagan2000@yahoo.com
 
0
Jaganmohan Reddy
 
View All Answers
 
 
 
 
 
   
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