I have a .net based web application which i have already automated using selenium for chrome,ie browsers on windows.
What i require now is to execute the same test cases on safari browser in ipad(not on windows) ofcourse with capabilities changes.
Can appium help in this scenario,??? I dont have any .app or .ipa file in this case…
Please Reply…
Thanks in advance
If its a web based application then the application that you need to open is your browser- Like you specified safari. You dont need an apk or ipa file. So in short Yes appium theoretically should be able to test that web app.
I can answer “Yes!” from experience (not just in theory). I do this currently. I use Grunt as an overall task runner, and WebdriverIO as my high level Selenium interface to Selenium and Appium. Here is a fragment from my Gruntfile.coffee that may help with your Appium config:
...
localPublicSafariOnIphoneBrowser:
options:
port: '4723'
reporter: 'spec'
logLevel: 'error'
desiredCapabilities:
'browserName': '',
'appiumVersion': '1.3.1',
'deviceName': 'iPhone Simulator',
'device-orientation': 'portrait',
'platformVersion': '8.1',
'platformName': 'iOS',
tests: ['tests/iphone/1_iphone_public_browser.coffee']
...
This works fine for driving iOS Safari to load the app from the website and run the tests in “browser” mode. I am currently trying to figure out how to run the same tests in “fullscreen/app” mode, as one would have after saving to the Home screen.
So, I hope this helps get you closer to your goal.
Unfortunately, from this thread it looks like Appium will only be useful for testing web apps in “browser” mode and not in “fullscreen/app” mode on iOS.
https://groups.google.com/forum/#!topic/appium-discuss/0ZhlJ-5d7PE
Hey Guys
I found the answer, It is possible using appium + safari launcher +ios-webkit-debug-proxy
Thanks for the replies
Yes its possible to run automated test cases on mobile web. Please follow the instructions mentioned in my blog @ http://qaautomationcafe.blogspot.in/2015/09/mobile-web-automation-using-appium.html
Hello!
I have a very similar scenario. I have a Selenium +.NetCore framework to test my web app, but now I would like to test this web app on Safari on an iPad. Is this possible? And if so, would I have to necessarily use a MacOS machine? I am currently running my framework on Windows and do not have a iOS machine, so a work around would be really appreciated.
Thanks!!