Coded Ui Testing is not a very simple Automation Testing Approach and the challenges that come across while we approach the same is even more complex. The very recent issue we have come across is some Script Maintenance in the Coded UI Test files that have been executed to generate some positive ROI in the very near future.
Coded Ui Test generation is a very simple Automation testing technique with lots of support available in the internet.
However this type of approach has lost its relevance as in the current Automation Scenario, we aim to generate some quick ROI rather than depending on the old outdated Regression based script execution to be processed upon to meet some ROI.
Coded Ui Test generation is a very simple Automation testing technique with lots of support available in the internet.
- Keep all the code blocks modular, small, simple.
Codes must not be having more than any one function flow such as create a mail account. - When putting any validations as Verification or assertion points, avoid using multiple in one function block.
- There might be some code flow alteration in the Navigation path of the application, hence the Navigation flow code script must be free from the functional flow points.
- Uimap.cs File is a Partial class file that can be used to an optimal extent by bringing in the feature of code Reusability and hence a lot more script maintenance ease.
- Do keep in mind that the UImap.cs codes must not have any dependence on any script block that might be brought to any us.
- When we enter the Script maintenance phase do not recode anything from fresh , just avoid re recording, and prefer Code customization along with the partial class file.
However this type of approach has lost its relevance as in the current Automation Scenario, we aim to generate some quick ROI rather than depending on the old outdated Regression based script execution to be processed upon to meet some ROI.
Post a Comment