Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

crossbrowsertesting/selenium-aws_codepipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Getting Started with AWS CodePipeline and CrossBrowserTesting

For this document, we provide an example Lambda Function located in our AWS CodePipline Github Repository.

AWS CodePipeline is a continuous delivery  tool that lets you automate your development process quickly, safely, and at scale. Through AWS CodePipeline’s integration with many other AWS and third party services such as ECS, S3, Elastic Beanstalk, CloudFormation GitHub, and Jenkins, every time you commit code, a build is created and automatically run, allowing you to test every commit.

In this guide we will use AWS CodePipeline with Github and an AWS Lambda Function for testing using the Selenium Webdriver and the Javascript programming language.

Creating an AWS Lambda Function

1. Navigate to https://console.aws.amazon.com/lambda/

2. Click the Create Function button

3. Name your function and click the Create Function button

4. Download the example Lambda Function, and choose 'Upload a .zip file' from the 'Code entry type' dropdown in the Function Code section

5. Set your username and authkey as environment variables

6. Set your execution role and basic settings then click 'Save'

Setting Up AWS CodePipeline

1. Navigate to the AWS CodePipeline homepage

2. Click the 'Create pipeline' button

3. Name your Pipeline and click 'Next'

4. Select Github from the Source provider dropdown, click the 'Connect to GitHub' button, chose your repository and branch, then click Next

5. Add any additional desired steps, click 'Next', and then 'Create Pipeline' 

6.  Edit you pipeline to add a Lambda stage by clicking the 'Edit'-> 'Add Stage->Add action group'

7. Name your Action, Choose AWS Lambda as the 'Action Provider', set your Function name and User parameters, and click 'Done'

8. Save your pipeline and commit to your repository.

Congratulations! You have successfully integrated CBT and AWS CodePipeline. Now you are ready to see your test run in our app.

Conclusion

By following the steps outlined in this guide, you are now able to seamlessly integrate AWS CodePipeline and CrossBrowserTesting. If you have any questions or concerns, please feel free to reach out to our support team.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published