0
CONTINUOUSINTEGRATIONWITH SELENIUM    AT MARKTPLAATS.NL
CONTENTPROCESS OVERVIEWGRIDFRAMEWORKSMOKE TESTSLAYOUT TESTINGJENKINS & PIPELINE
BUILDSTATISTICS               2.000      Se     24        SELENIUM TESTSBUILDS A DAY             48.000          TOTAL RUN...
KANBANPIPELINE           TEST         READY STORY     CASES        FOR   PD      PM           QA   DEV   QA PROD      L&P ...
GRIDCONTINUOUS INTEGRATION WITHSELENIUM
GRIDOVERVIEW           GRID  3               7
GRIDMAINTENANCEBUILDER                          SSH./all.sh uptimeroot@10.32.85.13 10:55:25 up 39 days, 20:32,   0 users, ...
TESTFRAMEWORKCONTINUOUS INTEGRATION WITHSELENIUM
FRAMEWORKABSTRACTIONTEST   FLOW   PAGE   DRIVER
FRAMEWORKFLOWadUrn = new SyiFlow(driver)!         .selectL1Category(“Boeken”)!         .selectBucket(“Overige”)!         ....
FRAMEWORKPAGE MODELSpublic class LoginPage extends MarktplaatsPage<LoginPage> {!    public static final String LOGIN_URL = ...
FRAMEWORKPAGE MODELS     public void login(String username, String passwordText) {!        loadAndWaitUntilAvailable();!  ...
FRAMEWORKTEST STRATEGY    FLOW        COMPONENT   POSITIVE      FIELDS   NEGATIVE      MESSAGES                 XSS
SMOKETESTSCONTINUOUS INTEGRATION WITHSELENIUM
SMOKE TESTSAPPROACH SINGLE       PLATFORMS PLATFORM     INTEGRATION
SMOKE TESTSOVERVIEWPLAT   ENV    GRID        INT                     REPORT       DEMO       PROD
SMOKE TESTSREPORT EXAMPLE
LAYOUTTESTINGCONTINUOUS INTEGRATION WITHSELENIUM
LAYOUT TESTINGBROWSER COMPATIBILITY PAGES          BROWSERS                           REPORT         GRID
LAYOUT TESTINGREPORT EXAMPLE
LAYOUT TESTINGREPORT EXAMPLE
JENKINS &PIPELINECONTINUOUS INTEGRATION WITHSELENIUM
JENKINS & PIPELINETEST JOBS           GRID           MAIN          GRID          PARALLEL                     TEST ARE   D...
JENKINS & PIPELINEJOBS MONITOR
JENKINS & PIPELINEREPORTING
JENKINS & PIPELINEREPORTINGSELENIUM          PIPELINE   DATABASE                                 `TEST              APP   ...
JENKINS & PIPELINEDASHBOARD
CI & SELENIUMSUMMARY           PAST            PRESENTSELENIUM             30 – 50 MIN     14 - 18 MINFEEDBACKFAILURE     ...
ANYQUESTIONS ?CONTINUOUS INTEGRATION WITHSELENIUM                  ishubin@ebay.com
Upcoming SlideShare
Loading in...5
×

Amsterdam Selenium Meetup - Continuous Integration with Selenium at Marktplaats.nl by Ivan Shubin

1,290

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,290
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
24
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Amsterdam Selenium Meetup - Continuous Integration with Selenium at Marktplaats.nl by Ivan Shubin"

  1. 1. CONTINUOUSINTEGRATIONWITH SELENIUM AT MARKTPLAATS.NL
  2. 2. CONTENTPROCESS OVERVIEWGRIDFRAMEWORKSMOKE TESTSLAYOUT TESTINGJENKINS & PIPELINE
  3. 3. BUILDSTATISTICS 2.000 Se 24 SELENIUM TESTSBUILDS A DAY 48.000 TOTAL RUNS PER DAY 11DEMO DEPLOYS PER WEEK
  4. 4. KANBANPIPELINE TEST READY STORY CASES FOR PD PM QA DEV QA PROD L&P DEMO DEPLOY DEPLOY DEPLOY
  5. 5. GRIDCONTINUOUS INTEGRATION WITHSELENIUM
  6. 6. GRIDOVERVIEW GRID 3 7
  7. 7. GRIDMAINTENANCEBUILDER SSH./all.sh uptimeroot@10.32.85.13 10:55:25 up 39 days, 20:32, 0 users, load average: 0.27, 0.44, 0.76root@10.32.85.14 10:54:53 up 39 days, 20:20, 2 users, load average: 0.21, 0.32, 0.69root@10.32.85.15 10:54:37 up 39 days, 20:21, 0 users, load average: 0.17, 0.22, 0.43root@10.32.85.16 10:56:42 up 39 days, 20:19, 0 users, load average: 0.01, 0.20, 0.58
  8. 8. TESTFRAMEWORKCONTINUOUS INTEGRATION WITHSELENIUM
  9. 9. FRAMEWORKABSTRACTIONTEST FLOW PAGE DRIVER
  10. 10. FRAMEWORKFLOWadUrn = new SyiFlow(driver)! .selectL1Category(“Boeken”)! .selectBucket(“Overige”)! .selectL2Category(“E-books”)! .typeTitle(“test ad title”)! .typeDescription("test ad description”)! .typePrice("12,00")! .uploadImage(1, new File(“test-image.jpg”))! .typePostcode(“1097DN”)! .submitAndNavigateToRyiPage()! .getAdvertisementUrn();!
  11. 11. FRAMEWORKPAGE MODELSpublic class LoginPage extends MarktplaatsPage<LoginPage> {! public static final String LOGIN_URL = URLS.login();! private static final By USERNAME_FIELD_LOCATOR = By.xpath("//input[@name=j_username]");! private static final By PASSWORD_FIELD_LOCATOR = By.xpath("//input[@name=j_password]");! private static final By LOGIN_BUTTON_LOCATOR = By.id("account-login-button");! ! public LoginPage(WebDriver driver) {! super(driver);! }!! @Override! public LoginPage load() {! getDriver().get(LOGIN_URL);! return this;! }!! @Override! public boolean isAvailable() {! return getEmailField().isAvailable() && getPasswordField().isAvailable();! }!! !
  12. 12. FRAMEWORKPAGE MODELS public void login(String username, String passwordText) {! loadAndWaitUntilAvailable();! getEmailField().inputText(username);! getPasswordField().inputText(passwordText);! loginButton().submit();! }!! public TextInput getEmailField() {! return new TextInput(getDriver(), USERNAME_FIELD_LOCATOR);! }!! public TextInput getPasswordField() {! return new TextInput(getDriver(), PASSWORD_FIELD_LOCATOR);! }! ! public WebElement loginButton() {! return getDriver().findElement(LOGIN_BUTTON_LOCATOR);! }!}!!
  13. 13. FRAMEWORKTEST STRATEGY FLOW COMPONENT POSITIVE FIELDS NEGATIVE MESSAGES XSS
  14. 14. SMOKETESTSCONTINUOUS INTEGRATION WITHSELENIUM
  15. 15. SMOKE TESTSAPPROACH SINGLE PLATFORMS PLATFORM INTEGRATION
  16. 16. SMOKE TESTSOVERVIEWPLAT ENV GRID INT REPORT DEMO PROD
  17. 17. SMOKE TESTSREPORT EXAMPLE
  18. 18. LAYOUTTESTINGCONTINUOUS INTEGRATION WITHSELENIUM
  19. 19. LAYOUT TESTINGBROWSER COMPATIBILITY PAGES BROWSERS REPORT GRID
  20. 20. LAYOUT TESTINGREPORT EXAMPLE
  21. 21. LAYOUT TESTINGREPORT EXAMPLE
  22. 22. JENKINS &PIPELINECONTINUOUS INTEGRATION WITHSELENIUM
  23. 23. JENKINS & PIPELINETEST JOBS GRID MAIN GRID PARALLEL TEST ARE DEMOTRIGGER DEPLOY GREEN NO GRID OTHER TESTS
  24. 24. JENKINS & PIPELINEJOBS MONITOR
  25. 25. JENKINS & PIPELINEREPORTING
  26. 26. JENKINS & PIPELINEREPORTINGSELENIUM PIPELINE DATABASE `TEST APP REST
  27. 27. JENKINS & PIPELINEDASHBOARD
  28. 28. CI & SELENIUMSUMMARY PAST PRESENTSELENIUM 30 – 50 MIN 14 - 18 MINFEEDBACKFAILURE 30 – 50 MIN RIGHTFEEDBACK AWAYBROWSERSUPPORTAMOUNT 11 3OF JOBS
  29. 29. ANYQUESTIONS ?CONTINUOUS INTEGRATION WITHSELENIUM ishubin@ebay.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×