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
How qtp identifies objects?
How to add synchronisation points in qtp?
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
What is meant by Output Value in UFT?
Why script error occur in between recording in qtp?
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
What are output values and why they are used ?
what is the advantages and disadvantages of using functions instead of re usable actions
How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
Can I change properties of a test object?
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
How do you perform Regreession Testing?