If there are 100 checkboes in a page then how can we select all chexkboxes at once through descriptive programing in QTP using vb script.
Please send the answers...
Answer Posted / dinesh1433
for i=0 to 100
Browser("index:=0").page("index:=0").webcheckbox("index:="&i).set "on"
Next
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Both static and dynamic arrays are handled by the vb script. Is it true?
how to find that tools work well with ur existing system?
What is the use of sendkeys and what are send keys
Is qtp supports uni-code?
give me an example where u used good judgement and logic in solving a problem
Why to use descriptive programming?
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
What is a Patch in QTP?
Explain how you can find length of array in qtp?
How to test the login page in different ways in automation testing and i need code?
What is the difference between shared and local object repository?
what could go wrong with test automation?
If the objects hierarchy is changing from build to build, then how you will handle that condition?
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
What is fragmentation and paging?