APPENDIX-B
Appendix B—Scripting Guidelines

Points to be taken care of in scripts are:

  1. Script should not contain the message boxes, input boxes, etc. or anything that requires manual intervention from the user.
  2. Proper error handling should be used in all scripts.
  3. All test case prerequisites should be taken care of in the script.
  4. Script command failure should be eliminated.
  5. Only one child window should be opened at a time while playing back the script.
  6. Very clear status messages should be used, which tell the user whether a particular step in the test cases has passed or failed.
  7. All requisite transaction ids, statuses, etc. should be provided in the Excel/log, which makes debugging easier in case of script failure.
  8. Checking of status ...

Get Agile Automation and Unified Funtional Testing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.