automate definition code example

Example 1: automate define

I bet u got this from this link:  
https://www.google.com/search?q=programming&rlz=1C1CHBF_en-GBGB906GB906&oq=programming&aqs=chrome.0.69i59j0i67i433j0i67l3j69i61j69i60l2.2046j0j7&sourceid=chrome&ie=UTF-8
lol. 

Automation is simple words is basically like making your life easier. 
Usually for lazy people. But its also very usefull

Example 2: what to automate

We can't and shouldn't automate every test case
I would choose automation over manual
-If it is repetitive like data driven
test cases that are supposed to be tested against
multiple test data.
-If the test cases are high priority test cases
-If the functionality is critical functionality
-If the test cases are too long and too difficult to execute.
-I would automate smoke test cases and also
-I would automate regression test cases as much as possible
based on the priority

Example 3: what to automate

We can't and shouldn't automate every test case
I would choose automation over manual
-If it is repetitive like data driven
test cases that are supposed to be tested against
multiple test data.
-If the test cases are high priority test cases
-If the functionality is critical functionality
-If the test cases are too long and too difficult to execute.
-I would automate smoke test cases and also
-I would automate regression test cases as much as possible
based on the priority

Also some tests are not the only candidates 
for automation. 
Tasks such as setting up or creating test data
for manual exploratory testing are also great
candidates for automation.

Tags:

Misc Example