selenium. going beyond the possible

Post on 17-Jun-2015

121 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

About us

Speakers

Alexandr ShikalovLiliya Zdanevich

We will make…

… your life better!

Selenium weakness

OS native windows

Basic Authorizationwindows

Absence of fields content

Angular JS

Scrolling

OS native windows

basic authorization,

browse file

Some of them:

Gem Winole

Win API

awt.Robot

Absence of fields content for dynamic elements

Realization on:

Java Script

Scrolling:window and content

Java Script

Realization on:

Angular JS

Java Script

Realization on:

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>

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

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>

Jenkins with BDD

We use Jenkins for visualization of our approaches.

Demonstration of builds

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.

Question time

top related