If there are 100 checkboes in a page then how can we select 10th & 11th & 14th chexkboxes at once through descriptive programing in QTP using vb script.
Please send the answers...

Answer Posted / veeru

Below code saves sometime

set ocheck=description.create
ocheck("micclass").value="WebCheckbox"
set objCheckboxes = browser("Creationtime:=0").page("micclass:=page").childobjects(ocheck)
objCheckboxes(9).Set "ON"
objCheckboxes(10).Set "ON"
objCheckboxes(13).Set "ON"

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the benefits of qtp?

546


Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)

1441


What do you to script when objects are removed from application?

605


What is parameter in qtp?

671


What are the benefits of quick test pro(qtp)?

553






How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

691


How to check bitmap output value?

619


Is qtp supports uni-code?

600


How does quicktest professional identifies the object in the application?

537


Step 3&4 are repeated until an the object in recognised uniquely.

1514


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

1674


Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.

1699


what QTP Options do you know?

2915


Please Don't mind .i want in detail the real time process i.e in each document what it contains.

1429


i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji

1566