Introduce Test Harness for Direct To Consumer Solutions.pdf

knoldus 56 views 23 slides Sep 13, 2022
Slide 1
Slide 1 of 23
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23

About This Presentation

In this session, we are going to discuss the process of testing for direct-to-consumer solutions. Here, we are going to focus on how our test strategy should be planned and the challenges that testers encounter in testing direct-to-consumer software solutions.


Slide Content

Presented By:
Gargi Sanadhya
Software Consultant
Test Automation Studio
Introduce Test Harness for
Direct to Consumer
Solutions

Lack of etiquette and manners is a huge turn off.

KnolX Etiquettes
Punctuality
Join the session 5 minutes prior to
the session start time. We start on
time and conclude on time!
Feedback
Make sure to submit a constructive
feedback for all sessions as it is
very helpful for the presenter.
Silent Mode
Keep your mobile devices in silent
mode, feel free to move out of
session in case you need to attend
an urgent call.
Avoid Disturbance
Avoid unwanted chit chat during
the session.

Our Agenda
1
01
Introduction to Direct to Consumer Solutions
2
02
Challenges of Testing in D2C Environment
3
03
Roles of different testing in D2C solutions
4
04
Case Study : Direct to Consumer Domain
5
05
Test Automation Framework Design
6 Demo

Introduction to Direct to Consumer Solutions
Direct To Consumer Solutions are those solutions where producer/service-provider
provides the services directly to the consumer/end-user.
There is no third involved in this commercial relationship.
Examples

Challenges of Testing in D2C Environment

Higher Regression Time
Compatibility
Tight deadlinesThird Party Integrations Challenges

Challenges of Testing in D2C Environment

●High Regression Time : In D2C environments, the components are interrelated. So,
the changes at one part can affect the other components. There are high chances of the
application to be regressed.

●Tight deadlines : To increase the customers, the D2C solutions often market or
advertise their products that involves the launch of new products and new functionalities.

●Third Party Integrations : Third party integration are often the difficult thing to test as
we have limited information from these external services.

●Compatibility : Lots of browser and device combinations.It is important to ensure that
we test our product on all major browsers and devices.

Roles of different testing in D2C Solutions
4
6
2
3
5
1Functional
Testing
Compatibility Testing
Performance Testing
Security Testing
Accessibility Testing
Usability Testing

Roles of different testing in D2C Solutions

1.Functional Testing : Functional Testing plays a crucial role in testing any application
and it is very important to test that all the functional entity are working as per the
business requirements and customer expectations.

2.Compatibility Testing : End users have various options to navigate or access the
Direct to consumer software solutions such as web application. It is important that the
application is functional on all the devices.

3.Performance testing : We cannot predict how many users are going to access the web
application at one time. It is important to ensure the proper working of the application
under variable loads.

4.Security Testing : End user is exposing their personal information to the software and it
is very crucial to ensure that this information is safe within the system, make the system
less vulnerable to cyber attacks.

Roles of different testing in D2C Solutions

5. Accessibility Testing: It is important to ensure that our D2C solutions are accessible to
all the users. Users with physical disabilities and cognitive conditions.

6. Usability Testing: It is important to ensure that the end user can easily access the
application.

Functional Testing in D2C Environment
Delivery
Testing occurs on the
presentation layer.
Web UI or Front End Testing play a
significant role in D2C solutions.
In this testing, we test the client side
application.


Web UI Functional
Testing
● Failures are easily noticeable by the
end-users.
● Implemented business logic should
replicate on client side as well.
● To validate that third party integrations
are not breaking the UI
Testing occurs on the
business layer and database
layer
BE Functional testing involves API testing as
well as database testing.
BE Functional
Testing
● Business layer is where the whole
business logic resides.
● Advised to perform prior to FE testing
as error in the logic may be reflected on
the FE as well.

Non Functional Testing in D2C Solutions
Usability Testing 04
● Ease of Usage to End Users
● Identify changes required to enhance user experience.
Accessibility Testing 03
● Verifies if the app is accessible to the users with physical and
cognitive conditions
● Validate if regulating with WCAG guidelines.
Security Testing 02
● D2C business takes hold of first party data.
● Unauthorized usage
Performance Testing 01
● It is important to validate that the web application is able to
handle the variable user traffic.
● To measure the stability under peak traffic rules
● To measure the response time

Glitches and Customer Reactions

Bugs and Business in D2C Solutions

Case Study :Direct to Consumer Domain
Our Partner was a
leading customer
engagement and brand
marketing domain that
design various loyalty
and rewards programme
to increase brand sale.
Partner
They provide various
short-term and long
term programs for the
brands where user
validates their brand
specific purchase to
receive the rewards
Vision
Transition from the old
legacy system to the the
new fast microservice
based system.
Challenge

Challenges We Faced
Delivery

Tool Selection : Criterias
Delivery

Solution : Implementing Automated Test Harness
with Cypress
Delivery
●Cypress is an End To End Testing Framework.

●Cypress consists of a free, open source, locally installed application and a
Dashboard Service for recording your tests.

●Built on the node.js environment. It comes as a NPM package.

●It directly interacts with the browser to carry out the automation steps.

How Cypress is beneficial for our use case?
Delivery
1.Cypress is front end E2E testing framework but it can also intercept HTTP requests
and to make an HTTP requests.

2.Cypress is a all in one testing framework.

3.Cypress has in-built commands and methods to drive the test cases.

4.Cypress doesn’t need external drivers to run the application.

5.You don’t need to download dozens of libraries for creating automated tests. Just the
Cypress packages.

6.Cypress integrates well with various CI tools.

7.Cypress tests can run on various browsers such as Chrome, Edge, Firefox etc.

Test Strategy
Delivery
Continuous Testing 05
Github Actions
Performance Testing 04
JMeter + Lighthouse
End To End Testing 03
Cypress
Rest API Testing 02
Cypress + Postman
Web UI Testing 01
Cypress

Brief Of Other Tools

1.Postman: Postman is an API platform for building and using the APIs.

2.JMeter: Pure Java application designed to load test functional behavior and measure
performance.

3.Lighthouse: Open-source, automated tool for measuring the quality of web pages.

4.GitHub Actions: Continuous integration and continuous delivery (CI/CD) platform that
allows you to automate your build, test, and deployment pipeline.

Test Automation Framework Design
Delivery

Demo

Thank You !
Get in touch with us:
Knoldus Inc.
India, USA, Canada, Singapore, Netherland, Vietnam