コード例 #1
0
 protected void SelectValueInPagerComboBox(int index)
 {
     // Open ComboBox.
     InputHelper.LeftClick(elements.GetPagerComboBox());
     Wait.ForIdle();
     // Index is the actual PagerControl SelectedIndex, so we need to add 1 here
     // to result in the user friendly name being displayed in the ComboBox.
     elements.GetPagerComboBox().SelectItemByName((index + 1).ToString());
 }