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

Can we create user defined functions in qtp?

647


If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?

4789


I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!

1509


What is the differences between image check point and bit map check point?

661


Explain different types of action in qtp?

649






Explain runtime dynamic settings?

2111


Explain about datafile/verification of date file when file is not available in local system?

2344


Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?

2421


What are the recording modes in qtp?

674


How you can find length of array in qtp?

656


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com

1860


"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

1551


How to use output values in qtp ?

641


Give the syntax to import/export xls into qtp.

672


What are the different types of recovery operation?

633