public void SelectQuantitySizeAndColour(Table table) { dynamic testData = table.CreateDynamicInstance(); QuantityInput.Clear(); QuantityInput.SendKeys(testData.Quantity.ToString()); SelectOptionInDropdown(testData.Size.ToString()); SelectProductColour(testData.Colour.ToString()); }
void ReleaseDesignerOutlets() { if (AddToCartButton != null) { AddToCartButton.Dispose(); AddToCartButton = null; } if (CancelButton != null) { CancelButton.Dispose(); CancelButton = null; } if (HotDogDetailView != null) { HotDogDetailView.Dispose(); HotDogDetailView = null; } if (HotDogImageView != null) { HotDogImageView.Dispose(); HotDogImageView = null; } if (LongDescriptionText != null) { LongDescriptionText.Dispose(); LongDescriptionText = null; } if (NameLabel != null) { NameLabel.Dispose(); NameLabel = null; } if (PriceLabel != null) { PriceLabel.Dispose(); PriceLabel = null; } if (QuantityInput != null) { QuantityInput.Dispose(); QuantityInput = null; } if (ShortDescriptionLabel != null) { ShortDescriptionLabel.Dispose(); ShortDescriptionLabel = null; } }