Using Multiple Input Records to Create a Test Scenario

You may have noticed that there is no special area in the framework for closing windows or tabs. This is because, in our experience in testing a variety of applications, we have come across a multitude of ways to close windows and tabs. Sometimes they are closed using a Cancel command or by selecting either the OK or Finish button. Frequently there is a Close button. And there are others—the system close X button, File→Exit menu item, to name two. There are more methods for closing windows and tabs than there usually are for opening them. So, if you need to programmatically close a window or tab for your test scenario, simply create an additional action code to cause the close action to take ...

Get Just Enough Software Test Automation 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.