Running Selenium WebDriver test in parallel with NUnit3 -


i using parallelizable attribute of nunit3 run selenium webdriver tests, test running sequential. number of worker default 4 machine. have 2 fixtures below:

    [testfixture]     [parallelizable(parallelscope.fixtures)]     public class seleniumtest1     {         [test]         public void is_title_correct()         {             iwebdriver driver = new firefoxdriver();             driver.navigate().gotourl("http://www.google.nl");             string actualtitle = driver.title;             string expectedtitle = "google";             assert.areequal(expectedtitle, actualtitle, "title not correct");             driver.quit();         }    } 

how can run in parallel, can open 2 browsers @ once?

it depends unit test runner using run tests. have problem without solution yet. give idea how proceed further...

if using (1) visual studio nunit test adapter - it's not supporting nunit 3 yet; (2) resharper unit test runner latest version (10) supports nunit 3 - try first run unit tests in parallel vs; (3) nunit 3 console unit test runner - when i've looked @ it, not ready run unit tests in parallel. might able now, at.

again, main idea tool run tests in parallel.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -