18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Dropdown list selection (multiple)
var $nItemsInDropdown = 0;
_set($nItemsInDropdown,_select("ddlUser").options.length);
for(var $y=0;$y<$nItemsInDropdown;$y++)
{
_setSelected(_select("ddlUser"), $y);
} This code is working but what to do when i have multiple Dropdown boxes where the other generates with respect to first selection.
_set($nItemsInDropdown,_select("ddlUser").options.length);
for(var $y=0;$y<$nItemsInDropdown;$y++)
{
_setSelected(_select("ddlUser"), $y);
} This code is working but what to do when i have multiple Dropdown boxes where the other generates with respect to first selection.