public new void ReadAvailableInputParameters()
 {
     foreach (var inputParameter in InputParameterAvailable)
     {
         if (inputParameter.Key == "ExpectedMessageText")
         {
             ExpectedMessageText = (StringOrRegex)inputParameter.Value;
         }
         else if (inputParameter.Key == "ExpectedDefaultPromptValue")
         {
             ExpectedDefaultPromptValue = (StringOrRegex)inputParameter.Value;
         }
         else if (inputParameter.Key == "ExpectedDialogType")
         {
             ExpectedDialogType = (InsecureDialogType)inputParameter.Value;
         }
         else if (inputParameter.Key == "SetSuccess")
         {
             SetSuccess = (InsecureBool)inputParameter.Value;
         }
         else if (inputParameter.Key == "SetText")
         {
             SetText = (InsecureBool)inputParameter.Value;
         }
         else if (inputParameter.Key == "Text")
         {
             Text = (InsecureText)inputParameter.Value;
         }
     }
     if (InputParameterAvailable.Count != 6)
     {
         NewInstance();
     }
 }
Esempio n. 2
0
 public new void ReadAvailableInputParameters()
 {
     foreach (var inputParameter in InputParameterAvailable)
     {
         if (inputParameter.Key == "Visible")
         {
             Visible = (InsecureBool)inputParameter.Value;
         }
     }
     if (InputParameterAvailable.Count != 1)
     {
         NewInstance();
     }
 }
Esempio n. 3
0
 public new void ReadAvailableInputParameters()
 {
     foreach (var inputParameter in InputParameterAvailable)
     {
         if (inputParameter.Key == "Selector")
         {
             Selector = (Selector)inputParameter.Value;
         }
         else if (inputParameter.Key == "DoubleClick")
         {
             DoubleClick = (InsecureBool)inputParameter.Value;
         }
     }
     if (InputParameterAvailable.Count != 2)
     {
         NewInstance();
     }
 }
Esempio n. 4
0
 public new void ReadAvailableInputParameters()
 {
     foreach (var inputParameter in InputParameterAvailable)
     {
         if (inputParameter.Key == "Selector")
         {
             Selector = (Selector)inputParameter.Value;
         }
         else if (inputParameter.Key == "Text")
         {
             Text = (InsecureText)inputParameter.Value;
         }
         else if (inputParameter.Key == "PressEnterAfterwards")
         {
             PressEnterAfterwards = (InsecureBool)inputParameter.Value;
         }
     }
     if (InputParameterAvailable.Count != 3)
     {
         NewInstance();
     }
 }
Esempio n. 5
0
 public new void ReadAvailableInputParameters()
 {
     foreach (var inputParameter in InputParameterAvailable)
     {
         if (inputParameter.Key == "InsecureDisplayObjects")
         {
             InsecureDisplayObjects = (List <object>)inputParameter.Value;
         }
         if (inputParameter.Key == "InputNeeded")
         {
             InputNeeded = (InsecureBool)inputParameter.Value;
         }
         if (inputParameter.Key == "KeepInFront")
         {
             KeepInFront = (InsecureBool)inputParameter.Value;
         }
         if (InputParameterAvailable.Count != 3)
         {
             NewInstance();
         }
     }
 }
Esempio n. 6
0
 public new void ReadAvailableInputParameters()
 {
     foreach (var inputParameter in InputParameterAvailable)
     {
         if (inputParameter.Key == "ExpectedSchemaType")
         {
             ExpectedSchemaType = (InsecureHttpAuthSchemaType)inputParameter.Value;
         }
         else if (inputParameter.Key == "ExpectedHost")
         {
             ExpectedHost = (StringOrRegex)inputParameter.Value;
         }
         else if (inputParameter.Key == "ExpectedPort")
         {
             ExpectedPort = (InsecureInt)inputParameter.Value;
         }
         else if (inputParameter.Key == "ExpectedRealm")
         {
             ExpectedRealm = (StringOrRegex)inputParameter.Value;
         }
         else if (inputParameter.Key == "Cancel")
         {
             Cancel = (InsecureBool)inputParameter.Value;
         }
         else if (inputParameter.Key == "Username")
         {
             Username = (InsecureText)inputParameter.Value;
         }
         else if (inputParameter.Key == "Password")
         {
             Password = (InsecureText)inputParameter.Value;
         }
     }
     if (InputParameterAvailable.Count != 7)
     {
         NewInstance();
     }
 }