Dynamic Buttons 04 - Instructions
Buttons will be replaced by new buttons automatically. Clicks are tracked. You can amend the number of milliseconds between each button refresh.
Functionality
This page has dynamic buttons. They are re-created automatically every X milliseconds, where the number of milliseconds is configurable using the intput field.
If you find the button and click it then it should work if you click fast enough.
Hidden Functionality
- There is a javascript variable
showIdInButtonwhich is set tofalseby default.- Amend this to
trueto see the numeric id of the button in the button text.
- Amend this to
- The millisecond refresh is controlled by a global variable
millisChange
Exploratory Testing Exercise Suggestions
- does the input field work effectively?
- what happens when the refresh time gets low?
- use the console to interact with the global variables
showIdInButtonandmillisChange
Automating Exercise Suggestions
- try to click the button every time that it is changed
- automate amending the refresh time
- can you click faster than the human?
- what is the lowest refresh time you can automate against?
- amend the
showIdInButtonusing your tooling - use the global variable
millisChangeto amend the time - use this page to see what your tool does if you find an element, then the element is replaced, and you click on it