Beginner programmer here- I want to convert a small program I made into an app- the original program uses selenium to load a website, ask for a username+ password, and auto logs you in and clicks a bunch of boxes and dropdowns, then exits.
I want to turn this all into an android app- I have a couple questions:
- do I have to rewrite all my code in android studio
- can I still use selenium or do I have to set up appium/ selendroid and if so, which one?
basically, the app should open up a UI screen, and ask for a username and password. From there it will open up a browser and click a bunch of stuff and that is it.
lots of love!
I am giving some important high level observations
App Type Cases
2.If your AUT is a webapp with just a different user-agent like mobile,tablet etc then same tests can be used with little modification e.g.
2.1 You can use mobile emulation with Selenium - Chrome browser with mobile dimension
2.2 You can also use Appium with Emulator or real device - Chrome browser in Mobile device.
If Existing Tests Cases already present
If your browser application tests are already written in Selenium then you can use a tools which supports selenium methods like Appium for writing your android or ios app tests, this will help you in knowing scenarios to cover.
If your app is webapp then existing test cases will work with little modifications
If your app is hybrid then few existing cases will work which are under webview.
If Existing Tests Cases are not present
You are free to choose language of your choice as per knowledge and tool which best suites to your application.
Original Question - I want to turn this all into an android app- I have a couple questions:
do I have to rewrite all my code in android studio
can I still use selenium or do I have to set up appium/ selendroid and if so, which one?
Note - Selendroid is deprecated because it was used with very old Android version device e.g. Android IceCream 4.2 or below version or API level < 17