(Ranorex 6.2.1)
Scenario
A number of testers are working on the same test suite. Each tester has their own username and password to access the system under test. The test suite includes a Test Case to log into the system.
How can the test suite be shared among the testers, in such a way that the Log In test runs on each individual tester's machine, but that each user's password is kept private to that individual?
Thanks!
Sharing a test and hiding a password?
Re: Sharing a test and hiding a password?
Hi,
I'm afraid, there is no possibility to hide user names/passwords in test suite files. The only possibility I see is to not include the user credentials in the test suite at all and simply pass them via command line and global parameters connected to required test module variables. This way, nobody is able to read the credentials of other users from the Test Suite files (test modules or data connectors). Hope this helps?
I'm afraid, there is no possibility to hide user names/passwords in test suite files. The only possibility I see is to not include the user credentials in the test suite at all and simply pass them via command line and global parameters connected to required test module variables. This way, nobody is able to read the credentials of other users from the Test Suite files (test modules or data connectors). Hope this helps?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
Re: Sharing a test and hiding a password?
Still depending on the setup it might be visible. Lets take Jenkins for example where logs display this kind of info. Probably there are plugins to hide some data in logs.odklizec wrote:Hi,
I'm afraid, there is no possibility to hide user names/passwords in test suite files. The only possibility I see is to not include the user credentials in the test suite at all and simply pass them via command line and global parameters connected to required test module variables. This way, nobody is able to read the credentials of other users from the Test Suite files (test modules or data connectors). Hope this helps?
But locally using .bat files for example to run the tests will not have an issue.
Re: Sharing a test and hiding a password?
Hi Martin,
Of course, it's possible to hide user credentials (and other sensitive data) in Ranorex output (either log or report file). This can be done via Mask combo in Manage Data Sources dialog.
But I guess Fergal's problem is different. He just don't that members of the dev. team see each others credentials? And if they store them in data connectors/test modules, they are available to all people working with the test suite. In this case, the only solution is to not include credentials (and other sensitive data) to Test Suite.
Of course, it's possible to hide user credentials (and other sensitive data) in Ranorex output (either log or report file). This can be done via Mask combo in Manage Data Sources dialog.
But I guess Fergal's problem is different. He just don't that members of the dev. team see each others credentials? And if they store them in data connectors/test modules, they are available to all people working with the test suite. In this case, the only solution is to not include credentials (and other sensitive data) to Test Suite.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
-
- Certified Professional
- Posts: 455
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: Sharing a test and hiding a password?
Thanks for your replies.
Thanks again.
Will go with that approach for the moment and will try to get a testing account set up that can be used by all testers.odklizec wrote:...the only solution is to not include credentials (and other sensitive data) to Test Suite.
Thanks again.
Re: Sharing a test and hiding a password?
You should not be using real user's information in tests. You should have a (or a set of) test user(s) that have a known password, and that are only available in the test environment.
Again, real user data should not be used due to issue like what is happening here.
Again, real user data should not be used due to issue like what is happening here.
Shortcuts usually aren't...