Beispiel #1
0
        [Test]//run the test case ----make method as a calleable
        public void ExtenstionMethodcl()
        {
            //RefactoringCustomSetMethod.EnterText("firstname", "prashant", Elementtype.Id);
            EAPageObject page = new EAPageObject();

            page.FillStudentFormUsing_ExtensionMethod("prashant");
        }
Beispiel #2
0
        [Test]//run the test case ----make method as a calleable
        public void ExtenstionMethodcl()
        {
            StudentPageObject studentPageObject = new StudentPageObject();
            //EAPageObject PageEA = studentPageObject.CreateStudent("prashant", "pimpalkar", "01/01/2012");
            EAPageObject PageEA = studentPageObject.CreateStudentUsing_ExtensionMethod("prashant", "pimpalkar", "01/01/2012");

            ///EAPageObject PageEA = new EAPageObject();
            PageEA.FillStudentFormUsing_ExtensionMethod("sw");
        }