0

I'm trying to find a way to run a test with different arguments through command line. to be more specific- I want to send different login credentials every time I'm calling-

$ protractor conf.js

maybe something like

$ protractor conf.js username,password

I know that I can use the configuration file, but it is also hardcoded.

thanks!

user2880391
  • 2,683
  • 7
  • 38
  • 77
  • possible duplicate of [How can I use command line arguments in Angularjs Protractor?](http://stackoverflow.com/questions/23135649/how-can-i-use-command-line-arguments-in-angularjs-protractor) – alecxe Jan 25 '15 at 15:39
  • yes, I wrote that I know that I can use the configuration file (which was the answer in the issue you have suggested) - but that's not what I'm looking for. – user2880391 Jan 25 '15 at 15:43
  • you're right, I'm sorry. it seems like that's a good solution. thanks. – user2880391 Jan 25 '15 at 20:13

0 Answers0