selenium. going beyond the possible

14

Upload: liliya-zdanevich-malofeeva

Post on 17-Jun-2015

121 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Selenium. going beyond the possible
Page 2: Selenium. going beyond the possible

About us

Speakers

Alexandr ShikalovLiliya Zdanevich

Page 3: Selenium. going beyond the possible

We will make…

… your life better!

Page 4: Selenium. going beyond the possible

Selenium weakness

OS native windows

Basic Authorizationwindows

Absence of fields content

Angular JS

Scrolling

Page 5: Selenium. going beyond the possible

OS native windows

basic authorization,

browse file

Some of them:

Gem Winole

Win API

awt.Robot

Page 6: Selenium. going beyond the possible

Absence of fields content for dynamic elements

Realization on:

Java Script

Page 7: Selenium. going beyond the possible

Scrolling:window and content

Java Script

Realization on:

Page 8: Selenium. going beyond the possible

Angular JS

Java Script

Realization on:

Page 9: Selenium. going beyond the possible

Parallel running (Java)

The solution is based on Cucumber BDD framework with Selenium WebDriver. Setup parallel running using maven-surefire-plugin.

<plugin><groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-surefire-plugin</artifactId> <version>2.15</version>

<configuration> <parallel>classes</parallel> <threadCount>3</threadCount>

</configuration></plugin>

Page 10: Selenium. going beyond the possible

Parallel running (Ruby)

The solution is based on gem Parallel and on Cucumber BDD framework with Selenium.

Configuration of parallel running in cucumber.ymlparallel: --no-source --color --format html --out report<%=ENV['TEST_ENV_NUMBER']%>.html

Page 11: Selenium. going beyond the possible

Parallel running (C#)

The solution is based on MSTest configuration for parallel running in combination with StoryQ BDD framework and Selenium WebDriver.

<TestSettings name=“SeleniumTests"…<Execution parallelTestCount=“4"> <TestTypeSpecific /> <AgentRule name="Execution Agents"> </AgentRule> </Execution></TestSettings>

Page 12: Selenium. going beyond the possible

Jenkins with BDD

We use Jenkins for visualization of our approaches.

Demonstration of builds

Page 13: Selenium. going beyond the possible

As a result

As result, you can use our approaches and solutions in automation tests for any browsers and platforms. It allows you create independent tests that could be run in parallel mode without problems.

Also, it will have friendly visualization using BDD frameworks.

Page 14: Selenium. going beyond the possible

Question time