I had the opportunity to be a part of a Corporate Banking project recently. I was involved in leading the functional automation testing part of the project. I found it to be a very exciting and challenging form of testing since our automation engineers did not have access to the application under test. I wanted to share my experience in this post.
How can one automate an application without accessing the application? Confused?
The problem was that the client did not want to provide application access to the offshore team because of security concerns. We suggested setting up an isolated environment offshore, but unfortunately, that could not happen.
The deadlines were looming closer and we still did not have access to the application, so here’s what we did.
- We arranged a WebEx session with our onsite team member and asked him to record the functional flow using HP Unified Functional Tester (HP UFT) with the “record active screen” option “ON”.
- The recorded scripts were then transferred offshore.
- We opened these scripts offshore and started identifying objects with the existing recorded repository and also captured objects using active screen.
- Thus, our Object Repository was ready.
- After this, we started creating functions using the object repository and created test flows.
- After completing an automated flow, we transferred it to our onsite team member and ran the flow (without accessing the application).
- We were surprised that our entire flow executed successfully in a single run without any errors.
- We understood exactly what we needed to do in order to complete the project on time.
Completing this task was very easy for us since we already had a corporate banking repository of 4000 automated test cases and our own framework (ZenFRAME). We created Object Repositories and functions, attached those to the framework and updated the test flow in the framework …that was it! We delivered and deployed the framework in the client’s environment, setup the application URL and were ready to run our complete test suite.
The execution of our first test suite for a specific module in the onsite environment was very smooth. All the test cases executed successfully, and the result log was created in the framework.
So, this was the issue I faced and the solution I came up with. Please feel free to share any other solutions you know of for the issues mentioned above. Also, please feel free to share other issues that you faced and if possible provide the solutions that you came up with. It would be great to know other people’s experiences. Happy Testing! :)
Hemant Jadhav | Zen Test Labs