void ReleaseDesignerOutlets() { if (ContainerTopConstraint != null) { ContainerTopConstraint.Dispose(); ContainerTopConstraint = null; } if (PageHeaderLabel != null) { PageHeaderLabel.Dispose(); PageHeaderLabel = null; } if (PINView != null) { PINView.Dispose(); PINView = null; } if (PINViewTopConstraint != null) { PINViewTopConstraint.Dispose(); PINViewTopConstraint = null; } if (TitleTopConstraint != null) { TitleTopConstraint.Dispose(); TitleTopConstraint = null; } }
void ReleaseDesignerOutlets() { if (CompanyTextField != null) { CompanyTextField.Dispose(); CompanyTextField = null; } if (ContainerView != null) { ContainerView.Dispose(); ContainerView = null; } if (dismissButton != null) { dismissButton.Dispose(); dismissButton = null; } if (finishButton != null) { finishButton.Dispose(); finishButton = null; } if (FirstNameTextField != null) { FirstNameTextField.Dispose(); FirstNameTextField = null; } if (LastNameTextField != null) { LastNameTextField.Dispose(); LastNameTextField = null; } if (LocationsPicker != null) { LocationsPicker.Dispose(); LocationsPicker = null; } if (MapCCodePickerView != null) { MapCCodePickerView.Dispose(); MapCCodePickerView = null; } if (MobilePhoneTextField != null) { MobilePhoneTextField.Dispose(); MobilePhoneTextField = null; } if (PageHeaderLabel != null) { PageHeaderLabel.Dispose(); PageHeaderLabel = null; } if (PilotSegmentControl != null) { PilotSegmentControl.Dispose(); PilotSegmentControl = null; } if (ProfileScrollView != null) { ProfileScrollView.Dispose(); ProfileScrollView = null; } }
/// <summary> /// Treat this like a BVT of the page. If Validate does not pass, throw exception and console.writeline a return message into Test Class /// </summary> /// <returns>validated</returns> public override bool Validate() { PageHeaderLabel.WaitForElementDisplayed(new TimeSpan(0, 0, PageUtility.ControlTimeOut)); return(PageHeaderLabel.Displayed); }