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

If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?

0 Answers  


What are the problems / difficulties faced when you used Smart Identification ?

2 Answers   Keane India Ltd,


Why do we use breakpoints in QTP?

0 Answers  


Why bpt?

0 Answers  


How to execute a WinRunner Script in QTP?

3 Answers   IBM,






hi i want write code for "test engineer" in this i want write reverse how ca plz let me know through script

4 Answers  


Write Descriptiv prg 4 login logn....txt bx password---txt bx ok---btn

2 Answers   Hewitt,


plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH

7 Answers   TCS, Wipro,


What is iteration? How it is related to Test Results in QTP

3 Answers   Virinchi Technologies,


I have a string "Redfort is in Delhi" how do u write vbscript for " Delhi in is Redfort"

4 Answers  


give me descriptive programing code sample flight application in qtp?

8 Answers   CA, IBM,


anyone can explain about "Smart Identification" in QTP. what is the use of "Smart Identification" ???

1 Answers  


Categories