sriram_sig
6 years agoContributor
Adding dictionary object to project variables
i have a requirement to automate a web project and i fould it to be easier to work with xpath rather than the properties in name mapping. So i thought of adding the variable name and xpath like a key-value pair in a dictionary object.Is there a way by which i can add this dictonary object to project variables.?
when i execute the below code i get a type mismatch error in the last line
d = Sys.OleObject["Scripting.Dictionary"] d.Add("a", "Alphabet") d.Add("b", "Book") d.Add("c", "Coffee") Project.Variables.AddVariable(d,"Object")
The petstore got very sad recently and has been replaced. Please retry when you can, it is behaving as expected now.
The pet store is intended as a demo and isn't very stable as such (we'll improve it in the future). If you ever get a 500 in response, it should be fixed automatically within a few hours as the demo resets.