Exemple #1
0
 public void CheckScalarInputOrOuput(int position, Dev2MappingType mappingType)
 {
     UITestControlCollection variableList = GetScalarVariableList();
     UITestControlCollection collection = variableList[position].GetChildren();
     List<UITestControl> theBoxs = collection.Where(c => c.ControlType == ControlType.CheckBox).ToList();
     if(mappingType == Dev2MappingType.Input)
     {
         theBoxs[0].Check(!theBoxs[0].IsChecked());
     }
     else
     {
         theBoxs[1].Check(!theBoxs[1].IsChecked());
     }
 }
Exemple #2
0
        public void CheckScalarInputOrOuput(int position, Dev2MappingType mappingType)
        {
            UITestControlCollection variableList = GetScalarVariableList();
            UITestControlCollection collection   = variableList[position].GetChildren();
            List <UITestControl>    theBoxs      = collection.Where(c => c.ControlType == ControlType.CheckBox).ToList();

            if (mappingType == Dev2MappingType.Input)
            {
                theBoxs[0].Check(!theBoxs[0].IsChecked());
            }
            else
            {
                theBoxs[1].Check(!theBoxs[1].IsChecked());
            }
        }