Your SlideShare is downloading. ×
Deployment automation framework with selenium
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Deployment automation framework with selenium

2,237
views

Published on

In my slides, I presented my experience in setting up a deployment automation framework with selenium. …

In my slides, I presented my experience in setting up a deployment automation framework with selenium.

The deployment automation framework dramatically dramatically reduced my deployment workload.

I hope my deployment automation setup experience help you in your own/customized automation framework setup with selenium and other open source tools.

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,237
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
31
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Deployment Automation Practice in Agile Software Development Wenhua Wang Software Quality Assurance Engineer Marin Software CompanyEmail: wenhua.wang@marinsoftware.com, wangwenhua06@hotmail.com
  • 2. Outline• Introduction to the deployment work • Deployment work in agile software development • Is it valuable to do the deployment automation work?• Deployment work automation • Deployment working environment and procedure • Deployment automation implementation• Q&A
  • 3. Deployment work in agile software development
  • 4. Deployment work is tedious• Marin has 30+ developers. No one wants to take it. • A senior QA engineer left, because of this tedious work.
  • 5. Outline• Introduction to the deployment work • Deployment work in agile software development • Is it valuable to do the deployment automation work?• Deployment work automation • Deployment working environment and procedure • Deployment automation implementation• Q&A
  • 6. Working environment• 12 distributed, heterogeneous, and specialized servers.• 26 steps are required
  • 7. Working procedure 1. Grab the current tracking number (Example: Appendix 1). • branches-iteration-0019-front_end-47279 @ 20110913-04:44:58 branches-iteration-0019-mscm-47280 @ 20110902-04:54:56 2. Log into SVN server. • Input URL, user name and password 3. Got revision log page. 4. Search all the revisions after 47280 and copy them (Example: Appendix 2). 5. Log into email server. • Input URL, user name and password 6. Compose deployment notification email (Example: Appendix 3). • Receivers: QA, DEV, PRODUCT • Title: what build, what time, where to deploy • Content: new revisions ************wait for the deployment time*************
  • 8. Working procedure 7. Log into the deployment server. • Host name, username, password 8. Download latest compiled files from build server. • Java Bridge, Spring Server, ACDC, Front End, …… 9. Stop services in the enterprise testing environment. 10. Deploy compiled files to enterprise testing environment. • Java Bridge, Spring Server, ACDC, Front End, …… 11. Go to database schema management server 12. Update data cloud schema. 13. Exit database schema management server. 14. Start services in the enterprise testing environment. 15. Log into admin server. • Host name, username, password
  • 9. Working procedure 16. Switch to enterprise log server. • Host name, username, password 17. Go to log file server to check environment status. • /var/splunk/logs/dbs02/acdc/acdc-log.log • /var/splunk/logs/aps04/mscm/springserver-log.log • /var/splunk/logs/wps01/javabridge-log.log • /var/ftp/logs/ftpserver-log.log 18. ~ 26. : repeat 9~17 for the Pro testing environment.
  • 10. Outline• Introduction to the deployment work • Deployment work in agile software development • Is it valuable to do the deployment automation work?• Deployment work automation • Deployment working environment and procedure • Deployment automation implementation• Q&A
  • 11. Automate deployment work • Techniques: Linux shell scripts, Selenium, and Hudson. • Automated steps 8 ~ 26 with Linux shell scripts. • Pushing build script • Status checking script • Next: used selenium to automate the rest 9 steps.
  • 12. Automate deployment work 1. Grab the current version number. • branches-iteration-0019-front_end-47279 @ 20110913-04:44:58 branches-iteration-0019-mscm-47280 @ 20110902-04:54:56 2. Log into SVN server. • Input URL, user name and password 3. Got revision log page. 4. Search all the revisions after 47280 and copy them 5. Log into email server. • Input URL, user name and password 6. Compose deployment notification email. • Receivers: QA, DEV, PRODUCT • Title: what build, what time, where to deploy • Content: new revisions ************wait for the deployment time*************
  • 13. Automate deployment work 7. Log into the deployment server. • Host name, username, password 8. Run pushing scripts for deployment work. • Deploy a new build for enterprise and environment. • Deploy a new build for pro environment. 9. Run status checking scripts.
  • 14. Automate deployment work
  • 15. Automate deployment work
  • 16. Outline• Introduction to the deployment work • Deployment work in agile software development • Is it valuable to do the deployment automation work?• Automating whole deployment process • Deployment working environment and procedure • Deployment automation implementation• Q&A
  • 17. Appendix 1
  • 18. Appendix 2
  • 19. Appendix 3
  • 20. Appendix 4
  • 21. Thanks !