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

I have one bitmap image in my webpage. The bit map image is moving like 1 place to 2nd place and 2nd place to 3rd place Etc… in my webpage. I wanted to write script for dynamical objects like above example. Could you please send me the answer for above query.

9 Answers   IBM,


Hello Everyone, In QTP we have one option Data Driver wizard that comes in Tools -> Data Driver. so, please tell me abtout the use of Add Value and Parameterize options available in Data Driver wizard. And also the concept of value, constants, Parameterized displayed in the wizard. Please explain by giving the example. Thanks in advance, Gaytri

2 Answers  


· What should test in BANKING DOMAIN application ?

2 Answers   TCS,


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

4 Answers  


Does QTP record on Objects created on XWindows Environment?

0 Answers   Infotech,






in my application,validation message has in japanise language.how to validate this message is appears properly or not

0 Answers  


Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach

0 Answers   AppLabs,


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

0 Answers   Virtusa,


Can you expect major bugs in Net banking Application?

1 Answers  


How many ways we can parameterize data in quicktest professional (qtp)?

0 Answers  


how i will connect oracle or microsoft acess database through manually written Script

2 Answers   Aurigo,


Suppose there is a bitmap with some text in it how do you write the script to get the text.

2 Answers   BirlaSoft,


Categories