TC.vtcRotateCell

Retrieves the first field from the specified column and moves the value to the bottom.

Equivalent method in VuGen: lrvtc_rotate_message

TC.vtcRotateCell(colName, option, vtsName);

Arguments

Name Description

colName

(string) The name of the column.
option

(integer) Defines how the values are rotated.

  • 1. Add as stack. Retrieve data from column, and move it to the last valid row at the bottom of the column.

  • 2. Add as unique stack. Retrieve data from column, and move it to the last valid row at the bottom of the column, if the data is unique in the column.

vtsName

(Optional)

(string) The alias of the VTS server.

Return value

(string) The first field from the column. If the column is empty, the value is an empty string.

Example

Copy code
TC.vtcRotateCell("MyColumn1", 1, "MyVts");