Example #1
0
 public void JoinNetwork()
 {
     Button join = NetworkWindow.Get<Button>("Connect");
       join.Click();
       NetworkWindow.Close();
       MainWindow.Focus();
       NetworksTab = MainWindow.Get<Tab>("Networks");
       Assert.IsNotNull(NetworksTab);
       TabPage FirstNetwork = MainWindow.Get<TabPage>(SearchCriteria.ByText("Handle.WPF.IrcNetworkViewModel"));
       Assert.IsNotNull(FirstNetwork);
       FirstNetwork.Click();
 }
Example #2
0
 public TabEvent(Tab tab)
     : base(tab)
 {
     parameters = new object[] {tab.SelectedTab.Name};
 }
Example #3
0
 protected override void TestFixtureSetUp()
 {
     tab = Window.Get<Tab>("seasons");
 }
Example #4
0
 private void SelectedTabChanged(object sender, EventArgs e)
 {
     selectedTab = (Tab) windowTabs.SelectedItem;
     tabPages.DataSource = selectedTab.Pages;
 }