Coachingly | Selenium Part 05

$89
Cards Instant Access After Purchase 7-Day Money-Back Guarantee
Share this course

What You Will Learn

  • Pre-requisites to run Selenium Python tests
  • Selenium Python example: How to run your first test?
  • Navigate through HTML DOM Elements
  • Navigate through Windows and Frames
  • Work with Idle Time During a Test
  • How to integrate Selenium with Python Unit Tests?

Course Content

1 module 1 lesson 31m total duration

Module 01

Description

Work with Idle Time During a Test

While we have looked at various tests in static web applications, a single-page application may require you to wait for a specific time until you act.

There are two types of waits in Selenium: implicit and explicit waits.

  • An explicit wait makes your driver wait for a specific action to be completed (like content load using AJAX).
  • An implicit wait makes the driver wait for a particular time.

For an explicit wait, you need to use a try-finally block because it can potentially make your test stuck in the worst-case scenario. Essentially, you instruct the driver to wait for a certain element for a specified time before letting go

Reviews

Work with Idle Time During a Test

While we have looked at various tests in static web applications, a single-page application may require you to wait for a specific time until you act.

There are two types of waits in Selenium: implicit and explicit waits.

  • An explicit wait makes your driver wait for a specific action to be completed (like content load using AJAX).
  • An implicit wait makes the driver wait for a particular time.

For an explicit wait, you need to use a try-finally block because it can potentially make your test stuck in the worst-case scenario. Essentially, you instruct the driver to wait for a certain element for a specified time before letting go

About Coach

MICJUTT Coach1

IT Support
10 Courses
3.2 (3 Reviews)

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

Read More

More Courses by MICJUTT Coach1

More Courses By This Teacher

View All
Testing Errors Course Detail
Testing Errors

test yes test yes test yes test yes test yes test yes test yes test yes test yes test yes

View
Shopify Course Part 02 Course Detail
Shopify Course Part 02

Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

View

About Teacher

MICJUTT Coach1

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

Read More