xebia / Xebium

Xebium provides Selenium (webdriver) bindings for FitNesse, with Selenium-IDE support
http://xebia.github.com/Xebium/
Apache License 2.0
76 stars 62 forks source link

ios driver xebium not supported? #167

Open zmirza1 opened 7 years ago

zmirza1 commented 7 years ago

I need to automate Mobile UI tests and for that i downloaded installed and started ios server. i then tried to automate a simple test in xebium but i get errors ( BTW: i came up with the browser spec. just by looking up the internet and never saw a sample example for mac os). Any thoughts?? Can someone kindly provide a sample example on how to automated ios UI tests in xebium? here is salenese for it:

| script | selenium driver fixture | | start browser | {"remote": "http://0.0.0.0:5555/wd/hub", "device" : "iphone", "language": "en", "locale": "en_US", "CFBundleName": "InternationalMountains", "simulator": "true", "variation":"iPhone5s", "instruments": "true"} | on url | https://msn.com/ | | do | open | on | /en/en#/ | | check | is | assertTitle | MSN.com - Hotmail, Outlook, Skype, Bing, Latest News, Photos & Videos | | check | is | assertTitle | MSN.com - Hotmail, Outlook, Skype, Bing, Latest News, Photos & Videos | | ensure | do | verifyElementPresent | on | css=h3 | | ensure | do | waitForElementPresent | on | css=h3 | | ensure | do | verifyElementPresent | on | css=h3 | | ensure | do | click | on | css=h3 | | ensure | do | waitForElementPresent | on | css=div.buttonLargeWhite | | ensure | do | verifyElementPresent | on | css=div.buttonLargeWhite | | stop browser |

Here is the error:

EXCEPTION:java.lang.RuntimeException: Unknown browser type. Should be one of 'firefox', 'iexplore', 'chrome', 'opera', 'opera-mobile-tablet', 'opera-mobile-phone', 'htmlUnit' or 'htmlUnit+js' at com.xebia.incubator.xebium.DefaultWebDriverSupplier.newWebDriver(DefaultWebDriverSupplier.java:104) [file:/xebia-Xebium-4d74eea/target/classes/] at com.xebia.incubator.xebium.SeleniumDriverFixture.defaultWebDriverInstance(SeleniumDriverFixture.java:87) [file:/xebia-Xebium-4d74eea/target/classes/] at com.xebia.incubator.xebium.SeleniumDriverFixture.startBrowserOnUrl(SeleniumDriverFixture.java:159) [file:/xebia-Xebium-4d74eea/target/classes/]