The Problem The standard TestNG / JUnit asserts are widely used in testing, however they are not flexible enough for functional tests in several cases. Possible Solutions This post and possible solution was inspired by a friend of mine (Robert Ambrus). Anyway, we looked at some common java open source libraries which have an active [...]
Olufemi Ade-Olusile
Menu In order for websites to provide good user experience, external links (links that take users to another website) are now designed to open in new tabs or windows. During testing, this behaviour is sometimes inevitable as we may have to deal with such links. Therefore, it is necessary that we understand how to handle new windows and [...]
Olufemi Ade-Olusile
Menu Next Topic In our previous posts, we covered topics on selenium frames, tables, forms, waits and text fields. Now, we will take a look at page scrolling. A lot of times, I often hear testers complain that they tried to click on a link or a button during their tests and they couldn’t. In most situations, they get error messages [...]
Olufemi Ade-Olusile
Menu Next Topic In this post we will be looking at how Selenium handles frames. A lot of webpages today, still use frames and frame sets, even though frame sets have been removed from the HTML 5 standard. Therefore, it is still necessary to understand how Selenium handles frames. One of the easiest ways to handle frames with Selenium [...]
Olufemi Ade-Olusile
Menu Next Topic In our previous posts, we covered topics on selenium tables, forms, waits and text fields. Now we will take a look at visibility conditions. Visibility conditions are necessary while running selenium tests, because they enable you check if an element is selected, displayed or enabled. For example, a tester may want to [...]
Olufemi Ade-Olusile
Menu Next Topic In this post, we will be using Selenium to loop through a table, by using the iterator design pattern to iterate over a collection of objects. Please ensure that you have covered my previous tutorial on Selenium IDE Quick Learning, which will give you a clear and easy introduction on how to locate complex Web Elements [...]
Olufemi Ade-Olusile
Menu Next Topic In our previous posts we learnt about inserting text into a text field, navigating (pages) to a URL and different Selenium waits . Moving ahead, we will take a look on how we can handle drop downs with Selenium. For this tutorial we will be using our sample test page. Drop Downs On our test page we have two drop downs. [...]
Olufemi Ade-Olusile
Menu Next Topic In this post, we will be looking at the most used “wait” conditions in Selenium. Waits can be used to help users troubleshoot issues that might be encountered while reloading, redirecting or refreshing a webpage. According to Selenium (2015), Waiting is having the automated task execution elapse a certain [...]
Olufemi Ade-Olusile
Menu Next Topic In this post we will begin our first selenium webdriver training. Our first test will be to validate the page title of the Test diary website. In our previous tutorials on selenium IDE, we performed a record and play back test on the Test diary contact page. Our second test will be to perform the same test with webdriver. [...]
Olufemi Ade-Olusile
Menu Next Topic This post will describe some of the basic webdriver commands we as testers use daily to perform actions on web applications. I call this my personal Selenium webdriver handbook, because i can always refer to commands i may have forgotten while writing my test. Over the years i have come across different commands and best [...]
Olufemi Ade-Olusile
Recent Comments