Assert Selenium | Selenium Automation in a right way!
717 FOLLOWERS
Manoj Kumar is a automated tester, selenium committer, organizer at selenium conference. Follow this blog to get in depth knowledge in selenium automation.
Assert Selenium | Selenium Automation in a right way!
3y ago
{EDIT: Friendly locators have been renamed as Relative Locators in Selenium}
Here is the first cut of Friendly locators
//Sample
driver.findElements(withTagName("p").above(lowest));
List<String> ids = elements.stream().map(e -> e.getAttribute("id")).collect(Collectors.toList());
//In Test
@Test
public void shouldBeAbleToCombineFilters() {
driver.get(appServer.whereIs("relative_locators.html"));
List<WebElement> seen = driver.findElements(withTagName("td").above(By.id("center")).toRightOf(By.id("second")));
List<String> ids = seen.stream().map(e -> e.ge ..read more
Assert Selenium | Selenium Automation in a right way!
3y ago
FlutterDriver => It Provides API to test Flutter applications that run on real devices and emulators. The application runs in a separate process from the test itself.
Its simply called as the Flutter’s version of Selenium Webdriver. If you know already Selenium getting started with FlutterDriver is easy.
If you want to know more about Flutter please check the official docs here. And More about Integration testing documentation on Driver Setup here.
You will need two test files to start with Flutter, let’s look at it now!
You need to add flutter_driver dependency.
dev_dependencies:
flutte ..read more
Assert Selenium | Selenium Automation in a right way!
3y ago
Recently, I got into a discussion over a coffee about distributed systems in Test Automation and then started to discuss parallelism, concurrency which lead down to the path on Threads, MultiThreaded solutions to Asynchronous and Synchronous way of tests or calls in programming.
Let’s look at them in brief!
Concurrency Vs Parallelism:
Concurrency: Two or more tasks can start, run and complete in overlapping time periods.
Parallelism: Two or more tasks started and executed at the same time.
Synchronous:
You wait for it to finish before moving on to another task
Asynchronous:
You ..read more
Assert Selenium | Selenium Automation in a right way!
3y ago
The moment of my life is what I can describe being in Stage with Simon doing my first ever Keynote.
Let’s dive to see what we announced as a part of new Selenium 4.
Firstly, Spec Adoption:
The Mozilla folks now mostly work in the geckodriver and Firefox.
Edge and Safari are both releasing W3C versions. Google are lined up too.
The Appium folks are supporting the new protocol (so not in Selenium tree)
WinAppDriver by MS allows desktop apps to be automated.
The language bindings are relatively stable, so not so many commits there.
WebDriver Spec Level 2:
Quite a few things to b ..read more
Assert Selenium | Selenium Automation in a right way!
3y ago
Photography! – The word that excites me, anyone who knows me shall agree and can easily relate to this post on the interest to explore this topic.
We are uniting the Photography world onto the Computer Vision to create some Computational Photography.
Computational Photography has and will revolutionize the world of Smart Phone camera and its just Mind-blowing when I started to look into it and try out some code to enhance the image.
Computational photography is all about enhancing and extending the possibilities of digital photography, where it uses hardware to capture the data and softw ..read more
Assert Selenium | Selenium Automation in a right way!
3y ago
Assert Selenium | Selenium Automation in a right way!
3y ago
Assert Selenium | Selenium Automation in a right way!
3y ago
Automated-Accessibility-Testing from Manoj Kumar Kumar ..read more
Assert Selenium | Selenium Automation in a right way!
3y ago
Selenium Grid – Kubernetes
Kubernetes is a platform for hosting Docker containers in a clustered environment with multiple Docker hosts. Kubernetes is a system for managing containerized applications across a cluster of nodes.
We shall be running a Kubernetes environment using Minikube for simplicity purpose.
Minikube runs a single-node Kubernetes cluster inside a VM on your laptop for users looking to try out Kubernetes.
Kubernetes 101
Pod: A group of containers
Labels: Labels for identifying pods
Kubelet: Container Agent
etcd: A metadata service
Proxy: A load balancer for pods
Replicat ..read more
Assert Selenium | Selenium Automation in a right way!
3y ago
I have been involved with the Selenium open source community since 2010 and started helping out with organizing conference since 2014 and in 2017, I have been given the commit bit for the Selenium repository in the GitHub.
Apparently, this was my first International conference being a speaker, usually, I just run a hands-on workshop – It was an Amazing experience this time.
Here is the video of my talk:
Here is the slides:
Async webdriverjs from Manoj Kumar Kumar ..read more