Pls can anyone give me the descriptive programing script to
find the number of edit boxes in a login window in flights
reservation (windows application only not web). Pls anyone,
very urgent

Answer Posted / hemakumar.m

1)Answer

Dim oEditDesc
Set oEditDesc=Description.Create()
oEditDesc("micclass").value="WinEdit"
a=Dialog("text:=Login").Childobject(oEditDesc).Count

Msgbox a

a=2

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How u will do versioning in QTP?

1460


In qtp, how you can exit for loop?

527


Can any give an example(if possible templates) how to test web application using QTP. thanks in advance

1554


What is qtpro?

597


How is a Step generator used in UFT?

658






What is the difference between a Function and Procedure in QTP?

682


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

1370


What are the advantages of qtp?

578


Can we use index on view?

1601


Write a script to customize the test results in PDF and HTML format.

2082


What is the short cut keys for the following?

645


Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?

604


Explain qtp(quick test professional)?

581


Define virtual object?

607


what is keyword driven testing in qtp?n how is it useful?

1491