EmailMoudel requires to bind my own user/pwd.

Ask general questions here.
alexlosk
Posts: 9
Joined: Tue Oct 17, 2017 10:18 am

EmailMoudel requires to bind my own user/pwd.

Post by alexlosk » Mon Oct 01, 2018 10:57 am

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!
You do not have the required permissions to view the files attached to this post.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

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

Post by odklizec » Mon Oct 01, 2018 12:02 pm

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
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

alexlosk
Posts: 9
Joined: Tue Oct 17, 2017 10:18 am

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

Post by alexlosk » Tue Oct 02, 2018 8:32 am

thanks! that has solved my problem! :)
Regards