there are having 10 checkboxes..how can i check only first
5 check boxes by using descriptive programing..
Answer Posted / firoz shaik
A Small correction in the above code :
set objCheckBox=Description.Create()
objCheckBox("micclass").Value="WebCheckBox"
set objChildObjects=Browser("micclass:=Browser").Page
("micclass:=Page").Childobjects(odesc)
for i=1 to objChildObjects.Count
If i=5 Then
Exit For
End If
objChildObjects(i).Set "ON"
Next
Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
What are the views available in quicktest professional?
Is text area check point supports for web applications?
can test automation improve test effectiveness?
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
Have you used xml check point in your project? How?
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
To which environments does quicktest professional (qtp) supports?
What are parameterizing tests?
hou can we use vb script in qtp could u tell me breafly
How to use Environment parameterization? Explain with an example.
What environment does qtp run in?
Where is the Bitmap checkpoint information stored?
What the differences are and best practical application of Object Repository?
Why we load add-ins in qtp?
What is the XML file architecture ?