selenium. going beyond the possible
TRANSCRIPT
![Page 1: Selenium. going beyond the possible](https://reader033.vdocument.in/reader033/viewer/2022052904/55814c24d8b42ab9548b4862/html5/thumbnails/1.jpg)
![Page 2: Selenium. going beyond the possible](https://reader033.vdocument.in/reader033/viewer/2022052904/55814c24d8b42ab9548b4862/html5/thumbnails/2.jpg)
About us
Speakers
Alexandr ShikalovLiliya Zdanevich
![Page 3: Selenium. going beyond the possible](https://reader033.vdocument.in/reader033/viewer/2022052904/55814c24d8b42ab9548b4862/html5/thumbnails/3.jpg)
We will make…
… your life better!
![Page 4: Selenium. going beyond the possible](https://reader033.vdocument.in/reader033/viewer/2022052904/55814c24d8b42ab9548b4862/html5/thumbnails/4.jpg)
Selenium weakness
OS native windows
Basic Authorizationwindows
Absence of fields content
Angular JS
Scrolling
![Page 5: Selenium. going beyond the possible](https://reader033.vdocument.in/reader033/viewer/2022052904/55814c24d8b42ab9548b4862/html5/thumbnails/5.jpg)
OS native windows
basic authorization,
browse file
Some of them:
Gem Winole
Win API
awt.Robot
![Page 6: Selenium. going beyond the possible](https://reader033.vdocument.in/reader033/viewer/2022052904/55814c24d8b42ab9548b4862/html5/thumbnails/6.jpg)
Absence of fields content for dynamic elements
Realization on:
Java Script
![Page 7: Selenium. going beyond the possible](https://reader033.vdocument.in/reader033/viewer/2022052904/55814c24d8b42ab9548b4862/html5/thumbnails/7.jpg)
Scrolling:window and content
Java Script
Realization on:
![Page 8: Selenium. going beyond the possible](https://reader033.vdocument.in/reader033/viewer/2022052904/55814c24d8b42ab9548b4862/html5/thumbnails/8.jpg)
Angular JS
Java Script
Realization on:
![Page 9: Selenium. going beyond the possible](https://reader033.vdocument.in/reader033/viewer/2022052904/55814c24d8b42ab9548b4862/html5/thumbnails/9.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052904/55814c24d8b42ab9548b4862/html5/thumbnails/10.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052904/55814c24d8b42ab9548b4862/html5/thumbnails/11.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052904/55814c24d8b42ab9548b4862/html5/thumbnails/12.jpg)
Jenkins with BDD
We use Jenkins for visualization of our approaches.
Demonstration of builds
![Page 13: Selenium. going beyond the possible](https://reader033.vdocument.in/reader033/viewer/2022052904/55814c24d8b42ab9548b4862/html5/thumbnails/13.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052904/55814c24d8b42ab9548b4862/html5/thumbnails/14.jpg)
Question time