Working with WebADI, Error during macro run

in my project, I need to download webADI and need to add data in it. since there is a login screen, I can not use excel scope or workbook activity. I am using clicks and VBA code to copy-paste the data WebADI (uiAutomation). sometimes this webADI will throw an error while starting, I believe it is macro issue. sometime it will work properly. any solution for this one