Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Who uses qtp tool?

983


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

4590


How you can delete excel file in qtp?

1062


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

994


what is meant by source control?

2169


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

2397


When ‘option explicit’ keyword is used in qtp?

1258


What is QTP’s model for test creation?

1140


What is quick test pro? What is a quick test professional?

1087


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3876


Suggest and Define a solution for an application whose objects are not recognized by UFT?

1089


Which features or drawbacks of QTP lead to the upgrade for a newer version?

1023


How software tester can use constants and variables in scripts?

2228


Describe synchronization point.

1141


In qtp, how you can remove the spaces from string?

984