@givirus its because of your script logic, maybe you dont call the function? OR you dont have proper error handling which results into certain parts of your script being skipped since they are inside an if statement. I encountered this problem many times in the past, you will need to handle errors and it'll will be most likely fixed, for the purpose of debugging you can use the "Log" function at several points to see where it will print it.
Script in record mode working but not in working in thread mode
-
Hello
I need the masters mind tonight.
I have a script which connect on few bank accounts and download the operations from the beginning of the month to the date and print them on a secure computer everyday at 00:01 amThe script is working fine on record mode especially where it has to tick a case for selecting the account number.
But as soon i test it on thread mode, it can not find the case to tick.I have struggled few days but no way.
BAS version is 22.3.2 (please do not ask me to change version, why working on record mode and not working on the other)
-
@HNB said in Script in record mode working but not in working in thread mode:
BAS version is 22.3.2 (please do not ask me to change version, why working on record mode and not working on the other)
maybe 23.2.2?
-
@HNB said in Script in record mode working but not in working in thread mode:
@Fox
Thanks
it will take me nearly 1 week to rewrite the script in new version :(Why?
-
@HNB said in Script in record mode working but not in working in thread mode:
But as soon i test it on thread mode, it can not find the case to tick.
Add waiting for the element, most likely the page does not have time to load. (for the test, set the "sleep" action for 10 seconds)
-
@DoctorKrolic
Yes i have used it.