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

I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing

1485


In qtp, explain what is crypt object

598


How to test fly out menu in qtp?

523


An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?

655


what is meant by source control?

1695






write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

1802


Is text area check point supports for web applications?

533


How to use the object spy in quicktest professional (qtp) 8.0 version?

511


What is the extension of the recovery scenario file in qtp?

546


What is the file extension of the code file and object repository file in QTP?

599


hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u

1329


How can I use Call dlls in QTP ?

1790


Explain in brief about the quicktest professional (qtp) automation object model?

569


What is RTM (require ment tracebulity marix) fromate?

1529


suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

1488