How to set combobox

You can set combobox with one of three actions: “Set Combobox Index”, “Set Combobox Value”, “Set Combobox To Random”.


Set Combobox Index

It takes one integer parameter and sets combobox to value at that index.

This action works on all comboboxes, including custom one, so prefer it to others.

Internally it uses type action with arrows to achieve result.

For example, if you use “Set Combobox Index” with 3, it types “<HOME><DOWN><DOWN><DOWN><RETURN>”


Set Combobox Value

This function takes one string and set combobox value equal to that input value.

If combobox won't contain that value, combobox index will be set to last one.

In case if combobox don't contain default markup, this function won't work. In that case, use “Set Combobox Index” action instead.


Set Combobox To Random

Set combobox index to random value, won't work in case of non default combobox.


Setting Combobox with Type action

You can use type action to set combobox value. Just type option value on combobox element with <RETURN> at the end.



Next video shows how to set combobox with all 4 approaches: