How it works...
This is a very powerful tool, where we can ask consultants and users to create the test cases based on what they expect for the developer to use as a test case.
Although there is a lot going on behind the scenes, it works by reading the XML file created by the task recording. When each step is recording, the system stores the information about the form and controls in a way that can be referenced in code. The task recoding import creates a class that uses the form adaptor in order to interact with the form programmatically, using the steps in the XML file.
Although this code is generated, we can edit it. In the case of validations, we usually have to. For example, the consultants could have added a validation for the item ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access