BL_AKN's avatar
Regular Visitor
3 years ago
New Idea

Setting CBT credentials programatically

I am running my web tests using the CrossBrowserTesting (CBT) platform. This is working fine. But I would like to specify the CBT credentials differently than via the project properties.

At the moment, I set the CBT credentials in the project properties as described here:

The problem is that the project's mds file will be put into our source code management system, which means that everyone could see my user name and password/authkey. Anyone could run the tests in my name, which is not what we want. It is also cumbersome to remove the info everytime before the file is being committed to SCM.

My idea: Provide an alternative option to specify the CBT credentials during runtime (e.g. by reading the info from a secrets file in the test script) for example by referring to project variables.

No CommentsBe the first to comment