whaht is the difference between CLASS & OBJECT?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is the advantage of associating a procedure with a test object?
What expansion of "MIC" in MICPASS (TEST ReportPAGE)
I want to learn Advanced QTP, suggest me the best faculty in Hyderabad
What is qtpro? What is quick test pro? What is a quick test professional?
How does QTP identifes the object in the application?
What is QTP scenario.
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
How can i open a file in Textpad and replace a string with another using QTP
what is the Descriptive Progarmming? how it is help to testers in QTP?
Flight reservation using input and output parameter script.
What are the challenges u faced in testing with crm domain? How u overcome with?
Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?