Contributions
Adding a dictionary object to a variable on keyword tests
Has anyone tried setting a variable in a keyword test with a value consisting of a dictionary object (a key value pair) ? IT can be done on scripts but i never made it worked on KeywordTests I tried using Set Variable varObj and then use code expression to put a value of {key1:value1,key2:value2} but testcomplete says its not a valid expression. I need to put a dictionary object on the keyword test because i will be calling a method/function that accepts a dictionary as a parameter. This object contains a key value pair of headers and header values for use in sending an http requests. Any leads on how i can achived this?Solved4.7KViews0likes5Comments