Presentation is loading. Please wait.

Presentation is loading. Please wait.

Digital Instinct - Selenium Monkey Test Analyst By David Williams

Similar presentations


Presentation on theme: "Digital Instinct - Selenium Monkey Test Analyst By David Williams"— Presentation transcript:

1 Digital Instinct - Selenium Monkey Test Analyst By David Williams
Selenium Grid Digital Instinct - Selenium Monkey Test Analyst By David Williams

2 What is Selenium Grid Testers CHROME IE Firefox The Hub

3 To Get Up And Running Need to install: - Browser Drivers - Selenium Server - Java Currently we use: Link: - Download selenium-server-standalone - Firefox – Comes as part of selenium server. - IE Driver Link: -Chrome NOTE: Both IE and Chrome need to be a part of your PATH (Environmental Variables)

4 .BatMan Begins Use separate batch files to run both the hub and the nodes. Able to link these batch files to CI server. Hub: Nodes:

5 Call it From Within your tests

6 Call It from within Your Tests (Cont…)
This is an example of using parameterised tests. The 1,2,3 is the int used is the browserID. This browserID is then passed into the constructor, and then into the getBrowserDriver method.

7 Pros To Selenium Grid Gateway between Webdriver and Cross browser functional testing. Opens the door for parallel testing. Advanced packages not be feasible within budget at current and Selenium Grid provides a “free” alternative. Impossible to justify the costs of more advanced packages (e.g. SauceLabs) without prototyping automated testing. More control over the testing system More security, company not wanting to hand their product over an outside business.

8 Flaws of Selenium Grid Maintenance, whenever there are upgrades to browsers it usually coincides with updates to selenium and the appropriate drivers. - Upgrading takes time and can be an inconvenience Bare bones, the nicer features aren’t there to begin with and may need some developer help to get them (e.g. Screenshot on fail). Whereas SauceLabs offers screenshots and video. May be better hardware options to test on, using Selenium Grid is a lot more restrictive. Note1: Can’t comment on other packages, as haven’t used or investigated them. Note2: Selenium adds much better screenshot handling, so this is a bad example.

9 Any Questions? Feel free to approach me afterwards, or me at

10 References Kraken Picture: Batman Picture: Not a reference per say, but a great resource for selenium and selenium grid. Elemental Selenium


Download ppt "Digital Instinct - Selenium Monkey Test Analyst By David Williams"

Similar presentations


Ads by Google