Debugging Thucydides/Jbehave tests using a custom browser and jUnit (i.e. Google Chrome)

Here is a simple class allowing you to run your Java tests in Debug mode using jUnit  and a custom browser (i.e. Chrome):

2014-11-28 14-20-43 Скриншот экрана

import net.thucydides.core.ThucydidesSystemProperty;

import net.thucydides.jbehave.ThucydidesJUnitStories;

public class DebuggingChromeTestSuite extends ThucydidesJUnitStories {

                public DebuggingChromeTestSuite() {

                                System.setProperty(“webdriver.chrome.driver”, “C:\\Automation\\drivers\\chromedriver.exe”);

                                runThucydides().withDriver(“chrome”);

                                runThucydides().withProperty(ThucydidesSystemProperty.THUCYDIDES_USE_UNIQUE_BROWSER).setTo(true);

                                findStoriesCalled(“YourStoryName.story”);

                }

}

Yellow bird

Photo Hackathon http://ift.tt/1AuHLnB

LLC “Avia Invest” invites to a new plane spotting session on Chisinau International Airport

LLC “Avia Invest” invites to a new plane spotting session on Chisinau International Airport
A widespread activity in the West, which takes place on the major airports in the world, represents the interest among enthusiast aircraft photographers from Moldova. „Plane spotting” is an activity in which participate professional or amateur photographers who take spectacular pictures with aircraft landing or taking off, trying to capture their most interesting details.

via 500px http://ift.tt/1sRSuHP