0

I am new to Automation and I have started to work on SeeTest Automation. I want to know how to make proper classes and methods for automating an Android Application.

My main concern is to know how to arrange test cases in classes and how to arrange code.

Rao
2264 silver badges12 bronze badges
asked Jun 15, 2016 at 4:35

2 Answers 2

1

For starters, I would suggest you to start reading about Page Object Model - which is a great way to introduction abstraction in your Selenium tests and provides a programmatic way to drive and interact with UI.

Each page of your AUT (Application Under Test) is mapped to a class file in your code and each method within the class file can be treated as a service offered by the PageObject.

A simple example is provided here.

If you like to read about pro's and con's , there is a great thread in SO that talks in length about POM. Also you can go through this link in SQA which talks about the same topic.

Note : If you want to involve Python, a very good starting tutorial is here. This example takes a mobile apk, so it is be relatable with what you are asking for.

answered Jun 17, 2016 at 9:05
0

In any automation plan regardless of language used, you will need to think about the following concerns

  • Reusability
  • Maintability
  • Test Result Reporting and logging
  • Cross Browser/Device Testing

I have put a link to my simple test automation example in Java that addresses this here

answered Aug 19, 2016 at 12:01

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.