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

Answer Posted / uday

Firoz cant your for loop optimized like below:
for i=1 to 5
objChildObjects(i).set "ON"
Next

The rest is fine.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hou can we use vb script in qtp could u tell me breafly

1727


What are some test assets and related extensions of qtp?

543


Suppose I want fail that check point? How can you do that?

593


Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.

1437


Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma

1293






what is the frame work in J-meter?

1588


How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If

2564


With what extension you can save the list of tests in a file to run in test batch runner?

554


How to save your test using quicktest professional?

520


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1463


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

1856


How to check feasibility of the appliction?in automation testing?

1465


what is vmodel?advantages and disadvantages of vmodel?

1607


What is the difference between Keyword Driven test and Data Driven test?

1766


Mention what are the different types of recording modes in qtp? Which will be used when?

550