Skip to Content
Feb 03, 2022 at 01:57 PM

how to make wait or delay after Clicking the Toggle Button in SAP IRPA?

214 Views Last edit Feb 04, 2022 at 06:47 AM 2 rev


I'm trying to select the drop down items after clicking the Toggle Button but here we got an "Error". after Clicking the Toggle button step it need to wait for sometime to get the dropdown items count. if it is not happen in the sense we can't able to get the Dropdown items Count , with out getting count we are not able to proceed our Process Further.

Please refer below code and ScreenShot. for reference.


Code we used :

var count = LoginSAPSuccessFa.pGenerateDocumentS.o_item0.count();

for(var i=0;i<count;i++){

var user = LoginSAPSuccessFa.pGenerateDocumentS.o_item0.i(i).get();

if(user == 'Custom Text'){



Thanks in Advance,

Narenthiran Annamalai.