public void W070_ProductEditor_tabControl_productTypes() { // get tabControl and check it's visible TabControl tabControl = TestDriver.WidgetGet <TabControl>("ProductEditor.tabControl"); // select models TabPage by item number tabControl.SelectItem(1); TestDriver.Sleep(Waiter.BrowserUpdate); // get productTypes TabPage TabPage productTypes = tabControl.Current; // check productTypes exists and is visible Assert.IsNotNull(productTypes); productTypes.AssertIsDisplayed("productTypes"); }
public void W066_ProductEditor_tabControl_brands() { // get tabControl and check it's visible TabControl tabControl = TestDriver.WidgetGet <TabControl>("ProductEditor.tabControl"); // select brands TabPage by label tabControl.SelectItem("Brands"); TestDriver.Sleep(Waiter.BrowserUpdate); // get brands TabPage TabPage brands = tabControl.Current; // check brands exists and is visible Assert.IsNotNull(brands); brands.AssertIsDisplayed("brands"); }