WebdriverUniversity.com (New Approach To Learning)

My Courses & Promo Codes

50%+ Discount Code automatically applied Valid until 28/03/2023.

Cypress with Cucumber BDD - Beginner to Expert in 9 Hours!

The Complete Cypress v12 Course: From Zero to Expert! [2023]

The Complete WebdriverIO Course: From Zero to Expert! [2023]

Selenium Webdriver 4 New Features In Detail

2023 - Mastering Selectors/ Locators for Automation Testing!

Selenium WebDriver 4, Cucumber BDD, Java & More! [NEW: 2023]

CONTACT US

Contact Us Form

Need to perfect your Webdriver Cucumber skills? BDD also referred to as ‘Behaviour Driven Development’ is a great way to test and simulate different user scenarios, for example what happens if you try to use the following contact us form (Click the button to access the challenge) to simulate user(s) inputting different types of data or how about attempting to simulate a user submitting information to the form using an email address in the incorrect ‘Mandatory’ format?

LOGIN PORTAL

Login Portal

Are you really an actually user of webdriveruniversity.com? Do you really have a valid username and password? Cucumber enables us to validate multiple sets of username(s) and password(s) with ease by using scenarios outlines and examples! Give the challenge a try!

BUTTON CLICKS

WebElement Click, JavaScript Click, Actions Move & Click!

Simulating various types of user click(s) can be a very tricky task within Selenium Webdriver, there are many types of clicks available and it’s also important to learn and test for yourselves the importance of each type of click. Why not attempt the challenge that awaits, can you perform all the required webdriver clicks?

TO DO LIST

Task1 [ ] - Task2 [ ] - Task3 [ ] - Task4 [ ] - Task5 [ ]

Have you perfected the craft of combining multiple user actions in one? The following ‘To Do List’ can be a tricky one! Luckily Selenium webdriver comes packed within many types of features and libraries which can be very useful! Ready to attempt this challenge? Can you use Selenium Webdrivers bespoke send keys method to add to the existing list? Or even delete an existing item from the list?

PAGE OBJECT MODEL

Design a robust framework which is maintainable and reusable!

Page object model (POM) is a fantastic design pattern which can be used to construct the architecture of your framework(s); enabling the developer to replicate specific pages of a given website. Pages can be modelled into unique classes (Java classes…) in the process enabling test framework(s) to become more maintainable, flexible and reusable. Can you use the concepts of Page Object Modelling to model the pages of the website in this challenge?

ACCORDION & TEXT AFFECTS (APPEAR & DISAPPEAR)

Click on one of the accordion panels! Do you see any text?

Accordions are great way to toggle between hiding and showing large amount of content; waiting for specific items to appear such as text can be quite tricky! I suggest practising wait commands here!

DROPDOWN, CHECKBOXE(S) & RADIO BUTTON(S)

The choice is yours!

Dropdown lists, check boxes and radio button are very common across websites now days and there are a wide range of options to select from. Try to handle each of the options listed within the challenge that awaits, it’s important to practise, practise and practise in order to home your selenium webdriver skills.

AJAX LOADER

Wait..... for the Ajax Loader

Webdriver waits can be a very very tricky task to understand let alone attempt to implement! All automation testers must perfect the craft of webdriver waits! It’s not only important to implement the code required to practise the necessary waits, it’s essential that you also understand the different types of waits which are available. The following challenge will present an Ajax load screen however are you callable of implementing webdriver wait(s) to click on the button which will appear once the Ajax loader vanishes?

ACTIONS

Can you really handle this challenge?

The webdriver actions class enables the developer to perform a wide range of distinct user actions whether it’s trying to perform double click(s), click and hold(s) or even attempting to drag and drop a specific element(s), have fun with the following challenge! I know I would 😊

SCROLLING AROUND

Scrolling Around...

Sometimes we need to scroll to a specific element on a webpage before we conduct specific actions to that element. Let’s say the developer needs to simulate a user click but the element is positioned at the bottom of the page? Luckily for us we can use custom JavaScript code to scroll too specific coordinates of a page or even scroll directly to a specific element which is in an awkward position of a website.

POPUP & ALERTS

Close those annoying Popup & Alerts!

At times Popup and alerts can be quite annoying especially when they can impact the results of your automation test scripts. There are various types of popups and alerts which are present such as ‘JavaScript’ alerts or even ‘Modal’ popups. Once you understand the way to handle such popups and alerts the process can be straight forward! provided you keep practising 😊

IFRAME

Practise with inline frame(s)

An inline frame is used to embed another document within the current HTML document, if the developer has no knowledge of ‘IFrame(s)’ or doesn’t know how to handle them correctly it can be quite frustrating. To handle IFrames we need to use bespoke code which in turn will enable the developer to toggle between the main HTML page and the IFrame itself. Practise makes perfect, attempt the challenge for yourself, it fairly easy once you get the hang of it.

HIDDEN ELEMENTS

Practise with inline frame(s)

An inline frame is used to embed another document within the current HTML document, if the developer has no knowledge of ‘IFrame(s)’ or doesn’t know how to handle them correctly it can be quite frustrating. To handle IFrames we need to use bespoke code which in turn will enable the developer to toggle between the main HTML page and the IFrame itself. Practise makes perfect, attempt the challenge for yourself, it fairly easy once you get the hang of it.

DATA, TABLES & BUTTON STATES

Can you extract data to an Excel file?

Sometimes we may need to read or even write data from a website to an external file such as an Excel file / sheet. Apache POI is an open source piece of kit which comes bundled with Java libraries enabling the developer to more effortlessly read or write data from external sources. Experiment with the data tables, can you capture data from one of the tables and in turn write that data to an excel sheet?

AUTOCOMPLETE TEXTFIELD

Searching for something specific?

Often we are uncertain of what we are searching for! Using the enlisted suggested search textfield, you will be able to search for a specific product, based upon your search query.
For example:

  • Apple

  • Avocado

FILE UPLOAD

Need to upload a specific file?

Perform the following actions to practise your file uploading skills:

  • Choose a file.

  • Click on the 'Submit' button.

DATEPICKER

Datepicker

What date will you select?

  • Select a day.

  • Select a Month.

  • Select a Year.

Copyright © www.GianniBruno.com | Automationteststore