- JohnSnowActive particpant
- Posts : 13
Join date : 2017-03-23
How can I create multi-threads application in which each thread have its own WebDriver to do its tasks
Fri Mar 24, 2017 8:48 am
Hi all,
I am using Selenium ver 2.53.0, Firefox 46.0.1. I want to create an application that use Selenium WebDriver to do parallel tasks. I have created an app like that but:
My app opened 2 webdriver and its task was the same, not different task as I have assigned to each thread before. I wonder what was going on? Was there one-one connection between thread 1 - Webdriver 1 AND thread 2 - Webdriver 2 OR not? If not I suggest each thread was pushing its data to active Webdriver at that time. Am I right?
Hope to get any help from all of you, so I can solve my issue!
Thank you!
Best Regards
I am using Selenium ver 2.53.0, Firefox 46.0.1. I want to create an application that use Selenium WebDriver to do parallel tasks. I have created an app like that but:
My app opened 2 webdriver and its task was the same, not different task as I have assigned to each thread before. I wonder what was going on? Was there one-one connection between thread 1 - Webdriver 1 AND thread 2 - Webdriver 2 OR not? If not I suggest each thread was pushing its data to active Webdriver at that time. Am I right?
Hope to get any help from all of you, so I can solve my issue!
Thank you!
Best Regards
- JohnSnowActive particpant
- Posts : 13
Join date : 2017-03-23
Re: How can I create multi-threads application in which each thread have its own WebDriver to do its tasks
Sun Mar 26, 2017 9:23 pm
Anyone here can help me? At least suggest me some ideas, then I can get rid of my issue. Please I don't have much time for completing it!
- JJ
- Posts : 2
Join date : 2017-03-27
Age : 39
Location : India
Re: How can I create multi-threads application in which each thread have its own WebDriver to do its tasks
Mon Mar 27, 2017 1:57 pm
Hi JohnSnow,
You can run parallel test execution using TestNG framework based if scripting language is Java.
Thanks!
You can run parallel test execution using TestNG framework based if scripting language is Java.
Thanks!
- JohnSnowActive particpant
- Posts : 13
Join date : 2017-03-23
Re: How can I create multi-threads application in which each thread have its own WebDriver to do its tasks
Wed Mar 29, 2017 2:17 pm
I am coding C# language not Java. Anyway thank you for your support!JJ wrote:Hi JohnSnow,
You can run parallel test execution using TestNG framework based if scripting language is Java.
Thanks!
- Sponsored content
Permissions in this forum:
You cannot reply to topics in this forum