Selenium Course Content

Embed Size (px)

DESCRIPTION

Selenium Course Content

Citation preview

Selenium IDESelenium IDE ContentsTopic Covered DateStatus Installing Selenium IDECovered Recording ScriptCovered Running, Pausing and debugging ScriptCovered Running a script line by lineCovered Inserting commands in between scriptCovered XPATHS and installing firebug to get XPATHSCovered Wait CommandsCovered Verification and AssertionsCovered Should I use verify or assertionCovered Echo, StoreEval and StoredVars DemystifiedCovered Creating your own user extensions.Covered Making a function in user extension to generate random email address.Covered Extracting all values of dropdown.Covered Handling JavaScript AlertsCovered Capturing screenshots from Selenium IDE

JavaJava Course ContentTopic Covered DateStatus Selenium OverviewCovered Installing JavaCovered Installing EclipseCovered Features of JavaCovered Why Java for SeleniumCovered First Eclipse ProjectCovered First Java programCovered Concept of class fileCovered Platform independenceCovered Data types in JavaCovered String classCovered If statementsCoveredRefer PPT Test automation Using SeleniumLoops, Arrays and Functions Conditional and concatenation operatorsCovered While LoopCovered For LoopsCovered Practical Examples with loopsCovered Usage of loops in SeleniumCovered Single Dimensional ArraysCovered Two Dimensional arraysCovered Practical usage of arrays in SeleniumCoveredWe have used array in Frameworks with Looping of I and J Drawbacks of arrays What are Functions?Covered Function Input Parameters Function Return TypesCoveredWe have used return type double to store the data in double instead of string in orbitz exampleObject Oriented Programming- 1 Local VariablesCovered Global VariablesCovered Static and Non-Static Variables Static and Non-Static Functions Creating Objects in Java Meaning of static Why is main method static? Object and Object References Call by reference and Value Constructors Usage of Objects in SeleniumObject Oriented Programming -2 Concept of Inheritancehttp://hmsinghselenium.blogspot.in/2013/02/inheritance-java.html Interface Overloading and Overriding Functions Example on inheritance Object Class Usage of Inheritance in SeleniumPackages, Access Modifiers/ Exception Handling Relevance of Packages Creating Packages Accessing Classes Across Packages Good Features of eclipse Accessing modifiers - Public, Private, Default, Protected Exception hiding with try catch block Importance of exception handling Exception and Error Throwable Class Final and Finally Throw and Throws Different Types of Exceptions Need of exception handling in Selenium frameworkCoveredThrows statement used in every code for exceptionString, File Handling, Log4j, /Handling XLS files String class and functionsCoveredUsed this to store Price in program by orbitz examplehttp://hmsinghselenium.blogspot.in/2013/02/java-string-fundamentals.html Reading/Writing Text Fileshttp://hmsinghselenium.blogspot.in/2013/02/java-reading-and-writing-in-file.html Reading Properties File in JavaCoveredExcelread.java code Concept of jar fileCovered POI API in javaCoveredWe have only used POI API to read the data as per part of our course. Reading/Writing Microsoft XLS FilesCovered Log4j API for LoggingLog4j is for advance USERs who are frequent coders in seleniumhttp://www.tutorialspoint.com/log4j/log4j_quick_guide.htm Usage of Log4J in Seleniumhttp://www.tutorialspoint.com/log4j/log4j_quick_guide.htmFor the advance level JAVA I clearly mentioned that we will Only teach you JAVA that will be only helpful as per the Selenium purpose as Ideally JAVA is prerequistie to learn selenium though I have shared this URL to you.(For Advance Level JAVA like OOPS)http://www.tutorialspoint.com/java/

Selenium RCJava Cource ContentTopic Covered DateStatus What is Selenium RC?Covered Difference between Selenium IDE and Selenium RCCovered Difference between Webdriver(2.x) and Selenium RC(1.x)Covered Configuring Selenium RC in EclipseCovered Javadocs for Selenium RCCovered Selenium InterfaceCovered Starting and Stopping Selenium ServerCovered Running Sample Selenium code using SeleneseTestCase classCoveredThe main class in code is the same thing refer Demo.java code find flight in orbitz by selenium RC code where you can find Junit annotations as well Running Sample Selenium code using DefaultSelenium classCoveredThe main class in code is the same thing refer Demo.java code and compare first method with http://massapi.com/class/de/DefaultSelenium.html Browsers supported by RCCovered FireBug and FirepathCovered XPATHS and their usage with Selenium RCCovered Full and partial XpathsCoveredAbsolute VS Reateive XpathSelenium RC Features Handling HTML components like Links, Buttons, Input box, Radio buttons,Covered CheckboxCovered Handling a dropdown list Reading title of page using Selenium RCCovered Closing brosers and killing sessionsCovered Slowing down the script execution speedhttp://hmsinghselenium.blogspot.in/2013/02/pausing-execution-threadsleeptime.html Capturing Screenshots with Selenium RC Extracting Data from Webtable cellsCoveredWe can use any locators to extract data from any area if you are good at xpath and css selector methods as taught to you Checking if an element/object is present on the page or notCovered Checking if text is present in the applicationCovered Handling javascript alert message boxesI have taught to you the same for IDE you can convert and modify and do some practices by your own if you want to go with it. Full and partial XpathsCoveredRelative VS Absolute path - Refer PPT Selenium webdriver locatorsHandling Buttons,Edit boxes, Radio buttons, Checkboxes CoveredCheck Demo.java written in Selenium RC script for this

Selenium WebDriverSelenium WebDriver ContentsTopic Covered DateStatus Why WebDriver?Covered Selenium RC and WebdriverCovered Downloading and configuring webdriver in eclipseCovered WebDriver InterfaceCovered Drivers for Firefox, IE, chrome, Iphone, Android etcCovered First Selenium WebDriver CodeCovered Opening multiple browsers at one timeI have given example in Selenium IDE you can convert the existing script and make it run in selenium webdriver Close and Quit methods in WebdriverCovered What is Firefox profileCovered Creating own Firefox profileCoveredSelenium WebDriver 2 Installing Firebug and FirePath Add-ons in FirefoxCovered Using Firebug and FirepathCovered HTML language tagsCovered Handling Links with WebDriverCovered Extracting Xpaths and relevance of XpathsCovereduse locators simly to do identification of amy of the element Identifying WebElements using id, name, linkname, class, xpath, tagname etcCovereduse locators simly to do identification of amy of the element Handling Input Box/ButtonsCovereduse locators simly to do identification of amy of the element Handling WebListCovereduse locators simly to do identification of amy of the element Handling Radio Buttons, CheckBoxesCovereduse locators simly to do identification of amy of the elementSelenium Webdriver 3 Dynamic objectsCoveredRuntime Elements ID Change Dynamically Extracting links and other webelements Capturing screenshots with WebDriverhttp://hmsinghselenium.blogspot.in/2013/02/takinng-screenshot-webdriver.html Window handlesI have given example in Selenium IDE you can convert the existing script and make it run in selenium webdriver (Multiple Window example) Tabbed browsing with Selenium Example of Tabbed browsing Pop up handling in SeleniumI have given example in Selenium IDE you can convert the existing script and make it run in selenium webdriver Example of Pop up handlingI have given example in Selenium IDE you can convert the existing script and make it run in selenium webdriver Managing variable xpaths Certificate error handling using WebDriverSelenium WebDriver 4 Pausing execution for sometimeCovered Introducing wait for sometimeCovered Handling JavaScript alert messages with SeleniumI have given example in Selenium IDE you can convert the existing script and make it run in selenium webdriverhttp://hmsinghselenium.blogspot.in/2013/02/handling-alert-in-java-selenium.html Simulating the Keyboard Keypress eventCovered Simulating Pressing Enter Button of Keyboardhttp://hmsinghselenium.blogspot.in/2013/02/simulating-keyboard-keypress-event.htmlSelenium 2.0 Features 3 Extracting Data From WebTablehttp://hmsinghselenium.blogspot.in/2013/02/handling-dynamic-webtable.html Attaching files with Selenium Mouse movement with Selenium- Mouse Interface Working with Caleder using Seleniumhttp://hmsinghselenium.blogspot.in/2013/02/calender-selecting-dates.html Handling AjaxAutosuggestsWorking with ChromeDriver Configuring chromderiver.exeCovered Uploading files in Chrome Tabbed browsing and Popup handling in Chromehttp://hmsinghselenium.blogspot.in/2013/02/handling-tabbed-window-and-pop-ups.html Certificate handling in Chrome Moving mouse in ChromeSelenium 2.0 Features 5 Simulaing front and back button click on Browser using selenium Assigning Firefox profile parameters Downloading files using selenium Selenium Javadocs Moving a mouse on a Object and right clicking on it Finding Coordinates of a Web Object Actions class in Webdriver

FrameworksFramework ContentsTopic Covered DateStatus Overview of Data driven frameworkCovered Building the Test Base ClassCovered Using Annotations of TestNGWe have used Junit so we have not included TestNG annotations Reading XPATHS, Configuration from properties fileCovered Initialize the WebdriverCovered Building the Test Base ClassCovered Implementing WebDriver Implicit WaitCovered Implementing tests and batch running themCovered Repeating a test with different DataCovered Building utility functionsCovered Parameterizing tests using XL FilesCovered Controlling Execution order from XL FilesCoveredI have shown you how we can set Flag by "Y" and "N" to control the execution in one of the example of keyword.xls file. Assertions and Reporting Errors / ErrorCollectorCovered Storing Screenshots of errors Running the framework through ANT Generating the HTML reports Emailing test reports Creating a BAT file for project executionJunit and Hybrid (Keyword+Data) Driven Framework Overview of Hybrid(Keyword+Data Driven) FrameworkCovered Building XLS File Having Test Cases and KeywordsCovered Building XLS File Having Test DataCovered Building Base classCovered Reading XPATHS, Configuration from properties fileCovered Implementing ImplicitWaitCovered Implementing the keywords using the reflection APIWe have covered simple ROBOT example to make you understand the keyword driven framework ; without reflection API as well we can create keyword-driven frameworks as well.(IT IS NOT MUST TO USE this all the time > though you can later explore the given thing by suggested URL here)http://hmsinghselenium.blogspot.in/2013/02/reflection-api.html Implementing testsCovered Assertions and Reporting ErrorsCovered Parameterizing tests using DataProvider and XL FilesCovered Repeating a test with different DataCovered Running the framework through ANT Generating the reports Emailing test reports Creating a BAT file for project executionTestNg and Hybrid (Keyword+Data) Framework Overview of Hybrid FrameworkCovered Building XLS File Having Test Cases and KeywordsCovered Building XLS File Having Test DataCovered Building Base classCovered Reading XPATHS, Configuration from properties fileCovered Implementing WebdriverWaitCovered Implementing the keywords using the reflection APICovered Implementing testsCovered Assertions and Reporting ErrorsCovered Parameterizing tests using DataProvider and XL FilesCovered Repeating a test with different DataCovered Running the framework through ANT Generating the reports Emailing test reports Creating a BAT file for project executionHighlighted RED marks are ADVANCE SELENIUM first grasp how to create frameworks then after enough frequency in code we can move on those areas.

TestNG_Junit_and_AntJunit /TestNG Ant ContentsTopic Covered DateStatus What is JUNIT and Test NGhttp://www.tutorialspoint.com/testng/index.htmhttp://www.tutorialspoint.com/junit/ Configuring Junit 4 in Project/EclipseCoveredAs a part of Training we have covered only Junit as I have notified as TestNG is alternative of Junit as we need to install it seperately we will use only Junit. Junit 4 annotationCoveredhttp://hmsinghselenium.blogspot.in/2013/03/junit-4-vs-testng-comparison.html Running Test in JunitCovered Batch Running of tests in TestNghttp://www.tutorialspoint.com/testng/index.htm Skipping Tests parameterizing Tests DataProviderCoveredCheck the same in frameworks Assertions/Reporting Errors TestNg Reports Advantages over Junit Using TestNg in SeleniumCoveredI have already guided you how to do installation What is AntANT wil be explained to you whenever we will use GRID so keep some patiences. Downloading and configuring Ant Build.xml configuration XSLT report generation generation using TestNg and Ant Building a BAT file to run tests using ANT

Highlighted RED marks are ADVANCE SELENIUM first grasp how to create frameworks then after enough frequency in code we can move on those areas.http://hmsinghselenium.blogspot.in/2013/02/testng-tutorial-i.htmlhttp://hmsinghselenium.blogspot.in/2013/02/testng-tutorial.html