1. I have asked the same question for the third time, but
i am getting wrong answers.
Pls give me the script to count the number of edit boxes or
checkboxes in an windows application screen.
In windows application childobject is not working, anyone
very urgent
Answer Posted / hemakumar.m
i am using 9.5. for u i giving one more solution verify it.
Dim oDesc
Set oDesc=Description.Create()
oDesc("micclass").value="WinEdit"
iObjCount=0
For iIndex=0 To 100
If Dialog("regexpwndtitle:=Login").WinEdit
(oDesc,"index:="&iIndex).Exist(2) Then
iObjCount=iObjCount+1
Else
Exit For
End If
Next
msgbox iObjCount
iObjCount gives editboxes count. u can keep what ever value
u want for ending of for loop.But it must be greater than
equal value,then only u can get correct number.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Who uses qtp tool?
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
How you can delete excel file in qtp?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
what is meant by source control?
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
When ‘option explicit’ keyword is used in qtp?
What is QTP’s model for test creation?
What is quick test pro? What is a quick test professional?
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
Which features or drawbacks of QTP lead to the upgrade for a newer version?
How software tester can use constants and variables in scripts?
Describe synchronization point.
In qtp, how you can remove the spaces from string?