Test automation frameworkfor ios using Google's Native Driver - objective-c

Google recently announced that native driver now has support for IOS as well. I was wondering if any one tried automating the tests using Native driver for ios and any pit falls you encountered?
Currenlty our ios team is using UIA framework for IOS and Android team is using Google's native driver for automating the tests. I was wondering if any one who used both Google's native driver for ios and UIA for ios, to come up with the pros and cons of using both.

Related

Is that possible test flutter apps with WebdriverIO?

Can I test flutter app (for example in apk) using WebdriverIO?
I saw there is a flutter driver for Appium. Is it supported with WebriverIO as well? How is it handled?
Yes you can. You have to use Appium Automation to interact with your Flutter mobile app.
Setup your own WebdriverIO Appium project, or start from a featured boilerplate, as such.
Integrate the appium-flutter-driver into your project and start using it inside your test cases.
LE: Alternatively, you can try SauceLab's Appium-Flutter-Driver implementation using WebdriverIO. See it here.
You can find multiple examples online for configurations. A simple Google search even gives you a full video tutorial on how to setup everything.

Automation testing for react native app for both android and iOS platform

As per project requirement, need to do automation testing on the Reactnative app for Android/iOS platforms. I have seen many frameworks available such as appium, Cavy, Detox.
Need help in the selection of framework for reactnative app testing.
Have appium automation(with Java) experience for Android application.
I'm currently working on developing and maintaining Cavy, so if you have any particular questions regarding Cavy as a solution, I'd be happy to help. Just pop any issues/questions on the GitHub issue tracker.
We're in the process of moving all our documentation to our new site, but it does include a comparison with Detox in the FAQs that you may find useful :)

Mobile Game automation testing using Appium,Opencv and Bitbar Akaze (Image Recognition)

I want to learn how to test mobile games using Appium, so i found it could be done using Image Recognition.
I found this https://bitbar.com/appium-tip-27-using-appium-for-mobile-game-testing/
I'm truly stuck in it
couldn't understand what i should do or add in Eclipse to test mobile games using Appium.
If anyone know how to test mobile game using Appium rather than Image Recognition please tell me.
Please, if any one have any tutorial or a clear steps of mobile game testing automation tell me.
Appium is not a good option (unless you are ok with image recognition approach) to test mobile games. Appium is using native test frameworks like UIAutomator, Espresso (Android) and XCUITest (iOS), that are basically implemented to test apps build with native SDK
Mobile games are mostly build with engines like Unreal, Unity, Corona ,etc. that have no relation to native SDK and thus cannot be tested with native test frameworks without additional tweaks.
Basically following issues to be addressed and add support for:
find elements
check action occurring in game
check UI rendered
properly
There are some projects where engineers are trying to use Appium with some additional ports, e.g. Unity-Appium, but there is definitely nothing like Appium or Selenium that you can take and use like silver bullet.
Check the engine your game is based on and search for possible test frameworks.

Is it possible to write tests for mobile native apps using appium and nightwatchjs?

Is it possible to write tests for mobile native apps using appium and nightwatchjs?
I found a lot of resources for web automation but not a single one for Native mobile apps. Official docs also not saying anything about it.
There is lot of mobile native app automation tools and documents available in market,
Please find below tools, supported platforms and its documentation
1.Appium
Native : Android & iOS
Mobile web app : Android chrome & iOS safari
Documentation link :http://appium.io/documentation.html?lang=en
2.Calabash
Native only : Android & iOS
Website : http://calaba.sh/
Setup Video : https://www.youtube.com/watch?v=ykZ3HIYOOnQ
3.Robotium
Native only : Android only
Github wiki Documenation : https://github.com/RobotiumTech/robotium/wiki/Getting-Started
4.Espresso
Native only : Android only
Documentation link : https://google.github.io/android-testing-support-library/docs/
5.Webdriver.io
Native : Android & iOS
Mobile web app : Android chrome & iOS
Note : Internally it’s pointing to appium only
Documentation link : http://webdriver.io/
6.Selendroid
Native : Android only
Mobile web app : Android only
Documentation link : http://selendroid.io/
7.Python uiautomator
Native : Android only
Github link : https://github.com/xiaocong/uiautomator
Above tools are widely used in mobile app automation currently.
I recommend Selendroid or Appium for testing Native apps, If you are good with the Selenium Webdriver go for this. because Selendroid and Appium are using similar Selenium codes.
Using Appium you can test both ios and Android native apps.
https://www.youtube.com/watch?v=eRddxh-4u5k
Selendroid is mainly for Android Apps
follow this tutorial
http://www.guru99.com/introduction-to-selendroid.html
These are two links i found most suitable for learning these technologies. hope this will help you :-)
For native app testing, you must change launch_url to http://127.0.0.1:4723/wd/hub, port to 4723 and keep browserName empty.
You may follow the following tutorial to get an idea about native app testing using Nightwatchjs:
https://www.utest.com/articles/android-native-app-testing-by-nightwatchjs

Mobile test automation tools recommended in industry

Please suggest the recommended open source tools for mobile automation testing which supports ios and android?
For Android I would recommend
UI automator framework and Robotium
I recommend Monkeytalk. Try it-
http://www.gorillalogic.com/monkeytalk
It has very good online documentation and tutorials.
I would recommend to use appium: http://appium.io/ which is open source, cross-platform test automation tool for native, hybrid and mobile web apps
Selenium webdriver is good for Android as well as iphone.
On iphone it works slowly but accurate result.
Appium is really coming up in these days to capture Android and IPhone mobile automation market though it has some limitation for Android automation like support for Toast messages is missing etc.
Robotium can be a good choice for Android automation as it comes with a flexible API with a large number of utility methods included inside.
If you looking to automation Android or IPhone Web applications, Selenium Android Driver and IPhone driver can be a good choice.
Today you have plenty of approaches, you can use Appium as everyone said, here you have the advantage that is similar to Selenium and same code can run for Android and iOS. It's black box testing and it's slow, 8 times more slow than native approaches.
So, you have native approaches, Espresso for Android and XcuiTest for iOS. This approaches are faster that Appium and are white or grey box testing. The disadvantage is that you need to code Java/Kotlin and Swift for the tests and maybe you testers have no skills in this languages but developers can help.