Loading...

About Client

The client is associated with a digital commerce marketing platform. It offers a different approach to micro-influence marketing with the help of satisfied customers. The product enables customers to refer deals from their favorite products or services to their family and friends.

It is widely used by brands to generate higher revenue by establishing the newest customer base via referral marketing.

Continuous Integration has been implemented in the project for smoke testing of every build. It is implemented in a way that once the deployment is completed, Selenium script is triggered and automated script placed at one of the servers of the application is executed. This is implemented using Visual Studio online 2015.

Challenges

Continuous integration is one of the DevOps practices that enable developers to continuously integrate code into a shared repository. While implementing this practice, the following are the challenges we faced.

The biggest challenge was the lack of knowledge as CI was implemented for the first time using Visual Studio online.

Another challenge was to execute the script with the latest code every time, so every time CI needs to check for the updated code.

Selenium script should only be executed if all tasks of deployment are passed and build is not canceled.

Our Solution

We have used GitHub as a repository to store Selenium scripts so that before executing Selenium scripts, we can check for the latest code every time.

To overcome the challenge of script execution only when all tasks are successfully executed, we have enabled the property to execute automated test task only when all previous tasks have succeeded.

How We Did It? Used task Get sources and selected source as GitHub. Authorized task to use GitHub and specified repository and branch from where the task should take the updated

Used task Copy Publish Artifact to copy updated files from the GitHub repository and place it at a specified location on the server where scripts will be executed.

In Control Option, selected value Run this task property as “Only when all previous tasks have succeeded” so as to ensure that Selenium scripts will only be executed once build is succeeded.

Added another repository on GitHub and placed PowerShell script with the command to execute Selenium scripts using maven. Command written is “mvn clean test”.

Used task Powershell to execute shell scripts placed at GitHub repository.

CS-CTA-1

Similar Project Idea?

We have already assisted enterprises belonging to various industry verticals in implementing DevOps practices. Get in touch with  our Experts today.

Submit Request

Technologies & Tools

Selenium-Logo
Selenium

Our Process

Research-icon
  Research/Analysis

Our detailed and accurate research , analysis, and refinement leads to a comprehensive study that describes the requirements, functions, and roles in a transparent manner.

Design_icon
  Design

We have a team of creative design experts who are apt at producing sleek designs of the system components with modernized layouts.

Code_icon
  Coding

Our programmers are well versed with latest programming languages, tools, and techniques to effectively interpret the analysis and design into code.

Testing
  Testing

Quality is at the helm of our projects. We leave no stone unturned in ensuring superior excellence and assurance in all our solutions and services.

Launch_icon
  Launch

We have a well-defined, robust, and secure launch criteria that offers us a successful implementation clubbed with detailed testing, customer acceptance and satisfaction.

Business Benefits

Reduced manual efforts for smoke testing time every time new build is delivered

Test basic and crucial functionality in an absence of QA

Cost-savvy, time-saving testing of the application

Continuous Integration helps in smoother deployments by allowing the team to identify the problems early

CS-CTA-2

Looking For Something Similar?

We have worked with some of the best innovative ideas and brands in the world across industries.

Connect With Us