I followed the approach Paul told which is, I tried passing the object of myClass(which actually extends TypeWebDriverprovider) with a constructor argument of "org.openqa.selenium.ie.InternetExplorerDriver"
Inside Spring bean config : <bean id="driverProvider" class="com.mcafee.scor.automation.common.webDriver.ScorIEWebDriverProvider"> <constructor-arg type="java.lang.Class" value="org.openqa.selenium.ie.InternetExplorerDriver"/> </bean> Now when I inject InternetExplorerDriver or ChromeDriver then the browser window doesn't show up while in the case of FirefoxDriver by following the same approach everything seems to work fine. Could you guys look in to it ! On Mon, Apr 9, 2012 at 9:10 PM, Paul Hammant <[email protected]> wrote: > The other way is to subclass TypeWebDriverProvider and pass up > InternetExplorerDriver.class in the super(..) call. > > - Paul > > > On Mon, Apr 9, 2012 at 7:41 AM, Mauro Talevi > <[email protected]>wrote: > >> Yes, look at TraderWebStories in the jbehave-web trader-runner-webdriver >> example. >> >> The property is provided via the usual Java -Dbrowser=IE ... >> >> On 09/04/2012 14:37, Bhuvnesh Pratap wrote: >> >> Thanks, Do we have the implementation of this in any of the examples ? >> that would help better >> >> On Mon, Apr 9, 2012 at 4:14 PM, Mauro Talevi >> <[email protected]>wrote: >> >>> Use PropertyWebDriverProvider with property brower="IE" >>> >>> >>> http://jbehave.org/reference/web/stable/javadoc/web-selenium/org/jbehave/web/selenium/PropertyWebDriverProvider.html >>> >>> >>> On 09/04/2012 12:34, Bhuvnesh Pratap wrote: >>> >>>> Hello, >>>> >>>> I have been using JBehave-web-selenium wrapper for Firefox with using >>>> FirefoxWebDriverProvider for some time, >>>> Now with time the project requires to run on Internet Explorer and It >>>> seems JBehave-web-selenium doesn't support >>>> WebDriverProvider . Is there a way I could run my JBehave enabled >>>> automation suite on Internet Explorer >>>> as well ? >>>> >>>> >>>> Thanks, >>>> Bhuvnesh Pratap >>>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe from this list, please visit: >>> >>> http://xircles.codehaus.org/manage_email >>> >>> >>> >> >> >
