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 |
Explain about the Test Fusion Report of QTP ?
Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?
Does QTP recognize two diff browser's at a time..?if possible how..? Is it possible run scripts on Mozilla which are recorded on IE..?..How..?
12 Answers IBM, Semantic Space, TCS,
How to change the priorities of the recovery scenario properties?
What is the extension of qtp local repository?
How we wil do data driven test using chkpts? Plz. give me complete navigation steps for this?
What expansion of "MIC" in MICPASS (TEST ReportPAGE)
in qtp how i can retrive from a browser how many links are there.means total no of links used in a browser
What are the things(properties, and other details) will be recorded while recording an object using normal recording?
how to test background color and dynamic images during runtime
CAn anybody tell me how can I use QTP to capture any video in my application?I want to see the video file opened in my application after the tests are completed in tests results.Can anybody help me?
How to make arguments optional in a function?