Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

View previous topic View next topic Go down

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

Post by JohnSnow on 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)

JohnSnow
Active particpant
Active particpant

Posts : 13
Join date : 2017-03-23

Back to top Go down

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

Post by JohnSnow on 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!

JohnSnow
Active particpant
Active particpant

Posts : 13
Join date : 2017-03-23

Back to top Go down

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

Post by JJ on 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!

JJ

Posts : 2
Join date : 2017-03-27
Age : 32
Location : India

Back to top Go down

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

Post by JohnSnow on 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!

JohnSnow
Active particpant
Active particpant

Posts : 13
Join date : 2017-03-23

Back to top Go down

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

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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