Need help with Handling Google 2FA in Katalon Studio & Script Portability Across Users

Hi Katalon Community,

I’m working on some automated regression tests using Katalon Studio and ran into a couple of questions I could need help with:

1. How do you handle Google’s 2-Factor Authentication (2FA) in test scripts?

Since Google enforces 2FA during login, it interrupts the automated flow. Is there a recommended way to either bypass or pause the script for manual intervention at this point, and then resume execution? I understand handling 2FA programmatically can be tricky due to security reasons, but any best practices or workarounds would be appreciated.

2. Script portability across different users:

If we create a Katalon regression test suite and hand it off to the QA team, will it run on their machines without issues? Are there specific things we need to configure (e.g., project paths, user profiles, environment settings) to ensure the scripts work seamlessly for other users?

Thanks in advance for your guidance!

1 Like

I found the following article by the Selenium project

So, you should avoid automating 2FA.

1 Like