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 Object Spy in QTP?
Can I record on netscape browser does it require any special settings ?
How to create a run time propertyfor an object?
We have an application which generates links( more than thousand) based on the time stamp dynmically.Each link will download an xls file. we are supposed to click a particular link (which link to click will be obtained thru some buisiness logic).Now the issue is QTP is not recogniging the link(say Var1) though its properties showed mandatory fields text=xyz and html tag=A.I used following code to do this. Browser("ABC").Page("123").Link("text:=" &Var1,"html tag:=A").click, can any one suggest why this is not recognised by QTP though syntax is correct?(Is there any sync issue to be considered?Because on clicking the link it will take 5 mins to open that file)
Explain about reusable actions?
What is dynamic arrays
Could someone explain me how to work on Out put values, explain with some example on Flight Reservation. I want to insert the out put value for the order No. Please explain the steps with some example.
How to test background color and dynamic images which are moving during runtime?
In Test Director , You can store Test cases or vb Script . Why we need VSS?
How will u find that how many List boxes( and check boxes) are present in one particular window
What environment does qtp run in?
How to execute a winrunner script in quicktest professional?