@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.
Error every time I try to hit Record. - "SetProcessMitigationPolicy could not be located..."
-
Hello, I tried to use BAS for the first time in a while today and after I updated I can't seem to get into Record mode anymore. I tried reinstalling it on my server and even did a fresh install on a Windows 7 machine but I got the error in both places. As soon as I hit Record it will popup a message box that says "The procedure entry point SetProcessMitigationPolicy could not be located in the dynamic link library KERNEL32.dll.". If I click OK it will just pop back up a few seconds later. I've included a pic of the error for reference as well. Has anyone ran into this before or have any idea how to fix it? Thanks and have a great day/night!

-
@working88 said in Error every time I try to hit Record. - "SetProcessMitigationPolicy could not be located...":
Hello, I tried to use BAS for the first time in a while today and after I updated I can't seem to get into Record mode anymore. I tried reinstalling it on my server and even did a fresh install on a Windows 7 machine but I got the error in both places. As soon as I hit Record it will popup a message box that says "The procedure entry point SetProcessMitigationPolicy could not be located in the dynamic link library KERNEL32.dll.". If I click OK it will just pop back up a few seconds later. I've included a pic of the error for reference as well. Has anyone ran into this before or have any idea how to fix it? Thanks and have a great day/night!
BAS no longer supports Windows 7/8/8.1 and Windows Server 2012 and 2012 R2.
https://support.google.com/chrome/thread/185534985/sunsetting-support-for-windows-7-8-8-1-and-windows-server-2012-and-2012-r2-in-early-2023?hl=enhttps://community.bablosoft.com/topic/23893/browserautomationstudio-25-5-0-has-been-released