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?
Answer Posted / 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 View All Answers
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
How to save your test using quicktest professional?
What is the purpose of loading qtp add-ins?
how to prepared for first for the first interview?
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
Explain different types of checkpoints?
How to handle the exceptions using recovery secnario manager in quicktest professional?
Hi All, I need code for how to execute qtp scripts from excell sheet
Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution
How to create runtime property for an object?
what is vmodel?advantages and disadvantages of vmodel?
Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know
How will you handle java tree in qtp?
can u please explain what is the exact difference between qtp8.2 and 9.0
How are actions and functions different in QTP?