Buffer Operations

The automation tools modules for buffer operations can store values in buffers.

TBox Set Buffer

Creates a buffer with a particular value or verifies the value of an existing buffer.

Value

Description

<Buffername>

Replace <Buffername> with the name of the Buffer.

To save a value to the buffer, enter the desired value into the Value column. Use action mode Input.

To verify the value of the buffer, enter the value in question into the Value column. Use action mode Verify.

TBox Name to Buffer

Buffers the name of the test case that uses the module.

Value

Description

Buffer

Name of the buffer to which you want to save the test case. Use action mode Input.

TBox Partial Buffer

Buffers parts of a value and verifies parts of a buffered value.

Value

Description

Buffer

Name of the buffer.

Value

Value you want to buffer or verify.

  • To buffer a value, use action mode Input.

    If you want to buffer a value of another buffer, enter the syntax that you use to read out buffered values in your test cases.

Start

Character index from which you want the system to start buffering or verifying the value.

End

Character index that ends the value you want to buffer or verify.

Last

Number of characters you want to buffer or verify, starting from the last character.

If you set this value, Tosca Cloud ignores the values Start and End.

TBox Delete Buffer

Removes individual or all existing buffers.

Value

Description

Buffer

Name of the buffer you want to delete. Use action mode Select.

You can delete buffers as follows:

  • To delete all existing buffers, leave this value empty or enter the wildcard character *.

  • To delete multiple buffers, use the wildcard character * to replace one or more characters in the buffer name.

TBox Iterate Array

When Tosca Cloud buffers a row or column of a table, it organizes that information into an array. The module TBox Iterate Array iterates a buffered array, such as a table row or column. TBox Iterate Array outputs each array element individually. For instance, you can buffer a column containing customer names and send each name individually to the system under test. Tosca Cloud sends each array element in sequential order.

Value

Description

Array to Iterate

Name of the buffer containing an array you want to iterate.

Target Buffer

Name of the buffer you want to receive the iterated ouput. Use action mode Input.

TBox Array Operation

You can use this module to run advanced operations with array elements of an existing buffer. Or you can use it to create an array from elements you manually define.

Value

Description

Array

Use the dynamic expression {B} to define which buffered array you want to run your operation on. Use action mode Select.

Content

Your use case determines what you need to do with Content.

Item

Use Item to specify index positions with one of the following values:

  • # <index position number>. Index positions start at 1.

  • #last to specify the last element in the array.