Question
Tech Mahindra Ltd
BE
Last activity: 11 Jul 2019 16:41 EDT
Handling multiple uncheck in web application
I am working on an automation in which i have to uncheck multiple checkbox. The activity can only be done one by one. There is no button to uncheck them all at once.
I am getting below error in some of the execution. Doesn't happen always.
"Unable to cast COM object of type 'mshtml.HTMLInputElementClass' to interface type 'mshtml.IHTMLInputElement'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3050F5D2-98B5-11CF-BB82-00AA00BDCE0B}' failed due to the following error: The application called an interface that was marshalled for a different thread. (Exception from HRESULT: 0x8001010E (RPC_E_WRONG_THREAD))."
I have attached the screenshot of automation. Can someone suggest for solution.
***Edited by Moderator: Lochan to update platform capability tags***