How to pass user credentials for a test run

Experiences, small talk, and other automation gossip.
BPfeiffer
Posts: 1
Joined: Wed Nov 02, 2022 10:12 am

How to pass user credentials for a test run

Post by BPfeiffer » Tue Nov 08, 2022 4:47 pm

We are testing a web application which has different behavior depending on the user credentials.
How can we provide these credentials when running a test case / test suite.
How can we do it, if test is run with an agent.

IvanF
Posts: 44
Joined: Thu Aug 11, 2022 8:55 pm

Re: How to pass user credentials for a test run

Post by IvanF » Wed Nov 09, 2022 5:33 pm

Hi, are the credentials provided to the application via the username/password UI fields or another method?

If UI fields, i assume you have the steps in your Ranorex script to enter that data. You could then assign the csv with username/password combinations to those steps based on the instructions from this article category - https://www.ranorex.com/help/latest/ran ... anagement/

If not UI fields, could you please share more details about how credentials are consumed?