Predefined Elements
Test Studio Standalone
Predefined elements and element mapping is a new Test Studio feature introduced in the R1 2015 release. Now you have the ability to create your automated tests while the application you will be testing is still in development and does not yet have the UI elements for the test or tests you want to create. You can create your test while waiting for the UI of the application to catch up.
This new feature should be extremely helpful for QA engineers since they no longer have to wait until the application feature is developed before creating a test script.
You can start creating your automated tests using predefined elements and add actions or verifications against those elements.
In order to proceed create a Web or WPF test. Navigate to the Elements tab:
Click on Add Element button:
The element gets added in the Predefined Elements section:
Once created you can edit the properties of the element such as ControlType, FriendlyName and Technology type:
If you are using Silverlight, please make sure you change the TechnologyType to Silverlight in order to be able to create the appropriate steps.
You can also use the Step Builder to create various steps against the element such as actions and verifications:
Visual Studio Plugin
In order to proceed create a Web or WPF test. Navigate to the Elements Explorer of the project:
Click on Add Element button:
The element gets added in the Predefined Elements section:
Once created you can edit the properties of the element such as ControlType, FriendlyName and Technology type:
If you are using Silverlight, please make sure you change the TechnologyType to Silverlight in order to be able to create the appropriate steps.
You can also use the Step Builder to create various steps against the element such as actions and verifications:
- See Also: Elements Mapping (IntelliMap)