-2

I m using a single test method which I feed from a data provider which can access different sheets of an excel file I m using keyword driven framework

  • 1
    Your question is not at all clear. It is not wise to run multiple isntances of selenium on the same pc. It will cause hell lot of problems but if you intend to do so then, you create multiple instances of the same driver and handle the driver sessions. But if you can execute on multiple computers then i would suggest to use selenium grid. – Shamik Dec 13 '14 at 18:22

1 Answers1

0

You need a selenium grid. Selenium Grid allows you to have multiple slave and one host machine. So multiple instance can be kicked off at the same time. See this to start with the configuration.

Saifur
  • 16,081
  • 6
  • 49
  • 73
  • I want to run parallely in the same PC – Vaibhav Khandelwal Dec 13 '14 at 16:49
  • Instantiating more than one browser instances can probably be done but wouldn't be useful for testing. There is no way to control those tests on different browser instances of same. If test need to be run on different browsers but single instance of each that can be accomplished – Saifur Dec 13 '14 at 17:21
  • @saifur who gave you this information ? we run multiple isntances of same browser and control them with ease. – Shamik Dec 13 '14 at 18:19
  • @raynaya as I said this is from my knowledge. If you do that please provide the answer of this question so I can learn something as well. Thanks for mentioning it can be done – Saifur Dec 13 '14 at 18:21
  • 1
    @saifur was your comment specific to ie ? In IE it is not wise to run multiple on the same machine. Otherwise afaik you just need to create separate driver objects and use them. They are not static instances they will work independently. See this http://stackoverflow.com/a/16383443/888070 as well – Shamik Dec 13 '14 at 18:35
  • @raynaya interesting information. But, my answer and as well as OP's question were specific to IE. However, it's a very good bit of information. Thanks for taking time to let me know if can be done – Saifur Dec 13 '14 at 18:38
  • 1
    @Saifur This can be done on IE as well i believe but it is afterall IE. – Shamik Dec 13 '14 at 18:40