18
Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

Embed Size (px)

Citation preview

Page 1: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

Page 2: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

©2000 - 2016 Net Solutions. All Rights Reserved. www.netsolutionsindia.com

Overview

To be competitive, an organization must constantly improvise its products and services and also at the same time, maintain the quality of existing software and services. With the introduction of Agile, release cycles are shortened and time for testing also get reduced.Hence, the challenge is to reduce time for completing a testing cycle while maintaining the quality of the end product. This gives way to Automation.

Page 3: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

©2000 - 2016 Net Solutions. All Rights Reserved. www.netsolutionsindia.com

Evaluation of Various Approaches in Automation Testing

# Approach How it helps Remarks1 Open source tool • Direct reduction in investment • Helps overcome budgetary

constraints • Investment in effort might

be much larger than that in the tool

• Test Tool support virtually non ‐ existent

• Usually takes time to catch up on the latest platform or technology

2 1st generationRecord & PlaybackLittle or no scripting support

• Extremely rapid creation of automation • Poor maintainability• Lack of tool and APIs

hamper creation of any suitable frameworks and is unsuitable for enterprise apps

3 2nd generationRecord & PlaybackWith scripting language support

• Robust object recognition • Maintainability has to be built in through a suitable framework

• Proficient in programming language

4 Scriptless Testing • Automation based on a model of the app, thus the scale of the operation is smaller

• Being based on a model, it provides a higher level of abstraction, thus test design itself can benefit from this approach

• Low Cost approach • Wait and watch• Save testing time• Easy to start with it• No need for coding skills

Page 4: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

©2000 - 2016 Net Solutions. All Rights Reserved. www.netsolutionsindia.com

• Easy to use interface – uses Spreadsheets for test suit configurations and development

• Reduces automation testing time to a large extent• Eliminates the need for programming experts at

every step• Robust and extensible framework to support test

automation on multiple platforms i.e. on diverse sets of native, web and hybrid

• Single automation script can be used for multiple devices

• Supports data driven testing and reusable functions• Regression, Functional, Acceptance and

Compatibility testing for different platforms/ Operating systems/ applications etc. can be achieved using single script

• Supports both on device, emulator/ simulator and Test Labs

• Highly scalable with less maintenance of test scripts• Increases test coverage as result to fewer product

escapes• Provides detailed reporting with videos, screenshots,

passed and failed reports in different formats

Scriptless Automation Testing

Page 5: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

©2000 - 2016 Net Solutions. All Rights Reserved. www.netsolutionsindia.com

Test Automation via a Phase Process

Setup of Test Automation is a one-time process, but the service also supports ongoing maintenance

Setup

Maintain automated test sets through excel as this the script less framework we don’t need to dig in the coding part

Maintain

Generate summarized .pdf report along with screen shots

Report

Speed up tests by automated test data creation and automated parallel test execution

Execute

Set up Test Automation using the are Framework, standardized test cases, and module-based testing design

DesignDefine goals and timelines for a Test Automation rollout

Plan

Page 6: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

©2000 - 2016 Net Solutions. All Rights Reserved. www.netsolutionsindia.com

Testing Challenges in Agile Environment

Changing Requirem

ents

Continuous &

Automation

Testing

Reporting &

Communication

Testing in diverse

platforms

Page 7: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

©2000 - 2016 Net Solutions. All Rights Reserved. www.netsolutionsindia.com

Scriptless Testing - Solutions in Agile Environment

•Provides detailed reporting with screenshots, passed, failed, skipped, and error logs

• Single automation script for multiple platforms and devices perform functional, acceptance and compatibility testing for mobile web, native and hybrid applications

• No need of coding knowledge

• Same script can be reused with minor changes

• Highly scalable• Easy to maintain test scripts

• Easy spreadsheet interface for test suite configuration

Changing Requireme

nts

Continuous &

Automation Testing

Reporting &

Communication

Testing in diverse

platforms

Page 8: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

©2000 - 2016 Net Solutions. All Rights Reserved. www.netsolutionsindia.com

Benefits - Scriptless Automation Testing

• Requires a one time effort of Automation Expert to build the architecture and design the complete solution

• Ease to use for testing team. No need to know the programming language and can be done by a non-technical user

• Reduces learning curves as same approach is used across different technologies/ applications

• Supports multiple platforms, devices etc.• Applicable to all areas of automation testing like

Regression, smoke, UAT etc.• Automation tests can be executed more faster and

at every stage• Provides a comprehensive test result reports

hence reduces time spent analyzing failures• Ability to keep up with increased product

workload without increase in resources• Easy to maintain complete framework• Increases test coverage as a result to fewer

product escapes• Fully compatible with Agile methodology as testing

can be done on every step

Limitations: Need an Automation engineer to maintain the Application Areas and Object Repositories.

Page 9: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

©2000 - 2016 Net Solutions. All Rights Reserved. www.netsolutionsindia.com

Scriptless Testing Framework – How it Works….

Page 10: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

©2000 - 2016 Net Solutions. All Rights Reserved. www.netsolutionsindia.com

Automation using Scriptless Framework

Page 11: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

©2000 - 2016 Net Solutions. All Rights Reserved. www.netsolutionsindia.com

Components of Framework

Configuration• Configuring automation suite is very easy• Same configuration can be used for multiple

projects with minor changes• Can be configured for multiple browser/

platforms/ OS at the same time• Can be configured for native application• Is capable of executing test case on the basis

of priority so as to monitor risk areas• Option to get Videos of complete execution• Is able to get screenshot of all the executed

steps• Is capable of sending emails to multiple users

with the test reports• Test execution can be scheduled as per the

requirement like downtime

Page 12: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

©2000 - 2016 Net Solutions. All Rights Reserved. www.netsolutionsindia.com

Object Repository

• All page objects are listed• Object elements should be unique• Supports multiple locators like xpath, css, id

etc.• Can be listed in separate .txt file• Can also be directly written in Test Case

sheets

Page 13: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

©2000 - 2016 Net Solutions. All Rights Reserved. www.netsolutionsindia.com

Test Suite

• Collection of all the test scenarios• Can be chosen to form regression suite, smoke

suite etc.• Can be written for multiple modules• Can be executed as per the requirement• Easy to maintain• Can be executed in required sequence

Page 14: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

©2000 - 2016 Net Solutions. All Rights Reserved. www.netsolutionsindia.com

Test Cases

• All Test Cases & Test steps are listed• Page identifiers are listed to execute the

automated steps• Can use multiple identifiers locators• Predefined functions are listed in the

dropdown

• Action can be performed using predefined functions

• Test Data can be created as per the test steps

• Expected result can be compared with Action Result

• Test step result can also be captured• Test step can be reused for multiple devices

and platform in a single run

Page 15: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

©2000 - 2016 Net Solutions. All Rights Reserved. www.netsolutionsindia.com

Script Execution

• Easy to execute• Execution on a single click• No need for programming knowledge• Step wise output analysis• Complete log creation

Page 16: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

©2000 - 2016 Net Solutions. All Rights Reserved. www.netsolutionsindia.com

Reporting

• Simplified Reports• Reports can be extracted in multiple formats• Step wise video recording• Screenshot of all the pages• Automatic trigger of emails to all the

stakeholders

Page 17: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

©2000 - 2016 Net Solutions. All Rights Reserved. www.netsolutionsindia.com

Net Solution’s Framework

Net Solutions Test Automation service helps customer to achieve following goals:• Automation can be done after every change• Automation testing will be consistent i.e. each test is executed in the same way• Testing can be started early, and can be executed over multiple platforms• Regression test can not be sacrificed due to time constraint• Regression test can be executed more often to detect any error as early as possible• Total testing time gets reduced, allowing the final product to hit market in a shorter time• Control Testing cost as Automation gives control over the test execution• Helps the client mitigate risks and hence avoid extra costs, increase productivity without sacrificing

quality• Provides Automation Videos and Screenshots on regular basis

We help clients to increase testing quality by using an effective test methodology and an industry leading testing strategy, approach and framework. The main aim is to reduce the regression testing time and save extra efforts in script development. We also assist clients in improving their test coverage by reusing the test scripts across platforms, technologies, OS and multiple environments.

Page 18: Scriptless Automation Testing: A Unique Framework To Accelerate Delivery

Plot No. 15, Rajiv Gandhi Chandigarh Technology ParkChandigarh - 160101, UT, India

Phone: +91-172-431-5000, Fax: +91-172-431-5003Email: [email protected],

Web: www.netsolutionsindia.com