the cake test automation platform

Download The CAKE Test Automation Platform

If you can't read please download the document

Upload: cake-labs

Post on 16-Apr-2017

229 views

Category:

Technology


0 download

TRANSCRIPT

PowerPoint Presentation

CTAP(Make Life Easy)

Problems Faced By Cake

Needed more reliable automation frame work.

Results needed to be shared within couple of hours after a release.

Pass rate should be above 95%.

Comprehensive reporting mechanism.



Solution


What is CTAP

Cake Test Automation Platform

CTAP Architecture


Tools and Technologies

Tools and Technologies

PurposeTools/Technologies

Testing FrameworksTestNG

UI Testing AutomationSelenium Web Driver 2

MobileAppium

Programming languageJava

IDEsIDEA

BuildMaven

CIJenkins

Source controlGit

APIRest Assured

Test ManagementTest Link

Projects Using CTAP

CINCO

Payments

Guest Manager

Cake Reports

Cake Shop

Success Stories

Discuss 6.20 release.


Why Should Use CTAP

Saves Time and Money.

Increases Your Test Coverage.

Does What Manual Testing Cannot.

Helps Developers and Testers.

QA and Dev Team Morale Improves.


Setting up CTAP - Prerequisites

Cake Reports

(Reports NG)


CTAP ReportsNG Integration

Reports Project

Challenges

Extraction of specific data cell

No element IDs

Xpaths are dynamic

Storing Data efficiently

Easy Access

Easy to do repetitive calculations

Sync time is not predictable

Unit Level Data Extraction

reportPage.getFieldValue(,,)reportPage.getFieldValue(,,)

Storing Extracted Data

Summary Report Data Class

Table1 Data

Table2 DataTable3 DataTable4 DataReport Data ClassField1 value

Field2 value

Field3 value

Field4 value

Field5 value

Field1 value

Field2 value

Field3 value

Field4 value

Field5 value

Field1 value

Field2 value

Field3 value

Field4 value

Field5 value

Field1 value

Field2 value

Field3 value

Field4 value

Field5 value

ReportData.Table1.Field1

Data Sync Issue

No specific time frame to sync completion

Depends on the number of transactions occurred

Depends on the network speed

No UI Indicator to check whether data sync completed or not

No specific flag or job status to determine the sync progress in the DB level

Solution

ExistingData = Read current report data to a data objectCurrentCount = Retrieve current ticket count from the reports DBTransactionData = Perform the specific test scenarioNewCount = Retrieve current ticket count from the reports DB

NewCount=CurrentCount + TransactionCount

False

True

Wait5 Sec

Validate ExpectedData with Current Report DataExpectedData = Calculate(ExistingData, TransactionData)


CTAP Reporting

CTAP DASHBOARD


Benefits

More human readable

Graphical representation

Use JSON standard

One button click Re Run

Screen shot for failed tests


Breakdown

Project

Release

Suite

Module

Feature


Report Data Generation

ItestListener interface

OntestSuccess();

OnTestFailure();

OnTestskipped();

OnFinish();


API

updatefeature

updatemodule

regressionstart

updatedashboard

reRun


updatefeature - POST

updatemodule - POST

{ "env": "tst", "release": "17_11_2016", "project": "Cake Payment"}


regressionstart - POST

{ "env": "tst", "release": "17_11_2016", "project": "Cake Payment"}


updateDashboard - GET

Scheduled to execute every 30 mins


reRun - POST

reRun/query?testClassName=&node=

Thank You

Edit Master text styles

Second level

Third level

Fourth level

Fifth level

Click to edit Master title style

Click to edit Master subtitle style

Click to edit Master title style

Edit Master text stylesSecond level

Third level

Fourth level

Fifth level

Click to edit Master title style

Edit Master text styles

Click to edit Master title style

Edit Master text stylesSecond level

Third level

Fourth level

Fifth level

Edit Master text stylesSecond level

Third level

Fourth level

Fifth level

Click to edit Master title style

Edit Master text styles

Edit Master text stylesSecond level

Third level

Fourth level

Fifth level

Edit Master text styles

Edit Master text stylesSecond level

Third level

Fourth level

Fifth level

Click to edit Master title style

Click to edit Master title style

Edit Master text stylesSecond level

Third level

Fourth level

Fifth level

Edit Master text styles

Click to edit Master title style

Edit Master text styles

Click to edit Master title style

Edit Master text styles

Second level

Third level

Fourth level

Fifth level

Click to edit Master title style

Edit Master text styles

Second level

Third level

Fourth level

Fifth level

Click to edit the title text formatClick to edit Master title style

Click to edit the outline text format

Second Outline Level

Third Outline Level

Fourth Outline Level

Fifth Outline Level

Sixth Outline Level

Seventh Outline LevelClick to edit Master text styles

Second level

Third level

Fourth level

Fifth level

Click to edit Master title style

Click to edit Master subtitle style

Click to edit Master title style

Edit Master text styles

Second level

Third level

Fourth level

Fifth level

Click to edit Master title style

Edit Master text styles

Click to edit Master title style

Edit Master text styles

Second level

Third level

Fourth level

Fifth level

Edit Master text styles

Second level

Third level

Fourth level

Fifth level

Click to edit Master title style

Edit Master text styles

Edit Master text styles

Second level

Third level

Fourth level

Fifth level

Edit Master text styles

Edit Master text styles

Second level

Third level

Fourth level

Fifth level

Click to edit Master title style

Click to edit Master title style

Edit Master text styles

Second level

Third level

Fourth level

Fifth level

Edit Master text styles

Click to edit Master title style

Edit Master text styles

Click to edit Master title style

Edit Master text styles

Second level

Third level

Fourth level

Fifth level

Click to edit Master title style

Edit Master text styles

Second level

Third level

Fourth level

Fifth level

Click to edit the title text formatClick to edit Master title style

Edit Master text styles

Second level

Third level

Fourth level

Fifth level

Click to edit Master title style

Click to edit Master subtitle style

Click to edit Master title style

Edit Master text stylesSecond level

Third level

Fourth level

Fifth level

Click to edit Master title style

Edit Master text styles

Click to edit Master title style

Edit Master text stylesSecond level

Third level

Fourth level

Fifth level

Edit Master text stylesSecond level

Third level

Fourth level

Fifth level

Click to edit Master title style

Edit Master text styles

Edit Master text stylesSecond level

Third level

Fourth level

Fifth level

Edit Master text styles

Edit Master text stylesSecond level

Third level

Fourth level

Fifth level

Click to edit Master title style

Click to edit Master title style

Edit Master text stylesSecond level

Third level

Fourth level

Fifth level

Edit Master text styles

Click to edit Master title style

Edit Master text styles

Click to edit Master title style

Edit Master text styles

Second level

Third level

Fourth level

Fifth level

Click to edit Master title style

Edit Master text styles

Second level

Third level

Fourth level

Fifth level