What is Test, Run time and utility objects.
Guy's this topic is very important to understand, if you understood this concepts then you will
understand the core functionality of UFT.
1. Test Object - If you think logically then the name itself is describing everything, "Test object"
means the application object which we are going to test are the Test object.
or even we can say that the objects which are stored in the object repository at the time of recording are called Test objects.
Example of test object - Text box, List Box, radio button, label, link, button.
2. Run time objects- The application object which you see at the time of running the UFT is called
Run time objects.
Now you are wondering what is the importance of test and run time object?
These objects play a crucial role let me explain the same:-
As you know that UFT is a record and playback automation tool, at the time of recording wherever you interacts in the application let's say entering the value in user id Text box, then this text box is got saved under the object repository and called as Test object.
Now at the time of running the same script which you had recorded then it compares the Test object saved in the object repository with the application objects displayed in the application.
If both the test object and run time object matches then only UFT will enter the value in text box, else
the script will fail saying object not found in the application.
I hope now it's pretty much clear that what is the difference between the Test and Run time object.
3. Utiliy object - UFT provides a variety of utility objects in order to increase the power of scripting or coding we use utility objects.
Like:-
1.Datatable object.
2.Reporter object.
3.Environment object.
4.RandomNumber object.
5.Description object.
6.Repository object.
7.Recovery object.
8.Crypt object.
Meaning of this is the that before using all these object you need not to define any of these object's,
it's just predefined object, you just need to call and use it.
Guy's this topic is very important to understand, if you understood this concepts then you will
understand the core functionality of UFT.
1. Test Object - If you think logically then the name itself is describing everything, "Test object"
means the application object which we are going to test are the Test object.
or even we can say that the objects which are stored in the object repository at the time of recording are called Test objects.
Example of test object - Text box, List Box, radio button, label, link, button.
2. Run time objects- The application object which you see at the time of running the UFT is called
Run time objects.
Now you are wondering what is the importance of test and run time object?
These objects play a crucial role let me explain the same:-
As you know that UFT is a record and playback automation tool, at the time of recording wherever you interacts in the application let's say entering the value in user id Text box, then this text box is got saved under the object repository and called as Test object.
Now at the time of running the same script which you had recorded then it compares the Test object saved in the object repository with the application objects displayed in the application.
If both the test object and run time object matches then only UFT will enter the value in text box, else
the script will fail saying object not found in the application.
I hope now it's pretty much clear that what is the difference between the Test and Run time object.
3. Utiliy object - UFT provides a variety of utility objects in order to increase the power of scripting or coding we use utility objects.
Like:-
1.Datatable object.
2.Reporter object.
3.Environment object.
4.RandomNumber object.
5.Description object.
6.Repository object.
7.Recovery object.
8.Crypt object.
Meaning of this is the that before using all these object you need not to define any of these object's,
it's just predefined object, you just need to call and use it.