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.
How to select multiple items from list
How to select multiple items from list
I have one list with contains Restricted, Performance etc...
For selecting one we are using following code:
_setSelected(_select("ltipTypeIds"), "Restricted");
for another one selecting, Iam writing same with another name but both are not selecting.
I am using like,
_setSelected(_select("ltipTypeIds"), "Restricted");
_setSelected(_select("ltipTypeIds"), "Performance");
Any body help me out....
I have one list with contains Restricted, Performance etc...
For selecting one we are using following code:
_setSelected(_select("ltipTypeIds"), "Restricted");
for another one selecting, Iam writing same with another name but both are not selecting.
I am using like,
_setSelected(_select("ltipTypeIds"), "Restricted");
_setSelected(_select("ltipTypeIds"), "Performance");
Any body help me out....
Comments
Try this:
_setSelected(_select("ltipTypeIds"), "Restricted");
_setSelected(_select("ltipTypeIds"), "Performance", true);
_setSelected(_select("ltipTypeIds"), "xyz", true);//if you want to select more options where "xyz" is one of the avaiable options
_setSelected(_select("ltipTypeIds"), "abc", true);
for further details see:
http://sahi.co.in/w/_setselected
Regards,
Pankaj.