Click-to-Copy

Click-to-copy is a tool and syntax that allows text to be copied to the clipboard of the tester so that they can easily and accurately copy and paste specific text including static and variable data.

Here is text being formatted and what it looks like to the tester:

Add Click to Copy to my steps?

  1. While editing a step, highlight the text you wish to apply Click-to-Copy to.
  2. Click-to-Copy widget will appear. 
  3. Click the click-to-copy widget to put highlighted text inside the “[[copy()]]” syntax.  
  4. Click Save

Ex: To ensure an email is properly copied. Select the text - such as "myemail@address.com", selet the Click-to-Copy widget.  It will now be shown in the test step as "[[copy(myemail@address.com)]]"

Remove Click to Copy?

Delete all text in the [[copy()]] using your mouse and/or keyboard
Ex: highlight all "[[copy(myemail@address.com)]]", hit delete.  
You will need to re-enter or original value such as "myemail@address.com"

OR

Highlight all text in between the parenthesis in copy() and click the widget.
Ex: highlight "myemail@address,com" in "[[copy(myemail@address.com)]]", select the widget and the "[[copy( )]]" will be removed

NOTE: if you select "[[copy(myemail@address.com)]]" and then the Click-to-Copy widget it will apply Click to Copy to all of it. 

When should I use Click-to-Copy?

Best practice suggests you use Click-To-Copy anytime when you want to fully ensure accurate input of data.

  1. Make step variables easily copy-able by the testers
  2. Whenever you want testers to copy and paste text (typically into a text field or while filling out a form)

If you have any questions about step formatting, please let us know at support@rainforestqa.com!

Did this answer your question?