Mobile Automation Testing is a must for every project nowadays. I am not going to talk about advantages and disadvantages of Automation Testing here. I want to discuss about few basic but important things that can help write effective Automation Code for any platform.
When we start our Automation Project, we all involve ourselves into various strategies and techniques to test a functionality End to End. We implement Test Execution steps, Data Driven Framework (mostly), Reports, Loggers and what not. To navigate through various screen having data or images, we write predefined wait conditions or we implement complete codes to wait by ourselves. Even though we face few issues like timeout/specified element/screen not found error and etc while waiting for an activity (in android) / screen / UI elements. So, we happen to run and test our code multiple times to ensure that our code works fine and it’s the device or app which is having problem. Finally we let it go and publish our code.
But we always forget or ignore basic OS function/Apps in Device. Here are few tips which will can fix these issues.
Hope this will help you next time when you perform Automation Testing. Please do comment on the post and share your thoughts.
Suman, Also try Appium. Was released in GTAC 2013 along side with Expresso. Advantage is same script works both for iphone and android real devices.
Sure will try it. Thanks 🙂