Skip to content

codecyrus/SeleniumHybridFrameworkMavenJava

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hybrid Framework for Automation testing with Maven, TestNG.
Created by DoaiTran.
========================================================================================================
Version 4.0 (12-Dec-2016)
========================================================================================================
Support:
+ Browsers: FF V.47.0.2; Chrome (Lasted version); IE (10;11)
+ Tested on Windows 10.
+ Supports: Maven, TestNG
+ Excel 2003 - 2016. Report: Summary report and charts.
+ Exception handling: Take screenshot for failed steps.
+ Object repositories be following by XPATH
========================================= 41 Keywords ===================================================
    - openBrowser : Chrome, FF, IE. Default browser: FF ~ FireFox
    - navigateToURL : Set the browser to go to URL (Defined on OR ~ Object Repository file)
    - navigateTo : Go to the URL (Define on data test column on Excel file)
    - clickElement                              - moveToElement
    - closeBrowser                              - doubleClick
    - clearTextBox                              - navigateToForward
    - waitAndPause                              - navigateToBack
    - inputValue                                - submit
    - refreshPage                               - clearTextBox
    - doubleClick                               - waitForElementPresent
    - verifyElementIsExisted                    - verifyText
    - closeAllBrowsers                          - waitForAjax
    - selectByVisibleText                       - selectByValue
    - selectByIndex                             - switchToIFrameWithID
    - switchToIFrameWithName                    - switchToMainPage
    - verifyTextInTable
    - verifyCheckboxIsChecked                   - verifyCheckboxIsNotChecked
    - verifyRadioIsChecked                      - verifyRadioIsNotChecked
    - checkCheckBox                             - unCheckCheckBox
    - clickTreeViewItem                         - verifyTreeViewItemExist
    - verifyTreeViewItemNotExist
    - closeAlertOfBrowser                       - acceptAlertOfBrowser
    - verifyAlertText                           - sendValueToAlert
======================================= Exception Handling =============================================
Getscreenshot
    + To take screenshots for failed steps on a test cases.
    + testing.reports file be named following naming convention.
    + Error__[TestCase]__[TestStep] (Eg: Error__TestCase1__TS_003__Mon Nov 14 11-47-40 ICT 2016.png)
Action log
    All action and exception cases will be saved with log formats, supported by Apache Log 1.2.
========================================================================================================

About

Hybrid Framework with Maven Project can adapt to web automation testing for all websites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 53.5%
  • HTML 32.5%
  • CSS 8.3%
  • JavaScript 5.7%