O'Reilly logo

Agile Automation and Unified Funtional Testing by Rajeev Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 is required at the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required