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.