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 regular expression for Yahoo mail Inbox?
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
What are the views available in quicktest professional (qtp)?
Explain about random testing of 500 test cases?
Analyzing the Checkpoint results ?
Where u will use output checkpoint in QTP?
Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
Give me diffrent script in QTP for Webpage(Java and .Net),WindowsBased Applications,Java application,.Net application...
Can anybody send me the code to get the RO property of the active screen in QTP while running?
How to save your test using quicktest professional (qtp)?
While scripting do we use any reference. may be we have 2 0r more same objects that time how do we write scripts