Sample Project - Mobile

Similarly to web, a project should include 3 core files:

oxygen.conf.js, which includes the project configuration, this file contains the tools for the project such as which modules to use, creating suites to run multiple scripts, reporting type, etc.

oxygen.env.js, which includes the versions, different configurations, usernames, connection strings etc.

oxygen.po.js, which includes all the page objects, locators, functions, etc.

Simple mobile test example from scratch

Let's start by creating a folder and inside it creating the oxygen.env.js and defining our app settings

Now let's create the oxygen.po.js file

Finally let's create the oxygen.conf.js file

And now let's create a folder with our test scripts

Don't forget to choose an environment

Last updated

Was this helpful?