AnsweredAssumed Answered

How can we pass the value of the property generated at a Test Case level to the Configuration File.

Question asked by Yugain on May 10, 2018
Latest reply on May 10, 2018 by deoma03

How can we pass the value of the property generated at a Test Case level to the Configuration File.

 

Reason:

I have a requirement where I need to create an Output XLS sheet with time stamp, at the beginning of the Test suite. Than I need to store the responses of the remaining Test Cases in that Output XLS file.

 

Approach Followed:

1.Created a Java jar file which creates the Output sheet with the timestamp e.g. UAT_Result_Sheet_05-10-2018T06-43-20 and returns back the name of the sheet.

2.Using the Dynamic Java Execution step I'm creating the required sheet and getting back the name of the sheet in CA DevTest.

3.Saving the name of the sheet to the property but not able to use this property in remaining test cases

So wanted to know how can I pass the value of this property to the Configuration file?

 

I want to store the name in a property so that I can give the name of sheet in the Java method I'm using for writing the responses in the Output sheet

Outcomes