public Connect_Dashboard_NoUploads(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Connect_Dashboard_NoUploads"; //Enter Test Name base.baseURL = url; //Be sure to update the selenium.Open command with baseURL base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); base.description = "**Create an account with no activities and make sure that the appropriate message shows.**"; utility = new ConnectUtility(this); }
public Connect_ManualActivity_ActivityType(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Connect_ManualActivity_ActivityType"; //Enter Test Name base.baseURL = url; //Be sure to update the selenium.Open command with baseURL base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); base.description = "**Try to make a manual activity without selecting a Activity Type**"; utility = new ConnectUtility(this); }
public Connect_Dashboard_EditName(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Connect_Dashboard_EditName"; //Enter Test Name base.baseURL = url; //Be sure to update the selenium.Open command with baseURL base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); base.description = "**Log on and edit the activity name on the Dashboard, and test the 75 character validation**"; utility = new ConnectUtility(this); }
public Connect_CheckFirmware_FR210(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "CheckFirmware_FR210"; //Enter Test Name base.baseURL = url; //Be sure to update the selenium.Open command with baseURL base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); base.description = "**Create a user, upload a file from an FR 210 and check for the firmware update notice**"; utility = new ConnectUtility(this); }
public Connect_Dashboard_PercentComplete(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Connect_Dashboard_PercentComplete"; //Enter Test Name base.baseURL = url; //Be sure to update the selenium.Open command with baseURL base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); base.description = "**Create a goal and manual activity and verify the progress is at 50%**"; utility = new ConnectUtility(this); }
public Connect_Dashboard_ActivityType(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Connect_Dashboard_ActivityType"; //Enter Test Name base.baseURL = url; //Be sure to update the selenium.Open command with baseURL base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); base.description = "**Go to the dashboard and edit the Activity Type**"; utility = new ConnectUtility(this); }
public Connect_Dashboard_FiveItems(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Connect_Dashboard_FiveItems"; //Enter Test Name base.baseURL = url; //Be sure to update the selenium.Open command with baseURL base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); base.description = "**Log in and validate that the last 5 activities are displayed. User is only in Test at present**"; utility = new ConnectUtility(this); }
public Connect_Dashboard_NoGoal(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Connect_Dashboard_NoGoal"; //Enter Test Name base.baseURL = url; //Be sure to update the selenium.Open command with baseURL base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); base.description = "**Create a new user and ensure that no Goals are present.**"; utility = new ConnectUtility(this); }
public Connect_ManualActivity_PaceCalc(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Connect_ManualActivity_PaceCalc"; //Enter Test Name base.baseURL = url; //Be sure to update the selenium.Open command with baseURL base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); base.description = "**Make sure that the pace calculation is correct for Manual Activity**"; utility = new ConnectUtility(this); }
public Connect_ManualActivity_DescriptionLimit(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Connect_ManualActivity_DescriptionLimit"; //Enter Test Name base.baseURL = url; //Be sure to update the selenium.Open command with baseURL base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); base.description = "**Check the validation limit of 2000 characters**"; utility = new ConnectUtility(this); }
public Connect_Navigation_Unauthenticated(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Connect Navigation Unauthenticated"; //Enter Test Name base.baseURL = url; base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); base.description = "**In this test a user doesn't log in and tries to view each page**"; utility = new ConnectUtility(this); }
public Connect_ManualActivity_NameCharLimit(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Connect_ManualActivity_NameCharLimit"; //Enter Test Name base.baseURL = url; //Be sure to update the selenium.Open command with baseURL base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); base.description = "**Try to make an manual activity with a name with more than 75 Characters**"; utility = new ConnectUtility(this); }
public Connect_Dashboard_CreateGoal(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Connect_Dashboard_CreateGoal"; //Enter Test Name base.baseURL = url; //Be sure to update the selenium.Open command with baseURL base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); base.description = "**Create a Goal from the Dashboard**"; utility = new ConnectUtility(this); }
public Connect_CheckFirmware_FR405CX(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "CheckFirmware_FR405CX"; //Enter Test Name base.baseURL = url; //Be sure to update the selenium.Open command with baseURL base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); base.description = "**Create a user, upload a file from an FR405CX and check for the firmware update notice**"; utility = new ConnectUtility(this); }
public Connect_UploadFile(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Connect Upload File-Generic"; //Enter Test Name base.baseURL = url; base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); utility = new ConnectUtility(this); base.password = "******"; base.description = @"**This test creates a new account and uploads a single file, and verifies that the details can be viewed**"; }
public Connect_SignIn(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { base.id = "Connect Basic Sign In"; base.baseURL = url; base.selenium = webdriver; base.verificationErrors = verrors; base.username = "******"; base.password = "******"; base.description = @"**In this test a user logs in, checks to make sure they are, and logs out**"; quality = new QualityCheck(this); utility = new ConnectUtility(this); }
public Connect_Dashboard_ActivityNameTabs(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Connect_Dashboard_ActivityNameTabs"; //Enter Test Name base.baseURL = url; //Be sure to update the selenium.Open command with baseURL base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); base.description = "**Edit the names on the dashboard for the 2-5 tabs**"; quality = new QualityCheck(this); utility = new ConnectUtility(this); }
public Connect_ActivitiesSort(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Activities-Sort"; //Enter Test Name base.baseURL = url; //Be sure to update the selenium.Open command with baseURL base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); base.description = "**This test goes to the Activities page and sorts the activities by column. FF does not click on the columns correctly and does not indicate a total browser failure**"; base.username = "******"; base.password = "******"; utility = new ConnectUtility(this); }
public Connect_GeneralNavigation(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Connect_General Navigation"; base.baseURL = url; base.selenium = webdriver; base.verificationErrors = verrors; base.username = "******"; base.password = "******"; base.quality = new QualityCheck(this); base.description = "**This test has a user log in, go to each page and make sure the header text is displayed**"; utility = new ConnectUtility(this); }
public Connect_SignInValidation(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Connect SignIn Validation"; //Enter Test Name base.baseURL = url; base.selenium = webdriver; base.verificationErrors = verrors; base.description = "**This test tries invalid combination of username and passwords to check validations, then logs in and out**"; quality = new QualityCheck(this); utility = new ConnectUtility(this); username = "******"; password = "******"; }
public Connect_MeasurementSettings(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Connect Measurement Settings"; base.baseURL = url; base.selenium = webdriver; base.verificationErrors = verrors; base.username = "******"; base.password = "******"; base.description = "**This test logs and and changes to metric and back and makes sure the message is shown.**"; quality = new QualityCheck(this); utility = new ConnectUtility(this); }
public Connect_ActivityDetail_Validation(string url, WebDriverBackedSelenium webdriver, StringBuilder verrors) { //****Enter in Script Name here**** base.id = "Activity Detail Validation"; //Enter Test Name base.baseURL = url; //Be sure to update the selenium.Open command with baseURL base.selenium = webdriver; base.verificationErrors = verrors; base.quality = new QualityCheck(this); base.description = "**Go to the Activity Detail and validate all numbers are reporting properly.**"; utility = new ConnectUtility(this); base.username = "******"; base.password = "******"; }
public CreateAccountPage(WebDriverBackedSelenium webdriver, ParentTest test) { driver = webdriver; customer = new Customer(); windowSet = new List<string>(); /* name = driver.UnderlyingWebDriver.FindElement(By.Id("name")); userName = driver.UnderlyingWebDriver.FindElement(By.Id("username")); emailAddress = driver.UnderlyingWebDriver.FindElement(By.Id("email")); phone = driver.UnderlyingWebDriver.FindElement(By.Id("phoneNumber")); password = driver.UnderlyingWebDriver.FindElement(By.Id("password")); passwordConfirmation = driver.UnderlyingWebDriver.FindElement(By.Id("passwordMatch")); createAccountBtn = driver.UnderlyingWebDriver.FindElement(By.Id("submitBtn")); continueBtn_BE = driver.UnderlyingWebDriver.FindElement(By.XPath("//div[@class='fieldset-footer']/input[@value='nl_Continuer']")); */ quality = new QualityCheck(test); utility = new ConnectUtility(test); }
public CreateAccountPage(WebDriverBackedSelenium webdriver, ParentTest test) { driver = webdriver; customer = new Customer(); windowSet = new List <string>(); /* * name = driver.UnderlyingWebDriver.FindElement(By.Id("name")); * userName = driver.UnderlyingWebDriver.FindElement(By.Id("username")); * emailAddress = driver.UnderlyingWebDriver.FindElement(By.Id("email")); * phone = driver.UnderlyingWebDriver.FindElement(By.Id("phoneNumber")); * password = driver.UnderlyingWebDriver.FindElement(By.Id("password")); * passwordConfirmation = driver.UnderlyingWebDriver.FindElement(By.Id("passwordMatch")); * createAccountBtn = driver.UnderlyingWebDriver.FindElement(By.Id("submitBtn")); * continueBtn_BE = driver.UnderlyingWebDriver.FindElement(By.XPath("//div[@class='fieldset-footer']/input[@value='nl_Continuer']")); */ quality = new QualityCheck(test); utility = new ConnectUtility(test); }