예제 #1
0
 public void NavigateTnM(IWebDriver driver)
 {
     this.driver = driver;
     admin.Click();
     time.Click();
     WaitClass.ElementPresent(driver, "XPath", "//a[normalize-space()='Create New']");
 }
예제 #2
0
 public void DeleteCerticateDetails(IWebDriver driver)
 {
     NavigateCertification.Click();
     WaitClass.ElementPresent(driver, "XPath", "//*[@id='account-profile-section']/div/section[2]/div/div/div/div[3]/form/div[5]/div[1]/div[2]/div/table/tbody/tr/td/div/span/input[1]");
     Certifcate = CertifcationSaved.Text;
     DeleteCertificate.Click();
 }
예제 #3
0
파일: Login.cs 프로젝트: mayurigohil/TurnUp
        public void loginpage(IWebDriver driver)
        {
            // launch turn up portal

            driver.Navigate().GoToUrl("http://horse.industryconnect.io/Account/Login?ReturnUrl=%2f");
            driver.Manage().Window.Maximize();
            // identify username textbox and input username
            WaitClass.ElementPresent(driver, "Id", "UserName");
            IWebElement username = driver.FindElement(By.Id("UserName"));

            username.SendKeys("hari");
            // identify password textbox and input password
            IWebElement password = driver.FindElement(By.Id("Password"));

            password.SendKeys("123123");
            // identify login buton and click on the login button
            IWebElement loginButton = driver.FindElement(By.XPath("//*[@id='loginForm']/form/div[3]/input[1]"));

            loginButton.Click();
            WaitClass.ElementPresent(driver, "xpath", "//*[@id='logoutForm']/ul/li/a");
            // verify home page
            IWebElement helloHari = driver.FindElement(By.XPath("//*[@id='logoutForm']/ul/li/a"));

            if (helloHari.Text == "Hello hari!")
            {
                Console.WriteLine("Test Passed, Logged-in successfully");
            }
            else
            {
                Console.WriteLine("Test Failed, Login failed");
            }
        }
    // Use this for initialization
    void Start()
    {
        bt_next.SetActive(false);
        bt_insertAlcool.SetActive(false);
        bt_moveToEspec.SetActive(false);
        bt_calculoAlcool.SetActive(false);
        bt_removeCubeta.SetActive(false);
        bt_addSolution.SetActive(false);
        bt_calculoEspec.SetActive(false);
        bt_restart.SetActive(false);

        listDialog.Add(Resources.Load <Sprite> ("espec_text_1"));
        listDialog.Add(Resources.Load <Sprite> ("espec_text_2"));
        listDialog.Add(Resources.Load <Sprite> ("espec_text_3"));
        listDialog.Add(Resources.Load <Sprite> ("espec_text_4"));
        listDialog.Add(Resources.Load <Sprite> ("espec_text_5"));
        listDialog.Add(Resources.Load <Sprite> ("espec_text_6"));
        listDialog.Add(Resources.Load <Sprite> ("espec_text_7"));
        listDialog.Add(Resources.Load <Sprite> ("espec_text_8"));
        listDialog.Add(Resources.Load <Sprite> ("espectrofotometro_text"));
        listDialog.Add(Resources.Load <Sprite> ("espec_text_9"));

        wait = GameObject.Find("espectrofotometro").GetComponent <WaitClass> ();

        absText.text = "Abs: " + absorvancia;
        traText.text = "TR: " + transmitancia;
        conText.text = "C: " + concentracao;
        eText.text   = "E: " + coeficienteAbs;

        currentState           = EspecStates.step0;
        textDialogEspec.sprite = listDialog [0];

        pathFollow = GameObject.Find("Camera").GetComponent <PathFollow> ();
    }
예제 #5
0
        public void DeleteCustomer(IWebDriver driver)
        {
            this.driver = driver;
            //Wait till table is loaded
            WaitClass.ElementPresent(driver, "Xpath", "//tbody/tr[3]/td[4]/a[2]");

            //Trim and record the count of the records before delete
            string count      = PagerCount.Text;
            string FinalCount = count.Substring(10, 4);

            Regex.Replace(FinalCount, "[^0-9]+", string.Empty);
            TestContext.WriteLine(FinalCount);

            //Delete Customer
            Delete.Click();
            driver.SwitchTo().Alert().Accept();

            //Wait till Table is loaded
            WaitClass.ElementPresent(driver, "Xpath", "//tbody/tr[3]/td[4]/a[2]");

            //Trim and record the count of the records after delete
            string count1      = PagerCount.Text;
            string FinalCount1 = count1.Substring(10, 4);

            Regex.Replace(FinalCount1, "[^0-9]+", string.Empty);
            TestContext.WriteLine(FinalCount1);

            //Validate before and after count
            Assert.Less(FinalCount1, FinalCount);
        }
예제 #6
0
 //Fill Skill Share Page
 public void ShareSkillPage()
 {
     ShareSkillButton.Click();
     WaitClass.ElementPresent(driver, "Name", "categoryId");
     Title.SendKeys(ExcelLibHelper.ReadData(rownum, "Title"));
     Description.SendKeys(ExcelLibHelper.ReadData(rownum, "Description"));
 }
예제 #7
0
        //Select Sub Category
        public void SelectSubCategory()
        {
            WaitClass.ElementPresent(driver, "Name", "subcategoryId");
            SelectElement select          = new SelectElement(SubCategory);
            var           SubCategorydata = ExcelLibHelper.ReadData(rownum, "SubCategory");

            select.SelectByText(SubCategorydata);
        }
예제 #8
0
 public void NavigateCustomer(IWebDriver driver)
 {
     this.driver = driver;
     admin.Click();
     Thread.Sleep(1000);
     Customer.Click();
     WaitClass.ElementPresent(driver, "XPath", "//a[normalize-space()='Create New']");
 }
예제 #9
0
        //public IWebElement CheckBox => driver.FindElement(By.Id("IsSameContact"));


        public void CustomerPage(IWebDriver driver)
        {
            this.driver = driver;
            CreateNew.Click();
            WaitClass.ElementPresent(driver, "Id", "Name");
            Name.SendKeys("Automated");
            Edit.Click();
            driver.SwitchTo().Frame(0);
        }
예제 #10
0
        public void ValidateEditSkillDetails(IWebDriver driver)
        {
            WaitClass.ElementPresent(driver, "XPath", "//div[@class='ui bottom attached tab segment tooltip-target active']//tbody[1]/tr[1]/td[1]");
            String Skills = SkillSaved.Text;

            TestContext.WriteLine(Skills);
            WaitClass.ElementPresent(driver, "ClassName", "ns-box-inner");
            Assert.That(Notification.Text == Skills + " " + "has been updated to your skills");
        }
예제 #11
0
        public void DeleteSkillDetails(IWebDriver driver)
        {
            WaitClass.ElementPresent(driver, "XPath", "//div[@class='ui bottom attached tab segment tooltip-target active']//tbody[1]/tr[1]/td[1]");
            String Skills = SkillSaved.Text;

            DeleteSkill.Click();
            WaitClass.ElementPresent(driver, "ClassName", "ns-box-inner");
            Assert.That(Notification.Text == Skills + " " + "has been deleted from your languages");
        }
예제 #12
0
        public void ValidateEditCertificate(IWebDriver driver)
        {
            WaitClass.ElementPresent(driver, "XPath", "//div[@class='ui bottom attached tab segment tooltip-target active']//tbody");
            String Certifcate = CertifcationSaved.Text;

            TestContext.WriteLine(Certifcate);
            WaitClass.ElementPresent(driver, "ClassName", "ns-box-inner");
            Assert.That(Notification.Text == Certifcate + " " + "has been updated to your certification");
        }
예제 #13
0
        public void ManageListingsActive()
        {
            //Calling Excel library to get the data
            var ExpectedCategory     = ExcelLibHelper.ReadData(rownum, "Category");
            var ExpectedTitle        = ExcelLibHelper.ReadData(rownum, "Title");
            var ExpectedDescription  = ExcelLibHelper.ReadData(rownum, "Description");
            var ExpectedService      = ExcelLibHelper.ReadData(rownum, "ServiceType");
            var ExpectedSubCategory  = ExcelLibHelper.ReadData(rownum, "SubCategory");
            var ExpectedStartDate    = ExcelLibHelper.ReadData(rownum, "StartDate");
            var ExpectedEndDate      = ExcelLibHelper.ReadData(rownum, "EndDate");
            var ExpectedLocationType = ExcelLibHelper.ReadData(rownum, "LocationType");
            var ExpectedSkillTrade   = ExcelLibHelper.ReadData(rownum, "Skill");

            //Wait for the Table to get displayed
            WaitClass.ElementPresent(driver, "XPath", "//*[@id='listing-management-section']/div[2]/div[1]/div[1]/table/tbody/tr[1]/td[7]/div/input");

            //Creating variables for all the data on Manage listing page
            var ActualCategory    = Category.Text;
            var ActualTitle       = Title.Text;
            var ActualServiceType = ServiceType.Text;

            View.Click();
            WaitClass.ElementPresent(driver, "XPath", "//*[@id='service-detail-section']/div[2]/div/div[2]/div[1]/div[1]/div[2]/div[2]/div/div/div[2]/div/div[2]/div/div[2]");
            var    ActualSubCategory  = SubCategory.Text;
            var    ActualDescription  = DescriptionText.Text;
            var    SDate              = StartDate.Text;
            String ActualStartDate    = String.Join("", SDate.Split('-').Reverse());
            var    EDate              = EndDate.Text;
            String ActualEndDate      = String.Join("", EDate.Split('-').Reverse());
            var    ActualLocationType = LocationType.Text;
            var    ActualSkillTrade   = SkillTrade.Text;

            // Back to the Manage listing Page
            driver.Navigate().Back();

            //Wait for Manage listings table to get displayed
            WaitClass.ElementPresent(driver, "XPath", "//*[@id='listing-management-section']/div[2]/div[1]/div[1]/table/tbody/tr[1]/td[7]/div/input");

            //Create logs for Validating step
            Tests._test.Log(Status.Info, "Validating Data on Manage listing");

            //Multile Assertion to validate all the data
            Assert.Multiple(() =>
            {
                Assert.That(ActualCategory == ExpectedCategory);
                Assert.That(ActualTitle == ExpectedTitle);
                Assert.That(ActualDescription == ExpectedDescription);
                Assert.That(ActualServiceType == ExpectedService);
                Assert.True(Active.ElementAt(0).Selected);
                Assert.That(ActualSubCategory == ExpectedSubCategory);
                Assert.That(ActualStartDate == ExpectedStartDate);
                Assert.That(ActualEndDate == ExpectedEndDate);
                Assert.That(ActualLocationType == ExpectedLocationType);
                Assert.That(ActualSkillTrade == ExpectedSkillTrade);
            });
        }
예제 #14
0
        public void ValidateEditLanguageDetails(IWebDriver driver)
        {
            this.driver = driver;
            WaitClass.ElementPresent(driver, "CssSelector", "tbody tr td:nth-child(1)");
            String Language = NameSaved.Text;

            TestContext.WriteLine(Language);
            WaitClass.ElementPresent(driver, "ClassName", "ns-box-inner");
            Assert.That(Notification.Text == Language + " " + "has been updated to your languages");
        }
예제 #15
0
 public void EditCertificateDetails(IWebDriver driver)
 {
     NavigateCertification.Click();
     WaitClass.ElementPresent(driver, "XPath", "//*[@id='account-profile-section']/div/section[2]/div/div/div/div[3]/form/div[5]/div[1]/div[2]/div/table/tbody/tr/td/div/span/input[1]");
     EditCertificate.Click();
     Certificate.SendKeys(ExcelLibHelper.ReadData(rownum, "Certificate"));
     CertificationFrom.SendKeys(ExcelLibHelper.ReadData(rownum, "From"));
     CertificationYear.SelectByValue(ExcelLibHelper.ReadData(rownum, "CertificationYear"));
     UpdateCertificate.Click();
 }
예제 #16
0
 public void EditEducation(IWebDriver driver)
 {
     NavigateEducation.Click();
     EditEducationDetails.Click();
     WaitClass.ElementPresent(driver, "XPath", "//*[@id='account-profile-section']/div/section[2]/div/div/div/div[3]/form/div[4]/div/div[2]/div/table/tbody/tr/td/div[3]/input[1]");
     CollegeName.SendKeys(ExcelLibHelper.ReadData(rownum, "CollegeName"));
     Country.SelectByValue(ExcelLibHelper.ReadData(rownum, "Country"));
     title.SelectByValue(ExcelLibHelper.ReadData(rownum, "CollegeTitle"));
     Degree.SendKeys(ExcelLibHelper.ReadData(rownum, "degree"));
     YearOfGraduation.SelectByValue(ExcelLibHelper.ReadData(rownum, "Year"));
     UpdateEducation.Click();
 }
예제 #17
0
 public void LoginPage(IWebDriver driver)
 {
     this.driver = driver;
     driver.Navigate().GoToUrl("http://*****:*****@"C:\Users\Dell\Documents\VB Feb 2021\MarsOnboardingTask\MarsOnboardingTask\Data\TestData.xlsx");
     EmailAddress.SendKeys(ExcelLibHelper.ReadData(2, "username"));
     Password.SendKeys(ExcelLibHelper.ReadData(2, "password"));
     LoginBtn.Click();
     Thread.Sleep(3000);
     WaitClass.ElementPresent(driver, "CssSelector", "i[class='outline write icon']");
 }
예제 #18
0
        public void LoginPage(IWebDriver driver)
        {
            this.driver = driver;
            var Name = ExcelLibHelper.ReadData(rownum, "name");

            WaitClass.ElementPresent(driver, "XPath", "//a[normalize-space()='Sign In']");
            SignIn.Click();
            driver.SwitchTo().ActiveElement();
            EmailAddress.SendKeys(ExcelLibHelper.ReadData(rownum, "username"));
            Password.SendKeys(ExcelLibHelper.ReadData(rownum, "password"));
            LoginBtn.Click();
            Thread.Sleep(2000);
            TestContext.WriteLine(Name);
            Assert.That(PName.Text == "Hi " + Name);

            //    WaitClass.ElementPresent(driver, "XPath", "//*[@id='account-profile-section']/div/div[1]/div[2]/div/span");
        }
예제 #19
0
 public void ValidateShowLess()
 {
     try
     {
         while (ShowLess.Displayed)
         {
             ShowLess.Click();
             Thread.Sleep(500);
             WaitClass.ElementPresent(driver, "Xpath", "//*[@id='notification-section']/div[2]/div/div/div[3]/div[2]/a/h1");
         }
     }
     catch (NoSuchElementException e)
     {
         TestContext.WriteLine("All the data is shown and validated", e.Message);
     }
     catch (Exception e)
     {
         TestContext.WriteLine("System Error", e.Message);
     }
 }
예제 #20
0
    public void LoginAsGuestAndRegister()
    {
        LoginPageObject   LoginPage   = new LoginPageObject();
        LobbyPageObject   LobbyPage   = new LobbyPageObject();
        ProfilePageObject ProfilePage = new ProfilePageObject();
        WebDriverWait     wait        = new WebDriverWait(PropertiesCollection.driver, TimeSpan.FromSeconds(10));

        wait.Until(ExpectedConditions.ElementIsVisible(By.CssSelector("button.guest")));
        LoginPage.ButtonGuest.Click();
        Thread.Sleep(4000);
        Assert.AreEqual(@"http://172.16.45.50:9001/#/lobby", PropertiesCollection.driver.Url);
        Thread.Sleep(4000);
        PropertiesCollection.driver.SwitchTo().ActiveElement();
        LobbyPage.ButtonCollect.Click();
        Thread.Sleep(2000);
        LobbyPage.MyProfile.Click();
        Thread.Sleep(2000);
        ProfilePage.Register.Click();
        Thread.Sleep(2000);
        PropertiesCollection.driver.SwitchTo().ActiveElement();
        ProfilePage.Username.SendKeys("*****@*****.**");
        Thread.Sleep(2000);
        ProfilePage.Password.SendKeys("[email protected]");
        Thread.Sleep(2000);
        WaitClass.WaitForElementMethod(ProfilePage.RegisterButton);
        ProfilePage.RegisterButton.Click();
        Thread.Sleep(3000);
        WaitClass.WaitForElementMethod(LobbyPage.ButtonCollect);
        Thread.Sleep(3000);
        LobbyPage.ButtonCollect.Click();
        Thread.Sleep(3000);
        WaitClass.WaitForElementMethod(ProfilePage.ResendEmailButton);
        ProfilePage.ResendEmailButton.Click();
        Thread.Sleep(3000);
        PropertiesCollection.driver.SwitchTo().ActiveElement();
        string expectedMessage = "THANKS!";
        string message         = PropertiesCollection.driver.FindElement(By.CssSelector("div>mat-card-title")).Text;

        Assert.AreEqual(expectedMessage, message);
        ProfilePage.ButtonOKResendEmail.Click();
    }
예제 #21
0
        public void RegisterAccount(IWebDriver driver)

        {
            var Data = ExcelLibHelper.ReadData(rownum, "Status");

            Join.Click();
            WaitClass.ElementPresent(driver, "Name", "lastName");
            FirstName.SendKeys(ExcelLibHelper.ReadData(rownum, "Firstname"));
            LastName.SendKeys(ExcelLibHelper.ReadData(rownum, "Lastname"));
            Email.SendKeys(ExcelLibHelper.ReadData(rownum, "Email"));
            Password.SendKeys(ExcelLibHelper.ReadData(rownum, "Password"));
            ConfirmPassword.SendKeys(ExcelLibHelper.ReadData(rownum, "ConfirmPassword"));
            Terms.Click();
            Submit.Click();

            try
            {
                if (Data == "Valid")
                {
                    WaitClass.ElementPresent(driver, "ClassName", "ns-box-inner");
                    if (Notification.Text == "Registration Successfull")
                    {
                        TestContext.WriteLine(Notification.Text);
                    }
                }
                else
                {
                    String EmailValidationMsg = EmailVerification.Text;
                    if (EmailValidationMsg == "This email has already been used to register an account.")
                    {
                        TestContext.WriteLine("The account has already been created with this emailID, Please log in using exisitng account details");
                    }
                }
            }
            catch (Exception e)
            {
                Assert.Fail("Registration failed due to 1 or more errors. Make sure that there isn't an existing account", e.Message);
            }
        }
예제 #22
0
 public void EditContactDetails(IWebDriver driver, TestData data)
 {
     this.driver = driver;
     Fname.SendKeys(data.Fname);
     Lname.SendKeys(data.Lname);
     Pname.SendKeys(data.Pname);
     Phone.SendKeys(data.Phone);
     Mobile.SendKeys(data.Mobile);
     Email.SendKeys(data.Email);
     Fax.SendKeys(data.Fax);
     Address.SendKeys(data.Address);
     Street.SendKeys(data.Street);
     City.SendKeys(data.City);
     PostCode.SendKeys(data.Postcode);
     Country.SendKeys(data.Country);
     SubmitButton.Click();
     driver.SwitchTo().DefaultContent();
     CheckBox.Click();
     SubmitButton.Click();
     driver.Navigate().Back();
     WaitClass.ElementPresent(driver, "Xpath", "//tbody/tr[3]/td[4]/a[2]");
 }
예제 #23
0
    public void LoginEditProfile()
    {
        LoginPageObject   page    = new LoginPageObject();
        ProfilePageObject profile = new ProfilePageObject();
        LobbyPageObject   lobby   = new LobbyPageObject();

        System.Threading.Thread.Sleep(2000);
        page.Username.SendKeys("*****@*****.**");
        page.Password.SendKeys("[email protected]");
        WebDriverWait wait = new WebDriverWait(PropertiesCollection.driver, TimeSpan.FromSeconds(10));

        wait.Until(ExpectedConditions.ElementToBeClickable(By.CssSelector("button.mt-sm-1")));
        if (page.ButtonLogin.Enabled)
        {
            page.ButtonLogin.Click();
            System.Threading.Thread.Sleep(5000);
            Assert.AreEqual(@"http://172.16.45.50:9001/#/lobby", PropertiesCollection.driver.Url);
        }
        else
        {
            throw new ArgumentException("Button is unavaliable");
        }
        System.Threading.Thread.Sleep(4000);
        lobby.MyProfile.Click();
        Thread.Sleep(2000);
        profile.ButtonEditProfile.Click();
        Thread.Sleep(2000);
        profile.NickNameField.Clear();
        profile.NickNameField.SendKeys("SomeNewNick");
        PropertiesCollection.driver.FindElement(By.CssSelector("#item-select>div>div.wrap.text-left.item-selected>div>i")).Click();
        Thread.Sleep(2000);
        PropertiesCollection.driver.FindElement(By.CssSelector("#item-select>div>div:nth-child(4)>span")).Click();
        Thread.Sleep(2000);
        WaitClass.WaitForElementMethod(profile.EditProfileSaveBtn);
        profile.EditProfileSaveBtn.Click();
        Thread.Sleep(4000);
    }
예제 #24
0
 public void ValidateDeleteEducation(IWebDriver driver)
 {
     WaitClass.ElementPresent(driver, "ClassName", "ns-box-inner");
     Assert.That(Notification.Text == "Education entry successfully removed");
 }
예제 #25
0
 public void DeleteEducation(IWebDriver driver)
 {
     NavigateEducation.Click();
     WaitClass.ElementPresent(driver, "XPath", "//*[@id='account-profile-section']/div/section[2]/div/div/div/div[3]/form/div[4]/div/div[2]/div/table/tbody/tr/td/div[3]/input[1]");
     DeleteEducationDetails.Click();
 }
예제 #26
0
 public void ValidateEditEducation(IWebDriver driver)
 {
     WaitClass.ElementPresent(driver, "ClassName", "ns-box-inner");
     Assert.That(Notification.Text == "Education as been updated");
 }
예제 #27
0
파일: TnM.cs 프로젝트: mayurigohil/TurnUp
        public void CreateTM(IWebDriver driver)
        {
            //Click on Create New
            IWebElement createnew = driver.FindElement(By.XPath("//*[@id='container']/p/a"));

            createnew.Click();

            //Fill the details
            IWebElement typecode = driver.FindElement(By.XPath("//*[@id='TimeMaterialEditForm']/div/div[1]/div/span[1]/span/span[1]"));

            typecode.Click();


            IWebElement code = driver.FindElement(By.XPath("//*[@id='TypeCode_listbox']/li[2]"));

            code.Click();

            IWebElement codetext = driver.FindElement(By.Id("Code"));

            codetext.SendKeys("First code2");

            IWebElement description = driver.FindElement(By.Id("Description"));

            description.SendKeys("First code description2");


            IWebElement text;

            text = driver.FindElement(By.XPath("//*[@id='TimeMaterialEditForm']/div/div[4]/div/span[1]/span/input[1]"));
            text.Click();

            IWebElement price = driver.FindElement(By.Id("Price"));

            price.SendKeys("15");

            IWebElement element = driver.FindElement(By.Id("files"));

            element.SendKeys("C:\\Users\\Dell\\Downloads\\PPT\\Test.txt");

            IWebElement save = driver.FindElement(By.Id("SaveButton"));

            save.Click();


            //Go to last page
            WaitClass.ElementPresent(driver, "Xpath", "//*[@id='tmsGrid']/div[4]/a[4]/span");
            Thread.Sleep(1000);
            IWebElement LastPage = driver.FindElement(By.XPath("//*[@id='tmsGrid']/div[4]/a[4]/span"));

            LastPage.Click();

            //WaitClass.ElementDisable(driver, "Xpath", "//*[@id='tmsGrid']/div[3]/table/tbody/tr[1]/td[1]");
            //Implicit Wait
            Thread.Sleep(1000);

            //Validate Saved data and print result
            Assert.Multiple(() =>
            {
                Assert.That(driver.FindElement(By.XPath("//*[@id='tmsGrid']/div[3]/table/tbody/tr[last()]/td[1]")).Text == "First code2");
                Assert.That(driver.FindElement(By.XPath("//*[@id='tmsGrid']/div[3]/table/tbody/tr[last()]/td[2]")).Text == "T");
                Assert.That(driver.FindElement(By.XPath("//*[@id='tmsGrid']/div[3]/table/tbody/tr[last()]/td[3]")).Text == "First code description2");
                Assert.That(driver.FindElement(By.XPath("//*[@id='tmsGrid']/div[3]/table/tbody/tr[last()]/td[4]")).Text == "$15.00");
            });
        }
예제 #28
0
 public void ValidateDeleteCertificate(IWebDriver driver)
 {
     WaitClass.ElementPresent(driver, "ClassName", "ns-box-inner");
     Assert.That(Notification.Text == Certifcate + " " + "has been deleted from your certification");
 }
예제 #29
0
 public void ValidateAddDesCriptionDetails(IWebDriver driver)
 {
     this.driver = driver;
     WaitClass.ElementPresent(driver, "ClassName", "ns-box-inner");
     Assert.That(Notification.Text == "Description has been saved successfully");
 }
예제 #30
0
 public void ValidateEducationDetails(IWebDriver driver)
 {
     this.driver = driver;
     WaitClass.ElementPresent(driver, "ClassName", "ns-box-inner");
     Assert.That(Notification.Text == "Education has been added");
 }