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 / 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 |
How can we disable popup blocker?
anyone can explain about "Smart Identification" in QTP. what is the use of "Smart Identification" ???
HOW TO DO THE BATCH TESTING USING QTP?
In Login two edit box which object class property value is same, How to enter into 2nd edit box in qtp by vbscript.
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
what is the code in QTP to take screen shot?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
what is the purpose of SetTOProperty Method?
1 Answers Cap Gemini, iGate, Wipro,
How can we record an edit box in the Web application ?
What are the different attributes used with regular expression?
How would you directly trigger javascript in a test?
How to use custom checkpoints in QuickTest Professional?