コード例 #1
0
 public void SelectProjectGlobal(string value)
 {
     try
     {
         if (!String.IsNullOrEmpty(value))
         {
             InfraSelect.SelectValue(genericXpath_globalProject, value);
         }
     }
     catch (Exception e)
     {
         throw new Exception("Not found element: " + genericXpath_globalProject, e);
     }
 }
コード例 #2
0
        public void SelectValueByName(string name, string value)
        {
            string xPath = "";

            try
            {
                if (!String.IsNullOrEmpty(value))
                {
                    xPath = String.Format(parameteredXpath_selectByName, name);
                    InfraSelect.SelectValue(xPath, value);
                }
            }
            catch (Exception e)
            {
                throw new Exception("Not found element: " + xPath, e);
            }
        }