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
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
In qtp, explain what is crypt object
How to test fly out menu in qtp?
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?
what is meant by source control?
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..
Is text area check point supports for web applications?
How to use the object spy in quicktest professional (qtp) 8.0 version?
What is the extension of the recovery scenario file in qtp?
What is the file extension of the code file and object repository file in QTP?
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
How can I use Call dlls in QTP ?
Explain in brief about the quicktest professional (qtp) automation object model?
What is RTM (require ment tracebulity marix) fromate?
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