Note: This protocol is supported for replay only. Support for this protocol will be discontinued in future versions..

We recommend that you migrate your Ajax Click & Script scripts to another web protocol such as TruClient-Web or Web-HTTP/HTML.

For details, see Web Vuser Functions (WEB) and TruClient protocols in the VuGen Help Center (select the relevant version).

ajax_slider

Emulates setting a value using a slider control.

Example: ajax_sliderAlphabetical Listing
int ajax_slider( "stepname", DESCRIPTION, "Framework=framework name", "ID=control_id", ACTION, "UserAction=setValue", "Value=slider_value", 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_slider emulates the user choosing a value from a continuous range by moving an indicator. For example, if the number of the month is displayed as a horizontal slider, then the user moves the button until the correct month appears.