Katalon - User credentials stored in AD

Hello All,

I’m new here :slight_smile: Thank you for letting me have access to this fantastic community.

I’ve already raised this question in the Katalon community, but was not able to get a solution from there. I thought it can’t harm putting the same question out here.

We have two experienced automated testers in the team, who concentrate on the web automation. I would like to focus on scripting desktop applications.

I’m a newbie to the Windows Recorder functionality in Katalon. I’m using Katalon Studio Enterprise, 8.5.5, Standalone, Build 208.

I successfully recorded and scripted the notepad.exe to begin with. No problem here and it is working fine. That means I have installed all pre-reqs correctly.

Now I would like to record one of our desktop applications (COTS with customisations).

The issue is, the Desktop app doesn’t require username and password. My credentials are stored in AD (Active Directory). When I double-click on the exe manually, it opens fine. When I try to record or play-back with Katalon it tells me “You are not a Sage (name of app) user.”

I’m sure we are not the only company, who uses AD. Going forward we will also have devices with AAD. Has someone found a solution to this yet?

I look forward to hearing from you.

Warm regards
Urs

1 Like

Maybe this can help:

Thank you for your reply.

I will have a look at it and let you know how I get on.

Have a good day.
Urs

Unfortunately, it didn’t work. This is specific when you use APIs. I’m using the windows recorders for desktop applications (not web).

But thank you anyway - I appreciate it.
Urs

I’m not overly familiar with Katalon but I’ve had lots of “fun” with Active Directory over the past couple of years.

It sounds like Katalon is running as a different windows user when it is executing the tests. There may be a configuration option so that you can change the user that it runs as. You could also check services.msc to see if there’s a service that it is using. One way to check is using Task Manager when it is running. Under the Processes (or Details?, I forget) tab you should be able to view processes by all users to see the account it is using.

If you find the Windows account that its using but can’t configure Katalon, can you add that windows account as a user in your software so it can log in?

It is worth noting that for our testing with Active Directory we setup our own AD server and have a “one way” trust from our main domain, meaning we can tinker all we want with accounts without needing to pester IT all the time.

1 Like

Hi Richard @oxygenaddict , Thanks for your reply. I’m glad I’m not the only one having “fun” with the Active Directory. The Task Manager was a good shout. It was in the “Details” tab. This has helped me a lot. Thank you and have a good day. Urs

1 Like