Live mode recorder: generate meaningful commands using Click
While using live mode recorder, meaningful command (click / check / enter) would be generated based on type of clicked element.
If the user clicks on a button, it should generate click command.
If the user clicks on an edit field (textbox), it should generate
enter
command.If the user clicks on a label, it should generate validate command.
Example:
1. We can use the "Generate command and Execute" option, and when combining it with "Execute Input Automatically", it will generate a new random name, email or value depending on the type of input we're fulfilling.
Caption: Generate Command and Execute location.
Caption: Execute Input Automatically location.
Caption: Command result.
Caption: Image result.
2. In case we use "Let me modify input value", it will allow you to add a value before it's inserted in the text box:
Caption: 2nd option, Let me modify input value location.
Caption: Value to be entered.
Caption: Result of custom value.
Now, in case you use the "Variable" option, it will use a stored value to enter into the field. Make sure the stored value exists before to use it in Test Data section.
Caption: Value option.
Caption: Generated command using stored value.
3. And when we're using the "Always generate click command", it will just add a click with the location of the element you're clicking on.
Caption: Always generate click command location.
Caption: Result when using click command.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article