copy variables from one keyword test to another
I have seen this question many times and the answer is use projectsuite variable or project variables. NOT a good answer. I want to copy the keyword test with the variable list. I need to change the default values that are in the variable list. Using a higher level variable makes me change the value during the execution keyword so I lose control of the value during execution. for example I have a keyword test that uses the aqwrite. I have variables with defaults for the filenamepath and textxcontent. I have several instances that the filename changes or the textcontent changes. I am forced to do many set variable instead of being able to copy the variable list and change the defaults.
Hi !
You can access variables of others Keyword by doing this :
s = KeywordTests.KeywordTest1.Variables.VariableByName("MsgVar");
So I don't understand what is the real issue.