Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
JohnSnow
Active particpant
Active 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 Empty 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


Last edited by JohnSnow on Fri Mar 31, 2017 9:01 pm; edited 2 times in total (Reason for editing : typo)
avatar
JohnSnow
Active particpant
Active 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 Empty 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!
avatar
JJ
Posts : 2
Join date : 2017-03-27
Age : 39
Location : India

How can I create multi-threads application in which each thread have its own WebDriver to do its tasks Empty 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!
avatar
JohnSnow
Active particpant
Active 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 Empty 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
JJ wrote:Hi JohnSnow,

You can run parallel test execution using TestNG framework based if scripting language is Java.

Thanks!
I am coding C# language not Java. Anyway thank you for your support!
Sponsored content

How can I create multi-threads application in which each thread have its own WebDriver to do its tasks Empty Re: How can I create multi-threads application in which each thread have its own WebDriver to do its tasks

Back to top
Permissions in this forum:
You cannot reply to topics in this forum