Project: PL PAS UI Tests

62.32% relative
55.00% relative

Began in May 2024

As a member of this team, I automated user interface integration test cases for quality assurance at my job at Country Financial. I worked on this Agile release train (ART) to create several end-to-end integration tests using Robot Framework which verify functionality.

These tests provide stability to financial representatives who use the software. They also ensure legal compliance by testing business logic based on different conditions. For example, one test that I wrote verifies that a coverage is automatically added if the client is a homeowner in Illinois.

I worked with my fellow interns to write test cases in JSON format which called Robot Framework keywords. We validated content on the page as well as content in the generated PDF policy declaration packets.

Before, the tests we were performing were run manually by offshore testers after each release. Now, the tests are run via CI/CD jobs automatically, and developers also get feedback as they work on a release.

Additional work

In addition to my expected duties, I also designed a feature which simplifies the process to create and validate these JSON-format test cases.

I noticed that the lack of documentation made it difficult for new people to write test cases, and even for returners, the structure was merely copied from a previous test case file. Also, the test cases are slow to run, and development time is hindered by running a large test case only to find that a required key was not supplied in a later step. So, I used JSON Schema to create inline documentation as well as contextual hints in the PyCharm IDE.

I wrote a script that generates this JSON schema since the keys in the JSON file were dependent on the Robot Framework keywords being called. I initiated this feature but handed off remaining work to my supervisor due to time constraints.

I also wrote a lint script which runs the validation on files based on the passed arguments which could be included in a CI job to quickly report errors.

  • A Robot Framework test report with details about 1 passed test in 26:22
  • A sample Country Financial declarations packet PDF