Skip to content

vasiliy-l/twitter-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automation Demo

This is an automation demo project to demonstrate opportunities of Selenium 2.0 (Selenium WebDriver) open source automation framework in combination with TestNG and ReportNG frameworks. The project is written in Java and can be built and executed using provided scripts for Apache Ant command-line tool. The project includes two testing scripts for Twitter automation:

  • The first script performs the following actions:
  • log in as registered user;
  • send a tweet;
  • follow a user from suggestions list.
  • The second script demonstrates which form have tests execution reports in the case of errors.

You can run the scripts on Chrome or Firefox browsers on Windows, Linux or Mac.

Environment configuration

To run the tests you need to download and install:

How to use

  • Download the project.
  • Download and install all required software.
  • In command prompt navigate to the directory with project files and run one of the commands from examples below.
  • View execution report in HTML format which is located at ./build/report/html/

Examples

Run the tests on the Firefox browser:

ant testAll -Dbrowser=firefox

Execution on the Chrome browser:

ant  testAll -Dbrowser=chrome

or without browser indication (chrome is default value):

ant testAll

About

Demo automation project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages