Skip to content

Add a new test case

Sven edited this page Jul 12, 2020 · 3 revisions
  • Add a new blank activity and call it accordingly to the test case. For example "OMTG-DATAST-005: Test that keyboard cache is disabled for sensitive data" will become OMTG_DATAST_005_Keyboard_Cache.java.

  • In res/layout/ there is a new file created called content_.xml. In this file the layout and elements can be specified (textarea, input etc.).

  • Put a new method into MyActivity.java:

    public void OMTG_DATAST_00X_ClassName(View view) {
        Intent intent = new Intent(this, OMTG_DATAST_00X_ClassName.class);
        startActivity(intent);
    }
  • Add the test case content

  • Run the App and it should be deployed to your phone/emulator with the new test case.

  • Raise a ticket if you have problems.

Clone this wiki locally