I am a tester, but putting my hands on in Android app development and have developed a EdTech app "Class eLearn Mobile app"
As of now, i am manually testing the application and pushing the updates to production.
But now i want to write automated cases in the same development project and implement CI/CD or DevOps. How can we do that? I know in Maven projects, we can have a separate test folder, where we can write functional tests. How can i do the same with Android apps?
Your inputs are highly appreciated.
Related
For automation testing purposes presently I am downloading the latest build from appcenter and storing it in my local. And in the script I am getting it installed on the android device. But this will not workout when I want to run the script through pipeline.
Is there any way to get the apk downloaded directly from appcenter and have it installed into the device.
App Center is a continuous integration, delivery, and testing solution for Android, iOS, macOS, and Windows apps. App Center let developers to ship apps faster and with more confidence by automating the development life cycle.
You can't directly download from app center and install it to android device. But you can upload your application binary package to app center and distribute it. You can distribute releases to individual testers or groups of testers. Azure DevOps uses the App Center Distribute Task for this.
Check Build, test, and deploy Android apps - Azure Pipelines document for more information.
This might be helpful in your case if you would like to upload the build from app center and run your test on real device or simulator:
https://www.browserstack.com/docs/app-automate/appium/integrations/app-center
When you want to test your android ionic app and point it to a test server (and you want others to be able to test it as well), what's the best practice approach for this?
Can you have the app check if it's running as a test release, and if so, use the test server? Or is there some better way to do this?
EDIT: I would like to publish the app to the Google Play store, and if it's a test release, have the app use the test server, but if it's a production release, then the app would use the production server.
If I understood you correctly, you can use angular environment (baseUrl) like in usual angular web-app, and just add --prod or --test as a parameter.
for example:
ionic capacitor copy android --prod
I'm trying to deploy my first (very generic) app built using Ionic. According to the docs for deployment, I'm supposed to use some plugins. However, other sources suggest that I'm supposed to install Google's IDE called Android Studio and create an APK file.
I can't judge which approach is most valid nor if the one is an obsoleted version of the other. And we know how fast the wheels rotate in JS world...
NB. I'm confident in programming in general, I know Angular and have experience with deployments as such. In this case, I'm not looking to set up CI nor testing. I simply want my first app to be reachable through the store.
My suggestion would be to make a build: ionic cordova build android. Next sign it using the command line.
https://developer.android.com/studio/publish/app-signing.html
I am new to react-native app development. I wanted to know how can a developed app be shared between other developers without having a local dependency. Is an apple developer account needed for a test build to be shared in ios as well? How can the test build be created?. I wanted the build to be created and downloaded on any ios device or android for testing purpose and without having depending any of the local code changes.So the build downloaded should not get updated after any code change done after that.
Is there an easy way to do it?
To share a release build for Android please follow this guide Generating Signed APK.
But for iOS you gonna need a Apple Developer account, I don't know the whole process exactly.
are there any android automation tools which don't require APK signing to run? I need to test an app developed by our vendors which are signed by our clients. Our clients do not provide us with their signing keys. The security is in place as our clients provide us with customised SIMs to work with the APKs.
Thanks
For Android Automation, you have a lot of choices like
UI Automator -
http://developer.android.com/tools/help/uiautomator/index.html
http://developer.android.com/tools/testing/testing_ui.html
Robotium Android Testing Tool
MonkeyRunner Android App Testing
Appium
http://appium.io/slate/en/tutorial/android.html?ruby#getting-started-with-appium
5. etc