Triggering alerts on Slack along with screenshots in case of test case failure
One of the biggest limitations with most of the frameworks in selenium is that we need to wait till the end to get the final test case report. Only then we can raise the alert that a particular functionality is broken. By then, it may be too late! In addition to this, in most of the frameworks, the HTML report generated is hosted on our company's private network and we need to connect to the VPN if we are outside the office to open the report and check the related screenshots to see which test case has failed and why.
So, why not raise an alert as soon as the test case fails? And why not attach a screenshot along with that alert so that all the stakeholders can actually see what has failed in the application?
In this session, we will learn a simple yet a really useful way of sending an alert along with the failed test case screenshot by integrating slack with selenium which will help us alert all the stakeholders as soon as an automated test case fails so that everyone can react to it immediately and the damage will be minimised.
Outline/Structure of the Demonstration
- Defining the problem
- Presenting the solution
- Demonstrating the solution
- Discussing alternate use-cases
- Knowledge of Slack incoming web hook
- Knowledge of TestNG Listener class
- Integration of slack with selenium
- Multiple applications of this integration
Prerequisites for Attendees
Basic knowledge of Selenium
schedule Submitted 1 month ago
People who liked this proposal, also liked:
Khanh Do - Leveraging Artificial Intelligence to create self-healing testsKhanh DoQA ArchitectKobiton
schedule 1 month agoSold Out!
A key requirement for successful test automation is to get past the brittle or fragile nature of test scripts. Any Selenium (or Appium) developer has encountered the dreaded "NoSuchElement Exception". A locator that worked yesterday may fail today. What's a test engineer to do?
Fortunately the field of AI provides promising solutions and allows for the creation of self-healing tests. Tests that can find elements across all environments. Tests that can learn from "human-in-the-loop" intervention and work perfectly thereafter. Imagine automated tests that "just work"!
This session will look at how to apply the latest in AI and Machine Learning technologies to improve your test scripts. With the plethora of new open source AI libraries made available by companies such as Google, the ability to leverage AI in your applications is more accessible than ever.
This session will be a primer on AI technologies and how they can be utilized for perfect test automation.
Gaurav Singh - How to build an automation framework with selenium : patterns and practicesGaurav SinghProduct EngineerGo-Jek
schedule 4 weeks agoSold Out!
With an ever increasing no of businesses being conducted on web the testing need to write automated tests for the app's UI is something that can never be ignored. As you all know Selenium provides an API that enables us to do this quite effectively.
However, when tasked with setting up the automation framework, there are a lot of questions that arise in the minds of aspiring test developers regardless of what level they are in their career.
Some of such questions are:
- How does one actually go about the business of building a robust and effective automation framework on top of selenium?
- What are the elementary building blocks to include in the framework that an aspiring automation developer should know of?
- How should we model our tests? XUnit style vs BDD?
- Are their good practices, sensible design patterns and abstractions that we can follow in our code?
- What are some of the anti patterns/common mistakes we should avoid
A lot of literature, documentation and blogs exists on these topics on the web already.
However In this talk,
I would combine this existing knowledge and my years of experience in building automation frameworks and breakdown these elements and walk you through exactly the sort of decisions/considerations and practices that you can take while starting to implement or improve the UI automation for your team.
Hope to see you there!
Tomasz Wojciechowski / Tomasz Wojtuń - How to run 2500 selenium tests in an hour.Tomasz WojciechowskiSr. QA EngineerStepStone Services Sp.z o.o.Tomasz WojtuńDevOps EngineerStepStone
schedule 1 month agoSold Out!
If you are tired of waiting for your selenium tests status and old fasioned ways of reporting tests status, you are in a good place.
We will show you our test environment setup and how we run over 2500 tests in about an hour. Not cool enough? Take a look how we make reports via slack.
Do you want to check if we can be even more faster?