From the course: Advanced Appium

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Waiting for app state: Theory

Waiting for app state: Theory - Appium Tutorial

From the course: Advanced Appium

Start my 1-month free trial

Waiting for app state: Theory

- [Instructor] I'd like to introduce the first technique I recommend for speeding up state setup. It's called the Test Nexus. The Test Nexus is basically a special initial application view that only gets loaded during app testing. The Test Nexus should never be shipped to customers, of course. The main idea is that on this one view are lots and lots of buttons. Each button takes you to a different place in the application. So rather than tapping through the app like a regular user, you can just tap one button and boom you've transported magically to a far away place in your app that might have taken a long time to get to if you were a regular user. The real value of the Test Nexus becomes clear when you realize that you can have buttons which not only take you somewhere new, but which also trigger various kinds of setup to happen for you automatically, that would normally take a lot of UI interaction. Imagine that…

Contents