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

Can anyone tell me what is the equivalant method to be used in QTP for "web_obj_get_text" used in winrunner. My winrunner code is below. set_window("Confirm Add Subscriber"); rc = web_obj_get_text("Add subscriber:","#8","#1",orderID,"The order number is","\.",1); basically I need to retrieved the "orderID " from a string present in 8th row & 1st col of table "Add subscriber"

1 Answers  


Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?

6 Answers  


I added 5 edit box objects in OR.i run the script and the first edit box successfully executed.But on next day when i executed same script for second edit box,it gives an error "object not Found". But when i used Highlight in app. object already in OR.So how i will handel this type of error. Hi please inform me the write answer.Its urgent.

1 Answers   TCS,


How good are you in writing VBscript code for your application? Can you completely write VBscrit for your project with out using recording mode in QTP?

3 Answers   CTS,


What is the DIFF Between PROJECT AND PRODUCT?When Company will need Product?

5 Answers  






What is quick test pro? What is a quick test professional?

0 Answers  


What the differences are and best practical application of Object Repository?

0 Answers  


What are the differences between quicktest professional (qtp) and winrunner?

0 Answers  


If there are 100 checkboes in a page then how can we select all chexkboxes at once through descriptive programing in QTP using vb script. Please send the answers...

5 Answers   HCL,


To which environments does quicktest professional supports?

0 Answers  


What is the Diff between Image check-point and Bit map Check point?

3 Answers   Crea,


What are the different types of recording modes in qtp? Which will be used when?

0 Answers  


Categories