Support for the Click & Script protocols will be discontinued in an upcoming version.


Emulates a user reordering elements in a list.

Example: ajax_reorderlist Alphabetical Listing
int ajax_reorderlist( "stepname", DESCRIPTION, "Framework=framework name", "ID=control_id", ACTION, "UserAction=Move", "oldIndex=old_index", "newIndex=new_index", LAST );

This function returns LR_PASS (0) on success or LR_FAIL (1) on failure. Note that LR_PASS and LR_FAIL generally indicate whether the function call completed without an exception, and not that the test step succeeded.

All input string arguments (char type) except the step name can be parameterized using standard parameterization.

General Information

The function ajax_reorderlist emulates the user moving an element from one place to another within the list.