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 |
Hi, Can any body please tell me how to create framework in qtp & where i can get some material to learn about it. regards, rahulT
can we enable smart identification for test object
What is the limitation to XML Checkpoints?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
Hi What are re-usable actions in QTP? -Thank You
How can i count the list box elements in QTP ?using script plz explain me (Chandana)
In an interview what r the questions asked in qtp related project? pls any answer this question?
How software automation specialist enter steps in the Expert View?
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
How to check the URL using Automation tool QTP
How to use conditional loops in qtp ?