Communication of SL with testing of mobile applications and client's web
Hi, I work at small company as a junior QA.
My task is to find an opportunity to create a linkage between the automatized test tool for the mobile application (Genymotion) and the client's web (Java).
Add the element at the mobil device;
It is displayed at the web application;
Remove the element at the web application;
The notification about it comes to mail server;
There will be changes in the database of the mobile device;
Record these changes at the mobile device.
Whether it is possible to do in general without manual testing in the context of this task.
Can I do it, using Selenium?
I haven't used Genymotion, but looking at it at a glance it seems to have a Java API, so it's possible to call this and Selenium through a Java Testing framework like JUnit.
Originally Posted by stas7qa
One thing to know, Selenium and automation tools tend to finicky about timeouts when not receiving commands, especially if you're called remotely. So you may have to do some work in creating some keep alive process wrappers to prevent the tools from timing out when you're performing actions on one tool and not the other while the test is taking turns.
I would also add, don't fall into the trap of automating it like a manual user flow. At the core, Automation's job is to help developers detect when their software breaks. If you can say automate the web part and mobile part separately by faking out the interactions via REST requests or some other lower level protocol. It's easier to just do that. The big benefit you get is you can make your tests lighter weight and easier to run in the developers environment. For example, say a developer is working on a backend webserver. If you couple tests for that with Genymotion, then your devs can't run those tests before checking in their code which is 90% of the benefits of automation.
Thank you very much.
I will read more about JUnit and challenges of automated testing.