Forum Discussion
- RajeshVVContributor
When we have more control over the Keyword Test variables we may reduce the usage of variables prior to running the test.
- shankar_rCommunity Hero
As a workaround you can do like below,
Keywordtests.<generic_keyword_test_name>.variables.<variable_name> = "local_variable_value" To handle this, var str_keywordtestname = "KeywordTest1"; var objKeyword = eval("Keywordtests." + str_keywordtestname); Now you will have you keyword test object then you use this object to create dynamic variable. objKeyword.variable.VariableByName("MsgVar");
I haven't worked in Keyword test but I'm guess this will have some help for you to handle dynamic