I think the answer lies somewhere in section 14.5 of the UserGuide.pdf
In CarMaker there are two main types of variables that can be used for test automation:
Named Values: which can vary parameters in the GUI
Key Value: which can vary parameters in the infofile
I am assuming that using a Named Value is the correct choice for your case, since it is the most common type. Could you explain or take a screenshot of where you are trying to place this Named Variable?
The correct format for Named Values can be seen below. Where the first example is for a Floating number and the second is for a character.
Thanks for taking your time to answer my question.
Going into the details of what I’m trying to achieve; I’m trying to change a road sign through a Named Value. To do that I created Named Value for the road sign in the Scenario Window. The problem I’m having is that when I try to assign a specific sign through the Test Manager window, the sign doesn’t change. My question is: How can I change it? What do I write in the Value column in the Test Manager to change the sign in the Scenario?
Please be aware that changing the traffic signs does not influence the driving speed. This can be implemented by a Marker as seen in the picture below:
Maybe I wasn’t clear in what I’m trying to do. I’m not trying to change the value of a Speed Limit sign, I’m trying to completely change the sign. For instance, from a Stop Sign to a Tunnel Sign.
In this example, I assigned a Named Value to the type of sign entry. It is in yellow, in the right tab. Now I want to change the sign type. I did everything similar from what you described, but my problem is what should I write in the Value column in the Test Manager to change the sign.
Thanks again for your time.
Best Regards.
Raúl Kevin Viana
In CarMaker there are two main types of variables that can be used for test automation:
Named Value: which can vary parameters in the GUI
Key Value: which can vary parameters in the infofile
Since I am not able to set a Named Value (NValue) in the GUI (e.g. $MyValue=50) that tells me that I need to use the other type of variable, Key Value (KValue). To show how to do it properly, I have updated the example: Forums_323.zip (85.1 KB)
In order to figure out what the KValue names and values are, I can save a dummy test run, where I have changed the type of sign (e.g. Sign_Stop, Sign_Tunnel). This TestRuns are not needed, but they help one to find out the correct naming. Please note, that a combination of KValues and NValues can be used.
The parameters needed for each variation can be seen in the pictures below: