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 / dimple

Hi subhash

find the below simple code

Set objdes=Description.Create
objdes("micclass").value="WinEdit"
Set objchild=Window("text:=Flight Reservation").ChildObjects
(objdes)

c=objchild.count

msgbox c

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default add-ins in qtp?

743


How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?

3726


how to create flat file datasubmission in qtp

2181


In Remote acess server how u run a test?

1456


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

751


what type of framework u r using in ur organization

1837


How to capture all the data of a webtable, weblist and combolist using QTP?

3041


In an interview, what r the general questions asked in QTP? pls give me anwser to this question?

1622


How do you do batch testing in wr & is it possible to do in qtp, if so explain?

828


How to record application running on the Virtual machine?

850


What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?

831


Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com

1711


what are the utilities and drivers

2037


Write a QTP script to enter a keyword in to Google search engine?

841


What is post recovery scenario?

1871