• Share
  • Email
  • Embed
  • Like
  • Private Content
How To Add Any Feature To Your Selenium Grid
 

How To Add Any Feature To Your Selenium Grid

on

  • 1,825 views

Allen Lee, Lead Automation Engineer at ZocDoc, shares how to add any feature to your Selenium Grid.

Allen Lee, Lead Automation Engineer at ZocDoc, shares how to add any feature to your Selenium Grid.

Statistics

Views

Total Views
1,825
Views on SlideShare
1,825
Embed Views
0

Actions

Likes
0
Downloads
15
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    How To Add Any Feature To Your Selenium Grid How To Add Any Feature To Your Selenium Grid Presentation Transcript

    • ZocGrid:  How  to  add  any  feature   to  your  grid.   Allen  Lee   Lead  Automa9on  Engineer  at  Zocdoc  
    • WHY  GRID?     Scalability.   Speed.    
    •  Con9nuous  Integra9on     TESTS  IN  MINUTES  o Test  every  commit    o Test  on  mul9ple                                         environments    o Run  all  tests    o Push  every  day          
    • Selenium  1  Grid  PROBLEM   •  Unstable  Tests   •  Ineffec9ve  CI      o  We  are  a  C#  shop  and  Selenium  Grid  is  Java    o  We  could  not  find  any  exis9ng  C#  grid    o  We  didn’t  know  when  Grid  2  would  be  available  o  We  didn’t  have  9me  to  wait  for  Grid  1  releases        
    • ZocGrid:    “Client  Knows  All”  Architecture  •  Local  Resources  •  Local  Execu9on  •  Lighter  ZocGrid  Server  Load  •  Has  access  to  na;ve  opera;ng   system  !!!      
    • CI  starts  a   Central  Grid  Server    Grid  Client  grabs    latest  DLL  from  server   Sends  Test  Names   VM   VM   ZocGrid  Client   ZocGrid  Client   (Running  .net  exe)   (Running  .net  exe)   QA  Test  Environments  Web  Server  
    • Parallel  Execu9on  o Time  it  takes  to  run  each   test    o What  tests  were  running   at  the  same  9me    o What  browser  were  the   tests  running  on  
    • Transcript  of  test/Steps  to  reproduce  
    • Video  Recording  
    • Image  Comparison  
    • Addi9onal  •  Run  any  subset  of  scripts  •  Run  scripts  against  any  specified  URL  •  Run  scripts  in  a  specific  or  randomized  order  •  Run  in  a  specific  browser  •  Run  SQL  queries  •  Automa9cally  rerun  tests  under  user-­‐specified   condi9ons  •  Detect  network  disconnects,  automa9cally  update   codebase,  restart  browsers      
    • What’s  Next?  •  We  have  a  large  pool  of  VMs  …  •  We  can  target  any  url  …  •  We  can  specify  what  browser  to  test  …  •  We  can  control  what  tests  to  run  …  •  We  can  run  tests  on  mul9ple  environments   concurrently    …    
    • Why  not  give  developers  grid  server  to  run  the  suite  of  tests  against  their  local  changes  or  code  branches  using  the  VM  pool?  
    • We  Are  Hiring!   hcp://www.zocdoc.com/careers   THE  END