kirk_bottomley
12 years agoContributor
Delineated Variables in Keyword Tests
I've worked with objects before, specifically FlexGrids, that have delineated variables in the On Screen Action|Operation Parameters. I can't remember which method I was calling, but in the Value window, it had already interrogated the object and knew which values would be accepted. I had been planning on sending the number enumerating the desired value, but it had them named instead.
I wish I had more details for you, but I hope you know what I'm talking about. What I want to do is be able to evoke the same functionality when writing my own Keyword Tests. In particular...
I'm using the Storages.INI method (I've added [Root] to the config files) in a script to change a tested app's configuration during a test. All of our applications still use .ini's for their setups, and the Storages.INI method is almost perfect. The problem is, there are so many options across so many sections, across so many .ini's, that passing the correct variables to the script can become cumbersome.
Is there a way to write a function that contains all the acceptable options and sections for the different .ini files, then have those options appear in the Values section of the Operation Parameters screen of the Run Script Routine keyword test, when I pass those variables to my script?
I wish I had more details for you, but I hope you know what I'm talking about. What I want to do is be able to evoke the same functionality when writing my own Keyword Tests. In particular...
I'm using the Storages.INI method (I've added [Root] to the config files) in a script to change a tested app's configuration during a test. All of our applications still use .ini's for their setups, and the Storages.INI method is almost perfect. The problem is, there are so many options across so many sections, across so many .ini's, that passing the correct variables to the script can become cumbersome.
Is there a way to write a function that contains all the acceptable options and sections for the different .ini files, then have those options appear in the Values section of the Operation Parameters screen of the Run Script Routine keyword test, when I pass those variables to my script?