-This repository contains a hybrid framework desined for the testing of web applications.
-This framework makes use of Selenium webdriver and is programmed in Java.
-The repository also contains a excel workbook which has sample test cases written in it.
-More about excel workbook
--First sheet is the index sheet which lists the names of all other sheets containing test cases.
--Execution mode in the index sheet helps us in being selective w.r.t to the test cases to be executed.
--Sheets other than index sheet are the sheets containing test cases to be executed.
--Test case sheets are provided with five columns namely Keyword, Locator By, Locator Value, Value and Status.
---Keyword -> calls the keyword implemented in the framework
---Locator By -> locates the web element based upon value in this column e.g. name, id, css or xpath
---Locator Value -> is the name of the property variable in objectRepo.properties. objectRepo.properties is a properties file in the framework folder where the actual value of locator will be assigned to a corresponding variable.
---Value -> to be provided in the located element.
-Below is the list of keywords defined in the framework
- enterText - for entering text in the webpage field
- clickButton - for clicking buttons on the webpage
- clickLink - for clicking links on the webpage
- selectDropDown - for selecting value from drop down list, provide visible text
- selectMultiList - for selecting multiple values from listbox
- verfiyText - for verifying text on webpage against provided in value column
- bufferText - buffers values from webpage which can be used in later steps , used when data is dynamic
- verifyBuffer - for verifying text on webpage against buffered text
- clickRadioButton - for clicking radio buttons in radio box
- clickCheckBox - for checking check box
- switchframe - for switching to other iframe
- switchWindow - for switching browser windows/tabs
- takeSnapShot - for taking screenshot
- uploadFile - for uploading file on the page
- acceptPopup - for accepting popup
- dismissPopup - for dismissing popup
- writePopup - for writing to popup
- readPopup - reads message from the popup
- verifyPopup - verifies message in the popup