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

Where to use function or action?

0 Answers  


is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?

1 Answers  


www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example

0 Answers   TCS,


write script to read and write data from file ?

2 Answers   HealthAsyst,


Test cases for Traffic Signals

4 Answers   AppLabs,


How to record objects of Windows taskbar

2 Answers   RoboSoft,


when i was doing the Flight reservation with QTP calculating the tickets i got Type mismatch: '[string: ""]' in "If cdbl(tot)=cdbl(p)*t Then" error. where I am doing the mistake Could you please tell me.

5 Answers  


how many scripts r there in QTP? pls any answer this question?

4 Answers  


Hi Friends... What you are doing in Regression Testing and how many test cases you ran in regression testing... suppose there is 1000 test cases is there how many test cases again you run .. 1000 test caes r how many... thanx in advance..

6 Answers  


How to associate function library at a run time?

0 Answers  


Explain the features of quick test pro(qtp)?

0 Answers  


In an Excel sheet take two fields as agentname and password and type some valid agentname and password.call that excel sheet in qtp so that qtp opens the flightreservation window taking into consideration how many records are entered in the excel sheet.For example if 3 records are entered today it will open 3 FR windows,if in near future the records are more than 3 then it will open that number of times.

3 Answers  


Categories