Introduction to IBM Rational Functional Tester (RFT)
Benefits of using Rational Functional Tester
Object Maps in IBM Rational Functional Tester (RFT)
Types of relationships in Object Map
Types of Object Maps
Figure 1 : Creating a Shared Object Map
Figure 2 : Private Test Object Map in Script Explorer
Figure 5 : Relationship between script definition and test object map
Administrative properties are those properties of the test object in test object map that are not used for recognition of the object during execution , rather gives information such as Domain , Role, Proxy and Test Object class name used for the control that are interacted during recording. It is advised to not to change administrative properties, especially properties such as Map ID. Some of these properties such as Role, Test Domain can be used in the find() API.
Changing the default recognition properties
Figure 8 : Changing the pre-configured recognition properties of a test object
Updating the recognition properties of already recorded object
Figure 10 : Selecting new properties to update the properties of a test object
Inserting an object to Object Map
Using this wizard customer can select the object that the user wanted to add to the object map
Figure 12 : Wizard to select an object from application to insert into test object map
Converting the recognition values to Regular Expression
Figure 13 : Converting property value to regular expression
Figure 14 : Selecting appropriate regular expression for property value
Figure 15 : Regular expression evaluator
Dynamic Test Objects in Object Map
- In the Test Object Map toolbar, click Test ObjectInsert Dynamic Test Object Functional Tester opens the Object Map dialog box.
- On the Select an Object page, click the Object Finder icon and drag it into the application over the object you want to add to the test object map.
- Click Next.
- In the Add Dynamic Test Object dialog box, select Anchor to Selected Parent. By selecting Anchor to Selected Parent, you are making the new object a descendant of its parent. You can now search for the object dynamically, anchoring to the parent. You can edit the recognition properties by double clicking on the object properties.
- Select the object that you want to insert and click Finish.
Figure 16 : Converting a test object to dynamic test object
Figure 17 : Selecting a parent to anchor for dynamic test object
Figure 18 : New hierarchy for the dynamic test object
Unifying the objects in the Object Map
Figure 19 : Unifying two test object
Figure 20 : Select the properties from source and target to merge properties
Finding and modifying the values of object in the Object Map
Figure 21 : Find and Modify test object map attributes
About Rational Functional Tester http://www-03.ibm.com/software/products/us/en/functional/