how i can get the value of label box , please any body tell
me script of that code



how i can get the value of label box , please any body tell me script of that code..

Answer / firoz basha shaik

add the object in the repository.

for ex, the object name is lblSelection

Selection = Browser("Browser").Page("Page").VBLabel
("lblSelection").GetROProperty("text")
msgbox Selection

You will come to know what value it consists of

Is This Answer Correct ?    6 Yes 1 No

Post New Answer

More QTP Interview Questions

How many actions we can create with in a test?

7 Answers  


How to capture a window in qtp or how to take snapshot of any window while writing script in qtp

3 Answers  


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

0 Answers  


Can we do server automation by QTP? If you have any helpful links ,pls post it. Thanks Uma

1 Answers  


in how many ways we can write the user defined functions one way i know that i.e storing it in .vbs another way i does not know my friend said that .qtf or something but start with q letter can any buddy knows about this

3 Answers   DigiTech, Infotech,






Scripts for Ascending order in qtp.

3 Answers  


what is output parameters in qtp?explain? 2)

2 Answers   Span Infotech, TCS,


what is synchronization point, synchronization method, wait property method? with examples.. plz explain this in brief

3 Answers  


What is diff betwee datatable.importsheet "path" and datatable.import

2 Answers  


After Creation of your QTp frame work, The folders are saved in VSS or Other. plz explain brifly?

3 Answers   Infosys,


Which line will be executed 1-B(DP).P(OR.link(DP) 2-B(OR).P(Or).Link(DP)

2 Answers   Broadridge,


is it possible to add sheets to excel at runtime

1 Answers  


Categories