Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara

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