there are having 10 checkboxes..how can i check only first
5 check boxes by using descriptive programing..

Answer Posted / nuka raju

Dim objCheckbox
set objCheckBox=Description.Create()
objCheckBox("micclass").Value="WebCheckBox"
set objChildObjects=Browser("micclass:=Browser").Page
("micclass:=Page").Childobjects(odesc)


for i=1 to 5
objChildObjects(i).Checked
Next

Is This Answer Correct ?    11 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do u plan test automation?

1445


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com

1498


What is the extension of the qtp local repository?

568


What is qtpro? What is quick test pro?

564


What is synchronization point in QTP?

678






How to check which add-ins are associated with a test in qtp?

582


Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?

620


How to run a test using quicktest professional?

528


I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!

1437


How many types of run modes are there in qtp?

586


Explain process of smart Identification in QTP?

598


What are the differences between table and db checkpoints?

534


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

1941


What are the various types of Actions in UFT?

592


How many types of status are there?

589