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

Hi all please solve this.It is urgent..... When I right clicked on a Web image manually It displayed Open link,open link in new window,save picture as, Email picture,Printpicture,propeties...etc. While automation I have written a code like this 'browser("Google").Page("ramseeker®: Memory and_3").Image ("graphOfModel").Click 10,10,micRightBtn But the right click menu was not displayed. I want to save that image in a seperate folder

6 Answers  


what is difference between wait and synchronization point.

3 Answers   IBM, Intel,


I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.

0 Answers   RBS,


Hi, OUR PROJECT NAME IS: HOSPITAL CONTROL SYSTEM. IS IT COMES UNDER WHICH DOMAIN(HEALTH CARE OR HEALTH INSURANCE)

4 Answers   Four soft,


1) 100 test boxes there in application. how to click 100 test boxes using vb script? 2) 100 objects there in web page,how we will store that 100 objects repostries?

3 Answers   ANZ,






How to add a page checkpoint to your test?

1 Answers  


how to call multiple scripts in QTP at a time

3 Answers   IBM,


What is text/text area checkpoint?

0 Answers  


What are the different ways to invoke an application using QTP?

0 Answers  


what is recovery manager and recovey scenerio?

2 Answers   BirlaSoft,


How to Creating an Output Value using QTP?

1 Answers  


Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points

0 Answers   BirlaSoft,


Categories