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 |
For example one window is there the window contain some of Check boxes but my question is how many check boxes are there particular window? Please solve the problem gi_raju@rediffmail.com ippaliraju@yahoo.co.in
in which case & which method we can use "native" property of an object ?
how to reverse a string with out using string or predefined function,ex:string is " i love india". the output should be like this "i evol aidni"
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
what is object repository size?
what are the parameters you are considering for object identification?
Does QTP support Java Script also. Which is one is preferrable for QTP, VB script or Java script
What are the types of Object Repository’s in QTP?
how can we group that these test cases only should be automated and in which order you execute that test cases?
Approach for Installation,comaptibility,system testing
what is TOM in qtp?
Explain the Load testing process?