Designing selenium webdriver scripts in an effective manner to reduce script rework and Reporting Dashboard
Automating a test scenario can be pretty easy once we get a hold of any tool. Designing hundreds of tests and making sure that the script rework involved for each release is at minimum, takes a good level of experience. Collection of such good practices & the architecture for designing all your test scripts will be demonstrated.
To enable you start with selenium webdriver for your own project. Template which will quickly facilitate you to initiate scripting with some of our additional user defined libraries. Example, read/write to excel sheet and many other. Hands on practice for scripting test scenarios as per the automation architecture to ensure less maintenance of scripts.
We will also demonstrate how to handle reporting for hundreds of tests on real time basis for each test suite and hence making our stakeholders aware of the test results on real-time. Our code for this reporting dashboard will be available for the testing community on github.
Outline/structure of the Session
- Architecture diagram :: Quick walk-through to all items of good practices
- Low level/ High Level/ Utils
- Page Objects
- TestNG Annotations
- Our own user defined library
- Reporting parser & dashboard for real-time status
- Global Configuration file
- Multi-threading: Serial, Parallel, Distributed
- and so on...
- Hands on exercises covering the automation architecture features
- Brainstorm on what new designs can reduce test scripts maintenance
- Example: Self-Generating Test Artifacts for Selenium/Webdriver ~Marcus Merrell
- Selenium Webdriver Template: To kick-start scripting for any project
- Reporting Solution for 100's(N) of tests on real time basis for each test suites
- Interactive demonstration of good practices for Selenium Webdriver
- Hands on Exercise for designing automation architecture
- Selenium Webdriver Template: To kick-start scripting for any project (will be shared on Github for the community)
- Sample Project for learning & understanding automation architecture (will be available on Github for the community)
- Report Dashboard for real-time suite execution status (will be available on Github for the community)
- Great learning for beginners or intermediate test engineers/automators. Remember learning is always mutual
Test Engineers, Selenium Intermediate, Anyone with knowledge of programming knowledge on Core-JAVA
schedule Submitted 4 years ago
People who liked this proposal, also liked:
Isaac Murchie - Selenium in the palm of your hand: Appium and automated mobile testingIsaac MurchieSoftware DeveloperSauce Labs
schedule 4 years agoSold Out!
The mobile world is growing, and it has never been easier to test applications—native, web, or hybrid—using Appium, a free, open-source implementation of the Selenium protocol for automating mobile devices. I will show how Appium, which is in active development and recently shipped version 1.0, allows developers and testers to harness all the power of the native testing frameworks provided by the mobile device manufacturers, but within the context familiar to Selenium users.
Further, Appium provides a very good opportunity for looking at the challenges for a technology designed to automate web browsers as it moves into a new realm. I will discuss how functionality was repurposed for this new context, as well as the ways in which the protocol was extended and made more flexible in light of the the expanded use case.
As a case study in extended functionality, I will discuss the gesture API, which allows a standardized way to automate the sorts of advanced mutli-finger gestures used on modern mobile devices.