SV File in .mari and .mar not always included, even though we 'force' inclusion
book
Article ID: 145637
calendar_today
Updated On:
Products
CA Cloud Test MobileCA Application Test
Issue/Introduction
We have a .js file that we use to create logging for our test cases. DevTest is inconsistent in how it 'includes' this .js file in .mar files. We open the .mari and ensure that it IS part of the .mar. Then we deploy the .mar to the Portal as a project. Then we try to kick of the test or the suite from the Portal. Sometimes the .js file is picked up and runs correctly. Other times it is NOT picked up and the logging function does not work. The problem is that sometimes it works and sometimes it doesn't work.....for the same project! Currently, the only work around is to add the .js file to EVERY test case as a dataset in order to 'trick' DevTest into recognizing that the .js file is a dependency needed to run the test. This was never an issue in DevTest 9.1.
Environment
Release : 10.5
Component : CA Application Test
Resolution
Solution Steps:
1: Define a property for .js file path(i.e. applicable to any external file which is required in the project as a dependency) in the project.