Utilities in Selenium Webdriver – Test NG

Can anyone please post me some suggestions and examples for creating utilities for my project (using Selenium – Webdriver). I am really struck on this part and need your help as early as possible as my project deadline is nearing by. Please help me…..

Default Asked on October 1, 2014 in Selenium WebDriver.

Hi, Please give us an example, what sort of Utilities you are talking about, as Utilities are project specific..

Regards,
Lakshay Sharma

on October 2, 2014.
Add Comment
  • 2 Answer(s)

    You can add features of screenshot capturing, excel utilities, random generation of data , various data providers etc.

    Train Answered on October 28, 2014.
    Add Comment

    ExcelUtil- Function To read n write excel (API- Apace POI and JXL)
    EmailAndZipUtils- Email and Zip of results (API- mail.jar )
    ActionUtils – Contains Function for click check uncheck select etc
    AssertionUtils – Verification and Assertions
    Listners-  IReportListner implementation of TestNG and Exception in reports
    Constants- Keep your all cons
    ReportUtils- (Conversation for xslt reports or bootstrap reports)
    CustomUtilFunctions- Contains the project specific function.

    Rest depends on your project.

    Train Answered on November 17, 2014.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.