All Good Things Come to Those Who Wait ... Dynamically Anatomy of Dynamic Waiting in Test Automation

Timetable

Wednesday 18th,

2:15 p.m. – 3:00 p.m.

Room

Talks (Track 2) – Indoor Hall

Session Type

25-minute Talk,

Beginner session

Audience

Anyone who directly or indirectly handles any type of Test Automation

Key-Learnings

  • Motivation for Dynamic Waiting with a Simple Non-Technical Analogy
  • The Wait Loop and Loop Control Variable for Dynamic Waiting
  • The Concept of Time-bound Polling
  • Demonstration of an Implementation of Dynamic Waiting (in Python)
  • Various Use Cases of Dynamic Waiting

Let's learn a Tool-Independent Architecture of Dynamic Waiting

In the past decade, more and more testers have started using terms like Implicitly waiting, Explicitly Waiting, Fluent Waiting etc. In my opinion this has been largely influenced by the popularity of Selenium WebDriver as these are named features related to waiting in this library. However, beyond recognising the names, these waiting functions are mostly used as "best practices" rather than fully appreciating the problem context. In implementations done by newbies, the waits are missing and in the implementations done by very experienced professionals, you can see them being used when they are made available and ignored at other places. This observation is based on review of tens of frameworks across different organisations, test automation layers and tools. All of them have ill-utilised/hardly utilised existing waits in libraries and mostly-absent dynamic waits for scenarios where read-made waits are not available. This talk is not a Selenium talk or a talk about waiting in Selenium and hence it is also not confined to the world of Web GUI test automation. Dynamic waiting is a generic and critical concept which needs to be understand by all testers from the ground up. This talk explores dynamic waiting from raw code and logic perspective. The talk aims to motivate the audience to use more and more of dynamic waiting independent of whether the library that they use makes this feature available or not. After all, all good things come to those wait dynamically.


More Related Sessions


  • Talk
  • Workshop
  • Bonus
  • Keynote
  • Social

25-minute Talk

11:45 a.m. – 12:30 p.m. Talks (Track 2) – Indoor Hall

105-minute Workshop

1:15 p.m. – 3:00 p.m. Workshops (Track 3) – Indoor "Machbar" Equipment required

25-minute Talk

2:30 p.m. – 3:15 p.m. Talks (Track 2) – Indoor Hall

25-minute Talk

10:45 a.m. – 11:30 a.m. Talks (Track 2) – Indoor Hall