Simulate Press Action
Last updated
Was this helpful?
Last updated
Was this helpful?
Simulate Press Action is an Avo Assure's action found under the Captured Button Element. It is used to simulate pressing buttons or keys. It is especially useful for testing if the system responds correctly when a user needs to hold down a mouse button—such as for dragging or holding an element—or when a normal click isn't effective in the application. The outcome of the action is saved as a boolean value (True/False) in the specified output variable.
Input: N/A
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
If a user needs to press the “Submit” button on a form, the “Simulate Press Action” helps by automatically clicking the button during testing. This makes sure the application works correctly and sends the form data, just like how a person would press the button themselves.
It should be click on the Submit button and store the result in output variable as True.
The result of the Simulate Press Action is stored in the {result} output variable as “True”, which can be utilized for display or other purposes.