I´m currently struggling with creating Ranorex Variables during runtime. My Idea is to create my Ranorex Global Variables within a Script Code from a typical "List of Names" and store them in the Clipboard. So i could Paste them into a Recording module if i wish to.
Here you can see my Dummy Code (it´s not working):
System.Collections.Generic.List<Ranorex.Core.Data.VariableStore.Entry> l = new List<Ranorex.Core.Data.VariableStore.Entry>(); Ranorex.Core.Data.VariableStore.Entry entry; Ranorex.Core.Data.VariableStore.Entry.Create("test1",Guid.NewGuid(),"", out entry); l.Add(entry); Clipboard.SetDataObject(l);
As result i should be able to paste the Variables like in the Screenshot shown.
Can you help me why it´s not working properly?