Settings parameters are always outdated

Hello @connospp and welcome to the forum!

I have a couple of questions:

-How are you updating the settings? Are you enabling the “Allow Metadata Prompt” checkbox on the Engine settings or are you using a custom user prompt?

image

We noticed this behavior a few months ago and are working on a fix, in the meantime there is a workaround which you can find on the following post:

The workaround is:
-move the properties from the component settings to the DUT
-call the OnPropertyChanged() method on the setter of each property
-Enable the “Allow Metadata Prompt” checkbox on the Engine settings

This should update the metadata properties and you should be able to get the updated values on Result Listener OnTestStepRunStart, OnTestPlanRunCompleted and also on any test step Run. I tested the behavior and here are some screen shots showing the input box for the meta data and the session log shows the values for Serial and Operator during the OnTestStepRunStart, Test Step Run and OnTestPlanRunCompleted:

image

Let me know if this works for you.

Regards,

Carlos Montes

1 Like