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 do i know how to use tools
Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?
How to use the object spy in quicktest professional 8.0 version?
UFT 12.02 which ALM version will support
regular expression in qtp standar check point for months from accepting months from january to december only
what is profile tool?
How can you give wait up to 10 seconds in qtp?
How to get popup error message.
Explain qtp(quick test professional)?
Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
Can the user toggle between using Local OR and shared OR for the same action?
How to test login module with different username and password by using data driven testing in QTP?
How to do call a output parameter from one action to another action??/