Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?



Scenario:2 combo boxes.1st combo contains a,b,c,d.2nd combo contains 10..20,20..30,30..40,.Select..

Answer / jaganmohan reddy

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

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

example-date format is 01-jan-09 in QTP.How to convert this format to 01-01-09?

9 Answers   Tech Mahindra,


how to identify the user defind varibles? plz tell me

1 Answers  


Name the properties you would use for identifying a browser and page when using descriptive programming?

0 Answers  


What is Step generator in qtp? wt is the use? can u any body explain me? plz

1 Answers  


How i can use Regular expression in QTP?give detailed steps for it.

2 Answers  


can onyone tell me how to comapre the output of two different Data Bases in QTP?

1 Answers  


What is the dis advantage of check points in QTP, if any?

6 Answers   BirlaSoft,


can any one say that where we can download the QTP trail version ??????????

0 Answers  


why don’t use real time they r not using check points

1 Answers   Wipro,


Pls explain me the difference between ........ Description.Create and CreateObject

5 Answers  


What are the types of Object Repository’s in QTP?

2 Answers   Crea,


Which object repository we use in real time and can we merge 2 object repostiory and how?

6 Answers   HCL, Satyam,


Categories