Submit Search
Upload
Selenium, testNG , Selenium Grid & Best Practices
•
Download as PPT, PDF
•
2 likes
•
2,127 views
M
MathildeLemee
Follow
Slideshow view
Report
Share
Slideshow view
Report
Share
1 of 21
Download now
Recommended
The Selenium Grid unleashes the full power of Selenium to run multiple automated tests in parallel across multiple platforms. Brian Long demonstrates the use of an open-source framework developed at Virginia Tech to get up and running with a Selenium Grid in about an hour. He begins by discussing the Selenium Grid configuration and then progresses to the installation of the framework. Starting with a clean Selenium installation, Brian uses Git to retrieve and install the open-source Selenium Grid framework, then Maven to build it using the Java JDK. Working from the instructions in the open-source Selenium-Grid-setup project, Brian configures a hub and a node on separate machines. After demonstrating the working grid by running a simple test on the remote nodes, Brian continues with how to use the Selenium IDE to generate tests and integrate them into the Grid by extending the open-source code. Note: There will be some programming!
The Selenium Grid: Run Multiple Automated Tests in Parallel
The Selenium Grid: Run Multiple Automated Tests in Parallel
Josiah Renaudin
Enterprise Build And Test In The Cloud ApacheCon EU 2009 Amsterdam http://www.carlossanchez.eu Building and testing software can be a time and resource consuming task. Cloud computing / on demand services like Amazon EC2 allow a cost-effective way to scale applications, and applied to building and testing software can reduce the time needed to find and correct problems, meaning a reduction also in time and costs. Properly configuring your build tools (Maven, Ant,...), continuous integration servers (Continuum, Cruise Control,...), and testing tools (TestNG, Selenium,...) can allow you to run all the build/testing process in a cloud environment, simulating high load environments, distributing long running tests to reduce their execution time, using different environments for client or server applications,... and in the case of on-demand services like Amazon EC2, pay only for the time you use it. In this presentation we will introduce a development process and architecture using popular open source tools for the build and test process such as Apache Maven or Ant for building, Apache Continuum as continuous integration server, TestNG and Selenium for testing, and how to configure them to achieve the best results and performance in several typical use cases (long running testing processes, different client platforms,...) by using he Amazon Elastic Computing Cloud EC2, and therefore reducing time and costs compared to other solutions.
Enterprise Build And Test In The Cloud
Enterprise Build And Test In The Cloud
Carlos Sanchez
** Watch Dave's full session recording here: https://youtu.be/IjGDxXCaDnE ** So you've written your fair share of Selenium tests. Perhaps you've dabbled with Page Objects, Wait Strategies (aka Implicit and/or Explicit Waits), and you feel confident about your locators. Your test code might be in pretty good shape -- able to work reliably as time marches on and the application under test continues to evolve and your testing needs continue grow with it. But how do you *know*? It's not like there is a quantitative way to measure this. Or is there? Watch Selenium expert Dave Haeffner as he steps through the core tenets of good test and page object design, locators, and a repeatable and quantitative approach for assessing your test code. When you're done, you'll be able to see how your tests and page objects stack up, and what changes are needed to help them stand the test of time.
Dave Haeffner's Proven Method to Grading the Quality of Selenium Tests
Dave Haeffner's Proven Method to Grading the Quality of Selenium Tests
Applitools
Want to run your tests fast, in multiple threads, different browsers and operation systems? Selenium Grid is for you. Do you have complex UI components? How to run Sikuli image recognition with Selenium tests on the grid? check http://sterodium.io/
Meet the Selenium Grid
Meet the Selenium Grid
Alexey Nikolaenko
How to keep your selenium grid stable and easy to maintain.
Selenium-Grid-Extras
Selenium-Grid-Extras
Shawn McCarthy
A presentation I gave for Boston Selenium User Meetup Group on Selenium Grid. Jan. 25, 2011
Selenium Grid
Selenium Grid
nirvdrum
A presentation given at 2014 Selenium Conference in Bangalore talks about common steps to help set up and manage a Selenium Grid environment.
Scaling and Managing Selenium Grid
Scaling and Managing Selenium Grid
dimakovalenko
Test unitaire
Test unitaire
Guillaume Ehret
Recommended
The Selenium Grid unleashes the full power of Selenium to run multiple automated tests in parallel across multiple platforms. Brian Long demonstrates the use of an open-source framework developed at Virginia Tech to get up and running with a Selenium Grid in about an hour. He begins by discussing the Selenium Grid configuration and then progresses to the installation of the framework. Starting with a clean Selenium installation, Brian uses Git to retrieve and install the open-source Selenium Grid framework, then Maven to build it using the Java JDK. Working from the instructions in the open-source Selenium-Grid-setup project, Brian configures a hub and a node on separate machines. After demonstrating the working grid by running a simple test on the remote nodes, Brian continues with how to use the Selenium IDE to generate tests and integrate them into the Grid by extending the open-source code. Note: There will be some programming!
The Selenium Grid: Run Multiple Automated Tests in Parallel
The Selenium Grid: Run Multiple Automated Tests in Parallel
Josiah Renaudin
Enterprise Build And Test In The Cloud ApacheCon EU 2009 Amsterdam http://www.carlossanchez.eu Building and testing software can be a time and resource consuming task. Cloud computing / on demand services like Amazon EC2 allow a cost-effective way to scale applications, and applied to building and testing software can reduce the time needed to find and correct problems, meaning a reduction also in time and costs. Properly configuring your build tools (Maven, Ant,...), continuous integration servers (Continuum, Cruise Control,...), and testing tools (TestNG, Selenium,...) can allow you to run all the build/testing process in a cloud environment, simulating high load environments, distributing long running tests to reduce their execution time, using different environments for client or server applications,... and in the case of on-demand services like Amazon EC2, pay only for the time you use it. In this presentation we will introduce a development process and architecture using popular open source tools for the build and test process such as Apache Maven or Ant for building, Apache Continuum as continuous integration server, TestNG and Selenium for testing, and how to configure them to achieve the best results and performance in several typical use cases (long running testing processes, different client platforms,...) by using he Amazon Elastic Computing Cloud EC2, and therefore reducing time and costs compared to other solutions.
Enterprise Build And Test In The Cloud
Enterprise Build And Test In The Cloud
Carlos Sanchez
** Watch Dave's full session recording here: https://youtu.be/IjGDxXCaDnE ** So you've written your fair share of Selenium tests. Perhaps you've dabbled with Page Objects, Wait Strategies (aka Implicit and/or Explicit Waits), and you feel confident about your locators. Your test code might be in pretty good shape -- able to work reliably as time marches on and the application under test continues to evolve and your testing needs continue grow with it. But how do you *know*? It's not like there is a quantitative way to measure this. Or is there? Watch Selenium expert Dave Haeffner as he steps through the core tenets of good test and page object design, locators, and a repeatable and quantitative approach for assessing your test code. When you're done, you'll be able to see how your tests and page objects stack up, and what changes are needed to help them stand the test of time.
Dave Haeffner's Proven Method to Grading the Quality of Selenium Tests
Dave Haeffner's Proven Method to Grading the Quality of Selenium Tests
Applitools
Want to run your tests fast, in multiple threads, different browsers and operation systems? Selenium Grid is for you. Do you have complex UI components? How to run Sikuli image recognition with Selenium tests on the grid? check http://sterodium.io/
Meet the Selenium Grid
Meet the Selenium Grid
Alexey Nikolaenko
How to keep your selenium grid stable and easy to maintain.
Selenium-Grid-Extras
Selenium-Grid-Extras
Shawn McCarthy
A presentation I gave for Boston Selenium User Meetup Group on Selenium Grid. Jan. 25, 2011
Selenium Grid
Selenium Grid
nirvdrum
A presentation given at 2014 Selenium Conference in Bangalore talks about common steps to help set up and manage a Selenium Grid environment.
Scaling and Managing Selenium Grid
Scaling and Managing Selenium Grid
dimakovalenko
Test unitaire
Test unitaire
Guillaume Ehret
Selenium web application testing system
20080923 04 - Selenium web application testing system
20080923 04 - Selenium web application testing system
LeClubQualiteLogicielle
ALT.Net Juin 2012 - Specflow
ALT.Net Juin 2012 - Specflow
Mathias Kluba
Rédigé en Mars 2013 Comment automatiser les tests ? Les différents types de tests automatisés : TU, BDD/TDD, GUI, TDC, Test de vie … Méthodes d’automatisation Capture/replay Projet de développement Techniques d’automatisation Data driven Keyword driven DSTL Composants technique pour l’automatisation Oracle Bouchon Techniques de comparaison Reporting
Automatisation des tests - objectifs et concepts - partie 2
Automatisation des tests - objectifs et concepts - partie 2
Christophe Rochefolle
Rédigé en Mars 2013 Introduction : ce que l’on va couvrir (et ne pas couvrir) Définition : Qu’est-ce que l’automatisation des tests ? Objectifs : Pourquoi automatiser ? Couverture : Qu’est-ce qu’on automatise ? Pre et Post Process Comment déterminer ce qu’on automatise ? Responsabilité : Qui fait quoi? ROI : Combien ça coute ? Infrastructure de test Processus d’automatisation Conclusion
Automatisation des tests - objectifs et concepts - partie 1
Automatisation des tests - objectifs et concepts - partie 1
Christophe Rochefolle
Test Driven Development (aka TDD) for agile teams
Test Driven Development (aka TDD) for agile teams
Test Driven Development (aka TDD) for agile teams
Thierry Gayet
Présentation sur mes suggestions de comment améliorer nos tests unitaires
7 astuces pour améliorer vos tests unitaires
7 astuces pour améliorer vos tests unitaires
Pascal Laurin
Prez imdg
Prez imdg
MathildeLemee
Cache
Cache
MathildeLemee
Exploratoire
Exploratoire
MathildeLemee
Would you like to automate your acceptance tests against multiple browsers and multiple servers? How about make your UI tests run faster? And remove the boilerplate on them? Browser automation tools to the rescue! In this session, I'll share how you can gain back development time by using FluentLenium, an open source Java wrapper around the Selenium API. We'll take a brief look at what is new in the UI testing javascript ecosystem and then I’ll share with you some rules for writing better UI tests.
Fluentlenium
Fluentlenium
MathildeLemee
Hands on Cache - Devoxx
Le Cache - Principes avancés - Devoxx
Le Cache - Principes avancés - Devoxx
MathildeLemee
Byteman
Byteman
MathildeLemee
FluentLenium
FluentLenium
MathildeLemee
Présentation à l'occasion des 3 ans du parisJUG
Indépendance
Indépendance
MathildeLemee
More Related Content
Similar to Selenium, testNG , Selenium Grid & Best Practices
Selenium web application testing system
20080923 04 - Selenium web application testing system
20080923 04 - Selenium web application testing system
LeClubQualiteLogicielle
ALT.Net Juin 2012 - Specflow
ALT.Net Juin 2012 - Specflow
Mathias Kluba
Rédigé en Mars 2013 Comment automatiser les tests ? Les différents types de tests automatisés : TU, BDD/TDD, GUI, TDC, Test de vie … Méthodes d’automatisation Capture/replay Projet de développement Techniques d’automatisation Data driven Keyword driven DSTL Composants technique pour l’automatisation Oracle Bouchon Techniques de comparaison Reporting
Automatisation des tests - objectifs et concepts - partie 2
Automatisation des tests - objectifs et concepts - partie 2
Christophe Rochefolle
Rédigé en Mars 2013 Introduction : ce que l’on va couvrir (et ne pas couvrir) Définition : Qu’est-ce que l’automatisation des tests ? Objectifs : Pourquoi automatiser ? Couverture : Qu’est-ce qu’on automatise ? Pre et Post Process Comment déterminer ce qu’on automatise ? Responsabilité : Qui fait quoi? ROI : Combien ça coute ? Infrastructure de test Processus d’automatisation Conclusion
Automatisation des tests - objectifs et concepts - partie 1
Automatisation des tests - objectifs et concepts - partie 1
Christophe Rochefolle
Test Driven Development (aka TDD) for agile teams
Test Driven Development (aka TDD) for agile teams
Test Driven Development (aka TDD) for agile teams
Thierry Gayet
Présentation sur mes suggestions de comment améliorer nos tests unitaires
7 astuces pour améliorer vos tests unitaires
7 astuces pour améliorer vos tests unitaires
Pascal Laurin
Similar to Selenium, testNG , Selenium Grid & Best Practices
(6)
20080923 04 - Selenium web application testing system
20080923 04 - Selenium web application testing system
ALT.Net Juin 2012 - Specflow
ALT.Net Juin 2012 - Specflow
Automatisation des tests - objectifs et concepts - partie 2
Automatisation des tests - objectifs et concepts - partie 2
Automatisation des tests - objectifs et concepts - partie 1
Automatisation des tests - objectifs et concepts - partie 1
Test Driven Development (aka TDD) for agile teams
Test Driven Development (aka TDD) for agile teams
7 astuces pour améliorer vos tests unitaires
7 astuces pour améliorer vos tests unitaires
More from MathildeLemee
Prez imdg
Prez imdg
MathildeLemee
Cache
Cache
MathildeLemee
Exploratoire
Exploratoire
MathildeLemee
Would you like to automate your acceptance tests against multiple browsers and multiple servers? How about make your UI tests run faster? And remove the boilerplate on them? Browser automation tools to the rescue! In this session, I'll share how you can gain back development time by using FluentLenium, an open source Java wrapper around the Selenium API. We'll take a brief look at what is new in the UI testing javascript ecosystem and then I’ll share with you some rules for writing better UI tests.
Fluentlenium
Fluentlenium
MathildeLemee
Hands on Cache - Devoxx
Le Cache - Principes avancés - Devoxx
Le Cache - Principes avancés - Devoxx
MathildeLemee
Byteman
Byteman
MathildeLemee
FluentLenium
FluentLenium
MathildeLemee
Présentation à l'occasion des 3 ans du parisJUG
Indépendance
Indépendance
MathildeLemee
More from MathildeLemee
(8)
Prez imdg
Prez imdg
Cache
Cache
Exploratoire
Exploratoire
Fluentlenium
Fluentlenium
Le Cache - Principes avancés - Devoxx
Le Cache - Principes avancés - Devoxx
Byteman
Byteman
FluentLenium
FluentLenium
Indépendance
Indépendance
Selenium, testNG , Selenium Grid & Best Practices
1.
Selenium, testNG et
Selenium Grid 1 by Mathilde Lemée @MathildeLemee
2.
Mathilde Lemée @MathildeLemee
3.
Pourquoi ?
4.
testNG enabled groups dependsOnGroups / dependsOnMethods invocationCount
/ threadPoolSize dataProvider / @Parameters expectedExceptions / expectedExceptionsMessageRegExp
5.
6.
#1. Ne pas
utiliser Selenium IDE
7.
#2. World >
XPath
8.
9.
#3. Utiliser le
pattern Page Object
10.
11.
12.
#4. Découpler le
test et les données
13.
#5. Un test
= une assertion
14.
#6. Conserver les
tests aussi propre que le code métier
15.
#7. Penser //
16.
#8. Construire des
tests atomiques
17.
#9. Ne pas
se limiter à l'UI
18.
#10. Industrialiser les
tests
19.
#11. Penser incrémental
20.
#12. Une histoire
de confiance
21.
Merci
@MathildeLemee Pour aller plus loin : http://www.fluentlenium.org
Download now