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 getting correct answer. childobjects is working for
windows apps.It is better to mention error description.

in ur coding u kept small c when getting the count as u
mentioned above.

Set oDesc=Description.Create
oDesc("micClass").value="WinEdit"

Set oChildern=dialog("regexpwndtitle:=Login").ChildObjects
(oDesc)

msgbox oChildern.count

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to write xml output check point bu useing descriptive programing .means without useing output check point

1659


Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma

3263


Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know

1411


i can done the project with QTP in that time i can say how many members in my team size?

1374


What does mean by Scope of Automation?n How we defined it?

1586






how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page

1835


Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

1608


Why do we use breakpoints in QTP?

591


How can you handle exceptions in qtp?

542


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

589


what is the frame work in J-meter?

1611


How to find the name of the machine where you are running your automation scripts in qtp?

529


What are the factors on which script execution time is dependent?

621


What are the advantages of a Hybrid framework?

605


Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)

1642