whaht is the difference between CLASS & OBJECT?

Answers were Sorted based on User's Feedback



whaht is the difference between CLASS & OBJECT?..

Answer / girishkumar

Ex: My application having ok button, 2 edit boxs, submit button, checkbox,radio button, cancel button,

CLASS:
in the above objects. we will decide the CLASS, Based on the similar kind of operations what we perform on the objects.
Ok,submit & Cancel buttons belongs to one CLASS.---click
2 Edit boxes belongs to one CLASS.----Enter the data
Radio button belongs to one CLASS.----select
checkbox belongs to one CLASS.---set

OBJECT: Components in the application is call it as OBJECTS.

Is This Answer Correct ?    9 Yes 0 No

whaht is the difference between CLASS & OBJECT?..

Answer / ramchandra patil

Class: Collection of data and code.we bind the data and code
together. Its is one type wrapper.
Object: Instance of a class.
for eg. Flower is class and Rose is a object of class.

Please let me know still if not cleared and if I am wrong.


Best Regards,


Ramchandra Patil

Is This Answer Correct ?    6 Yes 0 No

whaht is the difference between CLASS & OBJECT?..

Answer / pravati

class is the property of an object but object is the component of an application or software.
u can spy the object and will found the class in properties
Ex:when u spy Webbutton u can find class property is button

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

how to download mercury qtp9.2 ny internet ?

0 Answers  


Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri

0 Answers  


What is an Custom Object in QTP ?

1 Answers  


Hi all , I have installed the QTP 11.0 Whenever I am opening QTP that time if any open Internet Explorer I was getting message (Internet Explorer has encountered a problem and needs to close. we are sorry for inconvenience caused) and same way new browser also not opening. If you have any idea please let me know.

2 Answers   ME,


Is it possible to change the name of a test object. I mean when we are recording the script for an object (for Ex: Username is a text field which has value "Babu",i am recording that). Then the Name of the object will become "Babu" in object repository. If i want to change "babu" as "xxxxx" .. is it possible to do? Pls help me in this .. if you didn't understand the question, pls let me know.

4 Answers  






str="ramanareddy12345@gmail.com"to count alphabets,numarics and special charcters pls any one knows send to answer

3 Answers   Ziynx,


How to export QTP results to an .xls file?

10 Answers   IBM,


Local Obj Repository and SOR are editable know, y we have to edit those.. i mean in which situation we need to edit those and how to do..? pls help me..

2 Answers  


how to write script in qtp(vbscript)..i mean with out application deployed..and how to call script1 into script2?

8 Answers   INCA, Infosys, Logix, SLK Software, Symphony, Wipro,


hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....

0 Answers  


can u store QTp frame work folders in VSS? If Not where u store those?

1 Answers  


What is the concept of hooking in QTP?

1 Answers  


Categories