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



Pls can anyone give me the descriptive programing script to find the number of edit boxes in a log..

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

More QTP Interview Questions

1)What is the Difference Between WaitTo & Sync?

4 Answers   Wipro,


Check point what is how many types of checkpoint and explain

3 Answers   Accenture,


How to capture checkbox properties when properties of the object keep changing on relogin to the application.

0 Answers   TCS,


Is it mandatory to know abt regular expression in descriptive programming

2 Answers  


dears, I have one question for QTP.If my software is english and defined objects is english name. But, if my software has support MUI, under this case that my objects in the QTP can't work, because the QTP can't catch the objects name. In this case, is anybody know how to solve this problem? Thanks a lot.

2 Answers   CyberLink,






I am using Shared OR, and my collegues are also using Shared OR. How to merge Object Repositories?

6 Answers  


WHAT IS ENVIRONMENT VARIABLES?

7 Answers   AZTEC, CTS, Ready Test Go,


can any one tell me what is process metrics and what is product metrics if possible give me example. Thank You

2 Answers  


In descriptive programming how we know the properties of the objects, if application is not developed and the prototype of the application is also not developed.

1 Answers  


What is the architecture of framework

0 Answers  


What is the registration process and examination fees?

0 Answers  


hi, i was adding the two numbers in qtp scripts but i didn't get the answer. see my below script, i dont know wht is the problem. i passed the value a=3 b= 2, i got the ans 32 instead of 5. i thing the problem is to be c = a+b my mail id karthis4u@gmail.com Dim a, b, c a = inputbox("enter the a ") b = inputbox("enter the b ") c = a + b print c

8 Answers  


Categories