public void Accuracy() { GCDriver.FindElement(By.CssSelector("[href *= '/glossary/accuracy']")).Click(); GCDriver.FindElement(By.ClassName("lead")).Text.Equals("The ability to read words correctly."); TestingClass.IsElementPresentLinkText("Learning to Read: “The Simple View of Reading”", GCDriver); TestingClass.IsElementPresentCSS(".field.field-name-field-infographic", GCDriver); }
public void WhatsNewAndFeaturedBrief() { //tests the literary brieg text Assert.IsTrue(TestingClass.TextCheckMethodCSS("What's New", ".panel-pane.pane-custom.pane-7", GCDriver)); Assert.IsTrue(GCDriver.FindElement(By.LinkText("Featured Literacy Brief")).Text.Equals("Featured Literacy Brief")); }
public void TestTitle() { Assert.IsTrue(GCDriver.Title.Equals("Improving Literacy Briefs | National Center on Improving Literacy")); Assert.IsTrue(TestingClass.TextCheckMethodCSS("Improving Literacy Briefs", ".page__title", GCDriver)); Assert.IsTrue(TestingClass.TextCheckMethodClassName("Read research summaries and infographics written by our experts that simplify complex ideas related to literacy.", "lead", GCDriver)); TestingClass.IsElementPresentCSS(".container.header-icon", GCDriver); }
public void TestButtonArchive() { TestingClass.IsElementPresentCSS("[href *= '/events/archived']", GCDriver); GCDriver.FindElement(By.CssSelector("[href *= '/events/archived']")).Click(); Assert.IsTrue(GCDriver.FindElement(By.CssSelector(".page__title")).Text.Equals("Archived Events & Opportunities")); }
public void IndividualizedEdcuationalProgram() { GCDriver.FindElement(By.CssSelector("[href *= '/glossary/individualized-educational-program']")).Click(); GCDriver.FindElement(By.ClassName("lead")).Text.Equals("A written learning plan for special education services that is designed to meet the specific learning needs of a child."); TestingClass.IsElementPresentLinkText("Individualized Education Program (Spanish)", GCDriver); TestingClass.IsElementPresentLinkText("Individualized Education Program", GCDriver); }
public void AcademicLanguage() { GCDriver.FindElement(By.CssSelector("[href *= '/glossary/academic-language']")).Click(); GCDriver.FindElement(By.ClassName("lead")).Text.Equals("The formal language common in books and at school that students need to understand and communicate in academic disciplines."); TestingClass.IsElementPresentLinkText("Succeeding in School: Essential Features of Literacy Development", GCDriver); TestingClass.IsElementPresentCSS(".field.field-name-field-infographic", GCDriver); }
public void Identfication() { GCDriver.FindElement(By.CssSelector("[href *= '/glossary/identification']")).Click(); GCDriver.FindElement(By.ClassName("lead")).Text.Equals("A process used to determine whether a child has a disability."); TestingClass.IsElementPresentLinkText("The Role of RTI in LD Identification webcast", GCDriver); TestingClass.IsElementPresentLinkText("IDEA Definition of Learning Disability", GCDriver); TestingClass.IsElementPresentLinkText("The Individuals with Disabilities Education Act", GCDriver); }
public void EvidenceBased() { GCDriver.FindElement(By.CssSelector("[href *= '/glossary/evidence-based']")).Click(); GCDriver.FindElement(By.ClassName("lead")).Text.Equals("An intervention, tool, or practice that meets one of the four evidence levels in the federal Elementary and Secondary Education Act, as amended by ESSA (strong, moderate, promising, or demonstrates a rationale)."); TestingClass.IsElementPresentLinkText("What Counts as Evidence? Making Decisions for Instruction and Intervention in an MTSS Framework", GCDriver); TestingClass.IsElementPresentLinkText("An SEA Guide for Identifying Evidence-Based Interventions for School improvement", GCDriver); TestingClass.IsElementPresentLinkText("An LEA Guide for Identifying Evidence-Based Interventions for School improvement", GCDriver); }
public void EligibilityCategoryOrClassification() { GCDriver.FindElement(By.CssSelector("[href *= '/glossary/eligibility-category-or-classification']")).Click(); GCDriver.FindElement(By.ClassName("lead")).Text.Equals("One or more of the categories identified in IDEA to qualify a child for special education services."); TestingClass.IsElementPresentLinkText("IDEA Definition of Learning Disability", GCDriver); TestingClass.IsElementPresentLinkText("The Individuals with Disabilities Education Act", GCDriver); TestingClass.IsElementPresentLinkText("Parental Rights Under IDEA", GCDriver); }
public void KidZone() { TestingClass.IsElementPresentCSS(".panel-pane.pane-custom.pane-8.margin-bottom", GCDriver); GCDriver.FindElement(By.XPath("//*[@id='content']/div/div[1]/div[2]/div[1]/div/div/div/div/a")).Click(); //Assert.IsTrue(GCDriver.Title.Equals("Kid Zone! | Kid Zone! | National Center on Improving Literacy")); Assert.IsTrue(GCDriver.Title.Equals("Kid Zone! | Kid Zone! National Center on Improving Literacy")); }
public void Screening() { GCDriver.FindElement(By.CssSelector("[href *= '/glossary/screening']")).Click(); GCDriver.FindElement(By.ClassName("lead")).Text.Equals("Short processes to find students who need help in reading, writing, spelling, or math."); TestingClass.IsElementPresentLinkText("Learn the Signs, Act Early: Age 5 Milestones", GCDriver); TestingClass.IsElementPresentLinkText("Learn the Signs, Act Early: Video of Age 5 Milestones", GCDriver); TestingClass.IsElementPresentLinkText("Milestones of Early Literacy Development", GCDriver); }
public void YoutubePresent() { //GCDriver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(30); GCDriver.SwitchTo().Frame(0); TestingClass.IsElementPresentXpath("//*[@id='player']", GCDriver); //*[@id="player_uid_501086740_1"]/div[3]/div[1]/div[2]/a }
public void PhonologicalAwareness() { GCDriver.FindElement(By.CssSelector("[href *= '/glossary/phonological-awareness']")).Click(); GCDriver.FindElement(By.ClassName("lead")).Text.Equals("The ability to recognize that spoken words are made up of individual sound parts."); TestingClass.IsElementPresentLinkText("How We Learn to Read: The Critical Role of Phonological Awareness", GCDriver); TestingClass.IsElementPresentLinkText("Preschool Parent Practice Literacy Guides: Rhymes and Sound Awareness", GCDriver); TestingClass.IsElementPresentLinkText("Just Take 20 Rhyme Time Activity", GCDriver); }
public void Phonics() { GCDriver.FindElement(By.CssSelector("[href *= '/glossary/phonics']")).Click(); GCDriver.FindElement(By.ClassName("lead")).Text.Equals("Reading instruction on understanding how letters and groups of letters link to sounds to form letter-sound relationships and spelling patterns."); TestingClass.IsElementPresentLinkText("Does Your Kindergartner Decode Like This?", GCDriver); TestingClass.IsElementPresentLinkText("Does Your First Grader Decode Like This?", GCDriver); TestingClass.IsElementPresentLinkText("Does Your Second Grader Decode Like This?", GCDriver); }
public void Vocabulary() { GCDriver.FindElement(By.CssSelector("[href *= '/glossary/vocabulary']")).Click(); GCDriver.FindElement(By.ClassName("lead")).Text.Equals("Knowing what words mean and how to say and use them correctly."); TestingClass.IsElementPresentLinkText("Can Your Kindergartner Figure Out the Meaning of New Words?", GCDriver); TestingClass.IsElementPresentLinkText("Can Your First Grader Figure Out the Meaning of New Words?", GCDriver); TestingClass.IsElementPresentLinkText("Can Your Second Grader Figure Out the Meaning of New Words?", GCDriver); }
public void Dyslexia() { GCDriver.FindElement(By.CssSelector("[href *= '/glossary/dyslexia']")).Click(); GCDriver.FindElement(By.ClassName("lead")).Text.Equals("A brain-based learning disability that specifically impairs a person's ability to read."); TestingClass.IsElementPresentLinkText("Defining Dyslexia", GCDriver); TestingClass.IsElementPresentLinkText("Federal Guidance on Dyslexia from the Office of Special Education and Rehabilitative Services", GCDriver); TestingClass.IsElementPresentLinkText("Dyslexia Fact Sheet", GCDriver); TestingClass.IsElementPresentLinkText("Information and Resources for Adolescents and Adults with Dyslexia - It's Never Too Late", GCDriver); }
public void PhonemicAwareness() { GCDriver.FindElement(By.CssSelector("[href *= '/glossary/phonemic-awareness']")).Click(); GCDriver.FindElement(By.ClassName("lead")).Text.Equals("The ability to identify and play with individual sounds in spoken words."); TestingClass.IsElementPresentLinkText("Ask & Answer: Phonemic Awareness", GCDriver); TestingClass.IsElementPresentLinkText("Blending and Segmenting Games", GCDriver); TestingClass.IsElementPresentLinkText("Elkonin Boxes", GCDriver); TestingClass.IsElementPresentLinkText("Phonemic Awareness: Watch & Learn", GCDriver); }
public void Fluency() { GCDriver.FindElement(By.CssSelector("[href *= '/glossary/fluency']")).Click(); GCDriver.FindElement(By.ClassName("lead")).Text.Equals("The ability to read words, phrases, sentences, and stories correctly, with enough speed, and expression."); TestingClass.IsElementPresentLinkText("Learning to Read: “The Simple View of Reading”", GCDriver); TestingClass.IsElementPresentLinkText("Does Your Kindergartner Read Smoothly Like This?", GCDriver); TestingClass.IsElementPresentLinkText("Does Your First Grader Read Smoothly Like This?", GCDriver); TestingClass.IsElementPresentLinkText("Does Your Second Grader Read Smoothly Like This?", GCDriver); }
public void Intervention() { GCDriver.FindElement(By.CssSelector("[href *= '/glossary/intervention']")).Click(); GCDriver.FindElement(By.ClassName("lead")).Text.Equals("Additional small group or individualized instruction that is tailored to children's needs so they can make progress and be on track to meet grade level learning goals."); TestingClass.IsElementPresentLinkText("Is there any hope of my child actually catching up to his peers?", GCDriver); TestingClass.IsElementPresentLinkText("Expert Interview: Finding the Right Tutoring Program", GCDriver); TestingClass.IsElementPresentLinkText("What is Responsiveness to Intervention?", GCDriver); TestingClass.IsElementPresentLinkText("What Role do Parents Play in the RTI Process?", GCDriver); }
public void DefiningDyslexia() { GCDriver.FindElement(By.LinkText("Defining Dyslexia")).Click(); Assert.IsTrue(GCDriver.Title.Equals("Defining Dyslexia | National Center on Improving Literacy")); TestingClass.IsElementPresentCSS("[href *= 'improvingliteracy.org/sites/improvingliteracy1.uoregon.edu/files/briefs/Defining-Dyslexia.pdf']", GCDriver); TestingClass.IsElementPresentXpath("//*[@id='content']/div/div/div[1]/p[1]/img", GCDriver); TestingClass.IsElementPresentXpath("//*[@id='content']/div/div/div[1]/p[7]/a/img", GCDriver); TestingClass.IsElementPresentLinkText("Related Resources", GCDriver); }
public void MultiTieredSystemofSupport() { GCDriver.FindElement(By.CssSelector("[href *= '/glossary/multi-tiered-system-support']")).Click(); GCDriver.FindElement(By.ClassName("lead")).Text.Equals("A schoolwide framework that supports students who are struggling with reading, math, or social and emotional issues through different levels of intensity."); TestingClass.IsElementPresentLinkText("What is the relationship between MTSS and diagnosis of dyslexia? Does MTSS slow down the diagnosis?", GCDriver); TestingClass.IsElementPresentLinkText("The ABCs of RtI in Elementary School: A Guide for Families", GCDriver); TestingClass.IsElementPresentLinkText("The ABCs of RtI in Middle Schools: A Guide for Parents", GCDriver); TestingClass.IsElementPresentLinkText("A Family Guide to Response to Intervention", GCDriver); }
public void ReadingComprehension() { GCDriver.FindElement(By.CssSelector("[href *= '/glossary/reading-comprehension']")).Click(); GCDriver.FindElement(By.ClassName("lead")).Text.Equals("The ability to understand what you are reading."); TestingClass.IsElementPresentLinkText("Learning to Read: “The Simple View of Reading”", GCDriver); TestingClass.IsElementPresentLinkText("Does Your Kindergartner Show Understanding Like This?", GCDriver); TestingClass.IsElementPresentLinkText("Does Your First Grader Show Understanding Like This?", GCDriver); TestingClass.IsElementPresentLinkText("Does Your Second Grader Show Understanding Like This?", GCDriver); }
public void ScreeningAndID2() { GCDriver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(30); GCDriver.FindElement(By.LinkText("What is the relationship between MTSS and diagnosis of dyslexia? Does MTSS slow down the diagnosis?")).Click(); Assert.IsTrue(GCDriver.Title.Equals("What is the relationship between MTSS and diagnosis of dyslexia? Does MTSS slow down the diagnosis? | National Center on Improving Literacy")); TestingClass.IsElementPresentClassName("action", GCDriver); TestingClass.IsElementPresentClassName("figure", GCDriver); TestingClass.IsElementPresentLinkText("Related Resources", GCDriver); }
public void MainPageCheck() { System.Threading.Thread.Sleep(6000); Assert.IsTrue(GCDriver.FindElements(By.CssSelector(".btn.btn-primary.btn-lg.au-target"))[0].Text.Equals("I'm a Caregiver")); Assert.IsTrue(GCDriver.FindElements(By.CssSelector(".btn.btn-primary.btn-lg.au-target"))[1].Text.Equals("I'm a Practitioner")); GCDriver.FindElement(By.XPath("//*[@id='page-top']/header/div/div/div/nav")).Text.Equals("Home"); GCDriver.FindElement(By.XPath("//*[@id='page-top']/header/div/div/div/div")).Text.Equals("Answer questions to help assess your student's literacy level. Get recommendations to help your student succeed!"); TestingClass.IsElementPresentXpath("//*[@id='page-top']/header/div/div", GCDriver); }
public void KidZoneBoxTest() { Console.WriteLine("4 KidZone Box Test"); GCDriver.FindElement(By.CssSelector(".lead.margin-bottom")).Text.CompareTo(" The Literacy Playground for Kids & Families!"); Assert.IsTrue(TestingClass.TextCheckMethodClassName("LISTEN", "lime-text", GCDriver)); Assert.IsTrue(TestingClass.TextCheckMethodClassName("READ", "pink-text", GCDriver)); Assert.IsTrue(TestingClass.TextCheckMethodClassName("PLAY", "light-teal-text", GCDriver)); Console.WriteLine("4 KidZone Box Test COMPLETE"); }
public void WhatDoWeMeanByEvidenceBased() { GCDriver.FindElement(By.LinkText("What Do We Mean by Evidence-based?")).Click(); Assert.IsTrue(GCDriver.Title.Equals("What Do We Mean by Evidence-based? | National Center on Improving Literacy")); TestingClass.IsElementPresentCSS("[href *= '/improvingliteracy.org/sites/improvingliteracy1.uoregon.edu/files/briefs/what-do-we-mean-by-evidence-based.pdf']", GCDriver); TestingClass.IsElementPresentXpath("//*[@id='content']/div/div/div[1]/p[1]/img", GCDriver); TestingClass.IsElementPresentXpath("//*[@id='content']/div/div/div[1]/p[4]/a/img", GCDriver); TestingClass.IsElementPresentLinkText("Related Resources", GCDriver); }
public void TestHeader() { //header title Assert.IsTrue(TestingClass.TextCheckMethodClassName("You are here\r\nHome\r\nState Agencies\r\nDevelop and implement state and local structures, procedures and policies to address student challenges in learning to read and write.", "col-sm-8", GCDriver)); //header description Assert.IsTrue(TestingClass.TextCheckMethodCSS("Develop and implement state and local structures, procedures and policies to address student challenges in learning to read and write.", ".block.block-block.first.last.odd", GCDriver)); //Assert.IsTrue(GCDriver.FindElement(By.CssSelector(".container.header-icon")).Displayed; TestingClass.IsElementPresentCSS(".container.header-icon", GCDriver); }
public void KeyRolesForChildrensSuccess() { GCDriver.FindElement(By.LinkText("Key Roles for Children’s Literacy Success")).Click(); Assert.IsTrue(GCDriver.Title.Equals("Key Roles for Children’s Literacy Success | National Center on Improving Literacy")); TestingClass.IsElementPresentCSS("[href *= '/improvingliteracy.org/sites/improvingliteracy1.uoregon.edu/files/briefs/key-roles-for-childrens-reading-success.pdf']", GCDriver); TestingClass.IsElementPresentXpath("//*[@id='content']/div/div/div[1]/p[1]/img", GCDriver); TestingClass.IsElementPresentXpath("//*[@id='content']/div/div/div[1]/p[12]/a/img", GCDriver); TestingClass.IsElementPresentLinkText("Related Resources", GCDriver); TestingClass.IsElementPresentClassName("margin-bottom", GCDriver); }
public void PartneringWithYourChildsSchool() { GCDriver.FindElement(By.LinkText("Partnering With Your Child’s School")).Click(); Assert.IsTrue(GCDriver.Title.Equals("Partnering With Your Child’s School | National Center on Improving Literacy")); TestingClass.IsElementPresentCSS("[href *= '/improvingliteracy.org/sites/improvingliteracy1.uoregon.edu/files/briefs/Partnering-With-Childs-School.pdf']", GCDriver); TestingClass.IsElementPresentXpath("//*[@id='content']/div/div/div[1]/p[1]/img", GCDriver); TestingClass.IsElementPresentXpath("//*[@id='content']/div/div/div[1]/p[12]/a/img", GCDriver); TestingClass.IsElementPresentLinkText("Related Resources", GCDriver); TestingClass.IsElementPresentClassName("margin-bottom", GCDriver); }
public void LearningToRead() { GCDriver.FindElement(By.LinkText("Learning to Read: “The Simple View of Reading”")).Click(); Assert.IsTrue(GCDriver.Title.Equals("Learning to Read: “The Simple View of Reading” | National Center on Improving Literacy")); TestingClass.IsElementPresentCSS("[href *= '/improvingliteracy.org/sites/improvingliteracy1.uoregon.edu/files/briefs/Learing-to-Read-The-Simple-View-of-Reading.pdf']", GCDriver); TestingClass.IsElementPresentXpath("//*[@id='content']/div/div/div[1]/p[1]/img", GCDriver); TestingClass.IsElementPresentXpath("//*[@id='content']/div/div/div[1]/p[11]/a/img", GCDriver); TestingClass.IsElementPresentLinkText("Related Resources", GCDriver); TestingClass.IsElementPresentClassName("margin-bottom", GCDriver); }