Пример #1
0
 private static void SetDynamicDropDownParameterInPropertiesPanel(Ranorex.Row row, string newValueForParameter, RepoItemInfo listItemInfo)
 {
     row.Click();
     row.Click(".98;.5");
     listItemInfo.FindAdapter <ListItem>().Focus();
     listItemInfo.FindAdapter <ListItem>().Click();
 }
Пример #2
0
        public void SelectItemFromDynamicDropDownMenuInRowPropertiesPanel(RepoItemInfo listitemInfo, string pathToRowItemInPropertiesPanel)
        {
            AutomatedSystemTestsRepository myRepository = global::AutomatedSystemTests.AutomatedSystemTestsRepository.Instance;
            Adapter propertiesPanelAdapter = myRepository.RiskeerMainWindow.ContainerMultipleViews.PropertiesPanelContainer.Table.Self;

            Ranorex.Row row = GetRowInPropertiesPanelGivenPath(propertiesPanelAdapter, pathToRowItemInPropertiesPanel);
            row.Click();
            row.Click(".98;.5");
            listitemInfo.FindAdapter <ListItem>().Focus();
            listitemInfo.FindAdapter <ListItem>().Click();
        }
Пример #3
0
 public static void ClickThis(this Ranorex.Row item)
 {
     try
     {
         item.Click();
         Sleep();
     }
     catch (Exception ex)
     {
         throw new Exception("Row Click Failed : " + ex.Message);
     }
 }