2. Agenda
Getting started with Test Automation
Record and Execute a Test
Why we need Coded Step
Demo on Coded Step
Demo on MS Test , Data Base operations , File System Access,
Tables
9. Why Coded Steps ?
Automating a complex
verification which cannot be
constructed by tool.
Writing Clean-up Steps. For example
you may want to clean or delete all the
temporary test files before or after
executing test. It may be chances that
tool might not able automate clean-up
task. In this case you may have to write
coded step for clean-up task.
10. Why Coded Steps ?
Setting up Test Environment. You may need
to set up test environment before executing
test. Setting up environment may contain
loading external test data, connecting to a
dedicated server, loading user profile etc. It
may be chances that tool might not able to
set up environment for various testing
scenario. In this case you may have to write
coded step to set up test environment.
There may be complex
test scenario like verifying
that whether a particular
file got downloaded
successfully on file system
or not. These types of
tests are very tough to be
automated by a particular
tool. In this case you may
have to write coded step
to verify file size on file
system.
11. Why Coded Steps ?
There may be test scenario in which
you need to create test data from
multiple data sources. It may be
chances that tool might not able to
gather or mash up data from various
data source. In this case you may have
to write coded step to create test data.
And many more
…………