Setting global parameter
Posted: Thu Dec 14, 2017 4:40 pm
Steps to reproduce:
- create global paramater in Testsuite-Context
- place a smartFolder under Testsuite
- create a Testcase in smartFolder above
- create setup-region in Testcase above
- create a own CodeModule in Setup-region
- reading global Parameter with Testsuite.Current.Parameters["parameter_xy"] works fine
- setting global Parameter with same Codeline in same CodeModule will be lead to an exception "unknown key"
In other cases setting the global Parameter works fine (e.g global Parameter of a smartFolder). Only this case is differnt. Any ideas?
- create global paramater in Testsuite-Context
- place a smartFolder under Testsuite
- create a Testcase in smartFolder above
- create setup-region in Testcase above
- create a own CodeModule in Setup-region
- reading global Parameter with Testsuite.Current.Parameters["parameter_xy"] works fine
- setting global Parameter with same Codeline in same CodeModule will be lead to an exception "unknown key"
In other cases setting the global Parameter works fine (e.g global Parameter of a smartFolder). Only this case is differnt. Any ideas?