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;
         }
     }
     if (InputParameterAvailable.Count != 4)
     {
         NewInstance();
     }
 }
Esempio n. 2
0
        public void NewInstance()
        {
            if (!HaveRequirementsBeenSet)
            {
                HaveRequirementsBeenSet = true;
            }
            else
            {
                return;
            }

            Seconds = new InsecureInt(1);

            SetAvailableInputParameters();
            InputParameterRequired = new List <string>()
            {
                "SecondsToWaitInt"
            };
            Description =
                "Instructs the browser to wait for a number of seconds";
        }