12. Selenium: State of the Union
▌WebDriverの生みの親Simon Stewart(Facebook)による
Keynote
▌前半はWebのトレンドの移り変わり
▌後半はモバイルの自動テストの話
AndroidはselendroidとかappiumでOK
iOSはフレームワークが変わったり速度が遅かったりで辛い
▌Facebookはこの問題を解決するためにWebDriverAgentと
FBSimulatorControlをオープンソースで公開
12
22. 11. fast set value
Problem:
WebElement.sendKeys() is slow
Solution:
mvn -Dselenide.fastSetValue=true
https://docs.google.com/presentation/d/1ZksjuL2vPN_pkhMuon0HH4gm7KNmjU50pByRRGzgVko/edit#slide=id.ga5fa11dc4_033
25. GRID TOPOLOGy - 1
HUB
• parallel execution for small projects
• 1 executor - 1 hub - 11 nodes
• eg: c3.8xlarge can execute 250*+ tests in parallel
• Test run would finish in ~5mins
c3.8xlarge
c3.8xlarge
c3.xlarge
25
….
https://www.slideshare.net/slideshow/embed_code/key/H7QmI1pAf2r9u7
26. GRID TOPOLOGy - 2
HUB
• Suitable for medium size projects (500+ tests)
• More tests by adding one more executor (2 executors
1 hub and 22 node),this could double your parallel
execution cases
c3.8xlarge
c3.8xlarge
c3.xlarge
26
….
….
https://www.slideshare.net/slideshow/embed_code/key/H7QmI1pAf2r9u7
27. GRID TOPOLOGy - 4
HUB
HUB
• Use two hubs to double the
tests (1000+)
• But speed is same as
topology 2 (~5mins)
• Double the cost
c3.8xlarge
c3.xlarge
27
https://www.slideshare.net/slideshow/embed_code/key/H7QmI1pAf2r9u7