QA(Quality Assurance)
We are quality, it's our moral to keep safe from ruining
Why QA
-
Check Quality before delivered to customer
-
Keep an eye on development and production
-
Minor change could have major impact
-
Saves time and money
How QA Works
Bug life cycle
Difference b/w Manual and Automation
Manual :
- Not accurate
- Time Consuming
- Investment is required for human resources
- Manual testing is only practical when the test cases are run once or twice
Automation :
- More reliable
- Faster then manual approach
- Investment is required for testing tools
- Practical option when the test cases are run repeatedly long period of time
Benefits of Automation
- Saves time
- Early bug Detection
- Performance tests 24/7
- Re-usablity
- Improves test coverage
- Improves team motivation
- Improves Accuracy
Types Of Testing
- Unit Testing
- Integration Testing
- Functional Testing
- Regression Testing
- System Testing
- Usability Testing
- Acceptance Testing
FrameWorks
Keyword Driven Framework :
In keyword driven test framework, all the operations and instructions are written in some external file like Excel worksheet.
A keyword-driven testing is a scripting technique that uses excel files to contain the keywords related to the application being tested
• It helps to reduce maintenance cost
• Avoids duplicated specifications
• Greater reuse of function scripting
• Better testing support and portability
• Achieve more testing with less or same effort
Cucumber Framework:
- Cucumber is a testing tool used for Business Driven Development.
- Supports many different languages and platforms like Ruby, Java or .NET.
- Cucumber executes the test scripts, which have been defined in the feature file.
- The language, in which this executable feature files is written, is known as Gherkin a plain English text language, which helps the tool - Cucumber to interpret and execute the test scripts.
Feature File :
Most of BDD frameworks use common template for tests called as feature file.
- The file, in which Cucumber tests are written, is known as feature files.
- The extension of the feature file needs to be “.feature”.
Feature : Login Action
Scenario : Successful Login with Valid Credentials
Given : Navigate to gmail page
When : User logged in using "marketbase8@gmail.com" & "pwd"
Then : Error page should not be displayed
Why Cucumber?
- Due to simple test script architecture, Cucumber provides code reusability.
- It acts as a bridge between the business and technical language. We can accomplish this by creating a test case in plain English text.
QA(Quality Assurance)
By Sindhu KP
QA(Quality Assurance)
- 169