You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 27, 2019. It is now read-only.
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/]
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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/]
The text was updated successfully, but these errors were encountered: