QA Focus

Jul 15 2008   4:56AM GMT

Automated Test Steps

Sentinel627 Greg Annen Profile: Sentinel627

Tags:
IMAP4

Simply stated, automated testing is the programmatic execution of test cases. Computers are very literal beasties. In order to accomodate the interpreted scripting language that is typically at the core of a test tool, the test steps in an automated test case must be more granular than your typical ‘natural language’ manual test. But they “do” essentially the same things as a manual test.

Within a test case, whether automated or manual, each test step generally takes this form:

Object –> Action –> Expected Result

  • An Object is a concrete realization of a class, and includes data and the operations associated with that data.
  • An Action affects the properties of an object; it is the execution of one or more of its methods.
  • The Expected Result is the required or predicted outcome of the action.

In automated functional testing:

  • Objects are the components in the application’s UI which can be manipulated by the test tool: labels, fields, grids, etc.
  • An Action mimics some procedure a user would perform with an Object and is typically coded as a reusable function.
  • The Expected Result is the desired outcome of the Action and is used as one of the criteria for the test step Passing or Failing.

Here’s a picture, worth a thousand words*:

Test Steps Diagram

So automation is a method of executing test cases, just like manual testing. Some concessions are made to the test tools utilized, but generally all test steps take the form shown above.

*Good thing I don’t get paid by the word! ;-))

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: