Hi - please help with an issue I am having creating a dynamic selector.
I am using a website that contains a clipboard icon but has many clipboard icons on screen and therefore a general selector will fail given there are multiple options. I therefore need a Strict Selector but for it to be dynamic usings the idx to select the correct one. I have created a strict selector :
When I run this I get the following error once the workflow gets to that stage. It does not throw an error on compiling.
The error message is : Click Copy To Clipboard: Expression Activity type ‘VisualBasicValue`1’ requires compilation in order to run. Please ensure that the workflow has been compiled.
It’s worth noting that I have confirmed the variable idx variable is correct at the time of this part of the workflow coming in to play. If I replace the variable with the number 8 the workflow runs as expected for that particular part of the process and selects the correct icon.
I have used the Analyze Project and nothing relevant is highlighted.
Has someone seen this before? Other topics asking about this error do not solve the issue.
I now have the workflow running in attended and unattended modes. Annoying though I’ve just attempted to run it unattended for the second time after leaving my computer for about 10 minutes, screen will be off but laptop is NOT in sleep.
I get this error immediately on attempting to run the process -
Set To Clipboard: One or more errors occurred. (Error HRESULT E_FAIL has been returned from a call to a COM component.) (Error HRESULT E_FAIL has been returned from a call to a COM component.) (Error HRESULT E_FAIL has been returned from a call to a COM component.)
Any ideas while it’s failing? Is it to do with the screen not being on?