This site requires JavaScript to be enabled


Dear Tricentis qTest users,

If you would like to submit a Tricentis qTest ticket,

please use this support request form.

Tosca Version
IncidentLookup using list
How can we help?

Solution Suggestions

Please enter your question to get suggestions.
Boolean Operators
OR or vertical bar symbol (|)
Finds a match if either the terms exist in a document (a union using sets).
Finds a match if both terms exist in a document (an intersection of sets).
NOT, minus (-), or exclamation point (!)
Excludes documents that contain the term after NOT (a difference of sets).
Asterisk (*)
The asterisk symbol performs a multi character wildcard search.
Percent sign (%)
The percent sign performs a single character wildcard search.
Quotation marks (")
Use quotation marks to search for an exact phrase with multiple terms.
For examples and more information look at our Knowledge Base: Advanced Search On The Support Portal

How to insert a random text in textarea and at the same time save that text in a Buffer?

in textarea i want to insert random text and save it in a Buffer to verify it later in another test steps.

0 0

Nikhil Dodke

Created: 2019-03-12 16:29:55


You can use RANDOMTEXT to enter any random text in the text area.

Syntax: {RANDOMTEXT[x]} - This will gnerate the random text of length x

To save it in buffer, you can copy the same test step (when you enter the text in text area) and use it to add the details to buffer for further verification.



Nikhil Dodke

2019-03-12 15:34:11

Refer the example below.

Youssef Alnablsi

2019-03-15 08:55:37

it didnt work.


then i got this result:

Tosca found the first Textarea but cant found the copied Textarea.

Youssef Alnablsi

2019-03-15 11:24:35

now it works.

but you need to edit the  cardinality parameter in the ModuleAttribute from 0-1 to 0-n.

in this case you can use it many times with no need to copy it.

check this article, point 13:


0 0

Jay French

Created: 2019-03-12 16:41:35

Within the TestStep, copy the control that you wish to input the RND and create a Buffer of. Place the copied control below the original.

Original control - Input text
Copy control - Buffer


In the image, i copied the FirstName control. Placed the copied control beneath the first.
Then inserts a RND value into the First - FirstName control and then created a buffer with the second.

Good luck. 

Youssef Alnablsi

2019-03-15 08:56:52

it didnt work.


then i got this result:

Tosca found the first Textarea but cant found the copied Textarea.

0 0

Andreas Windbichler

Created: 2019-03-13 07:52:03

You could also use a "TBox Set Buffer" step and fill a buffer with RANDOMTEXT, and then input the buffer into the Textbox.

BR Andreas

0 0

Youssef Alnablsi

Created: 2019-03-13 10:04:08

thank you all for your answers.

i will try them after we finish upgrading the Tosca server.


Tosca is the perfect solution

Optimize - Manage - Automate

Download Trial