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


Please Help Members By Posting Answers For Below Questions

tell me abt a time when u had to go above &beyind the call of duty to get the job done

1438


I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?

594


Explain the difference between call to action and copy action?

521


after initiating one project for testing, when exacltly QTP tester role starts?

1397


what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent

1334






descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button

1806


How do you know the location Id of an object if you know its index id?

587


Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.

1607


Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation

1580


how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?

1415


how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps

1669


What is the quicktest professional testing process?

526


Can the user toggle between using Local OR and shared OR for the same action?

554


how to evalute defects in QTP script?

1484


What are the flaws in water fall model and how to overcome it?

557