Showing posts with label Detox Automation. Show all posts
Showing posts with label Detox Automation. Show all posts

Thursday 17 September 2020

10 tips to avoid Mobile Automation Coding Pitfalls : Automation coding standards

Beautifully written code is like Gold, it's value never depreciates.

Having taken/given multiple interviews on Mobile Automation and created multiple POC for different clients myself I would like to suggest common pitfalls that a naive can avoid while designing a POC for Mobile Automation Framework. Consistency across the code helps in readability and helps in maintaining the code which can be reusable at other places






  • Have a good code structure in terms of package/class hierarchy.
  • Use proper naming conventions at class and function level.
  • Not to use parameterization as all data will get hardcoded
  • To format the code, indentations make it beautiful.
  • To have abstraction at the test case level so all element calls are not made directly
  • To implement asserts wherever possible.
  • To avoid the usage of absolute paths to find web elements.
  • To make the code executable with no library errors.
  • Add Comments wherever possible.
  • Avoid redundancy of the code. Try to create a reusable method and functions
Lastly, Learn and self improvise, you never know what you were thinking is the right way to do is actually not the best solution as learning is never-ending.

Interview Experience with AMAZON for the role of Quality Assurance Tester

This role was for Digital/ IoT/Mobile Application based testing :)  Amazon is a dream company and everyone wants to work for that company a...

Popular Posts