vendredi 16 octobre 2015

Run the same suite 2 times with different params

Is there way to merge 2 commands into 1 command

  • protractor protractor.conf --suite create_buyer --params.buyerName=Buyer1
  • protractor protractor.conf --suite create_buyer --params.buyerName=Buyer2

like

  • protractor protractor.conf --suite create_buyer,create_buyer --params.suites[0].buyerName=Buyer1 --params.suites[1].buyerName=Buyer2

to make this commad work i need to know the current suite index is it possible? may there is better way!

Aucun commentaire:

Enregistrer un commentaire