Does we use Classes and methods in realtime..?How wud we
access methods in a class..?Thanq Guys..!

Answers were Sorted based on User's Feedback



Does we use Classes and methods in realtime..?How wud we access methods in a class..?Thanq Guys..!..

Answer / hemakumar.m

Class add

Public sub display()
msgbox "message"
End Sub

End Class

Set a=New add
a.display()

Is This Answer Correct ?    3 Yes 0 No

Does we use Classes and methods in realtime..?How wud we access methods in a class..?Thanq Guys..!..

Answer / rayudu

Shell we add Classes in the Function library?
Else where should we store classes?

Is This Answer Correct ?    0 Yes 0 No

Does we use Classes and methods in realtime..?How wud we access methods in a class..?Thanq Guys..!..

Answer / shamsher singh

Yes we can use classes and methods in realtime. we can
create classes and methods in classes and linked object with
these classes and use methods.i.e.

Set <Object_name>= createobject(Progid)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

What is the synchronization point in qtp?

0 Answers  


Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

0 Answers   IBM,


Explain the parameter in qtp?

0 Answers  


Give me brief idea about QTP automation object model?

5 Answers   TCS,


Tell me one scenario, the complex functionality you have automated in your project?

0 Answers  






We have a text file which contains 1 to 100 numeric values sequentially like 1 2 . . 100 Now we have to count them and transfer to XML file by writing a code in qtp.

1 Answers   Cap Gemini,


describe common problems of test automation?

3 Answers  


what is run-time data?

0 Answers  


you written some code in qtp for opening google.com browser and entered some text inthe search text box and clicked search button. this is ur script.. before running this script i have already opened two google.com browsers. now am running the script what will happen? script will run or what?? Thanks... Nani

4 Answers   Oracle,


-->IF two TextBOxes are there in a "Form". -->A table contains some records which contains usernames & password.. -->What is the script we need to write using Descriptive programming concept...in QTP (simply DATA DRIVEN TEST SCRIPT OF QTP)?

3 Answers   CTS,


Is it possible to return multiple values from a function..? Then how..?

3 Answers  


Is it possible to call from one action to another action in qtp?

0 Answers  


Categories