cancel
Showing results for 
Search instead for 
Did you mean: 

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

narenthiran_a
Explorer
0 Kudos

Hi,

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 :

LoginSAPSuccessFa.pGenerateDocumentS.63__write_toggle.click()

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'){

LoginSAPSuccessFa.pGenerateDocumentS.o_item0.i(i).Click();

}

Thanks in Advance,

Narenthiran Annamalai.

Accepted Solutions (1)

Accepted Solutions (1)

eshita_mahajan
Employee
Employee
0 Kudos

Hi narenthiran.a ,

Please use the wait exists activity after clicking the toggle button. Refer the help documentation below:
https://help.sap.com/viewer/8ecea00c1f854fd0a433c4aef5da1ea2/Cloud/en-US/c3e0d65244f442b386b9869b18d...

Best Regards,

Eshita

narenthiran_a
Explorer
0 Kudos

Thanks for this detailed Document eshita.mahajan. It's helped us to resolve the issue.

Answers (1)

Answers (1)

eshita_mahajan
Employee
Employee
0 Kudos

Hi narenthiran.a ,

Please confirm which version of IRPA are you using. Is it Desktop Studio or Cloud Studio?

Regards,

Eshita

narenthiran_a
Explorer
0 Kudos

Hello Eshita,

I'm using Desktop studio with the version of 2.0.18.63