Page 1 of 1

EmailMoudel requires to bind my own user/pwd.

Posted: Mon Oct 01, 2018 10:57 am
by alexlosk
Hi everyone,

I have a test suite that I've been the only one in my team executing it. Now I want to make others to execute the suite and I have realized that I have setup the suite with my own credentials in the 'EmailModule' of the automation helpers.

So, if a mate runs the suite, it will works because he is using my username and pwd but in terms of security... I don't like it. And I dont want to make them change the password of the global parameter always they need to run the test.

- Screenshot is attached -

I don't know what to do and how to solve this issue? Is there any other way to face this problem? For now. I don't have any CI's configured in my computer and I need to do this through ranorex as temporary solution.

Regards!

Re: EmailMoudel requires to bind my own user/pwd.

Posted: Mon Oct 01, 2018 12:02 pm
by odklizec
Hi,

It seems you are using GlobalParameters to fill the variables with appropriate data? In this case, you can use command line parameters, to fill the GlobalParameters, like Username and Password.

Please read this user guide chapter:
https://www.ranorex.com/help/latest/ran ... earguments

Basically, you can use something like this:
test.exe /pa:Username=yourname /pa:Password=yourpassword
test.exe /pa:Username=colleaguesname /pa:Password=colleaguespassword

Re: EmailMoudel requires to bind my own user/pwd.

Posted: Tue Oct 02, 2018 8:32 am
by alexlosk
thanks! that has solved my problem! :)
Regards