Skip to content

This is a sample project to showcase how to get started using SHAFT_Engine, and how to use some of its rich features, while applying the best practices for Test Automation project design.

License

Notifications You must be signed in to change notification settings

EmanMostafa20/using_SHAFT_ENGINE

 
 

Repository files navigation

using_SHAFT_ENGINE

SHAFT_ENGINE

using_SHAFT_ENGINE is a sample project to showcase how to get started using SHAFT_Engine, and how to use some of its rich features, while applying the best practices for Test Automation project design. For a full list of the Supported features that you can use or try out, please refer to this Read Me file.

Running your first sample test:

  1. Simply import this project to your eclipse (or favorite JAVA IDE).
  2. Watch this simple 5-minute live-demo: https://drive.google.com/file/d/1NxBpObvbBHdMjL4tl7PlpRNi7U9lMfW8/view

Creating your own project based on using_SHAFT_ENGINE:

  1. Make your own fork from the project using_SHAFT_ENGINE
  2. You can refer to this sample tutorial on how to import your new project into your workspace: https://tools.jboss.org/documentation/howto/git_import_projects.html#clone_uri
  3. After your project is successfully imported, you can explore the file structure, and add your own tests or test suites as needed.

Important Notes:

IntelliJ:

  • As of the latest version of SHAFT_Engine '4.0.20200220-beta' you can now use IntelliJ in addition to Eclipse to manage your test project.
  • After checking out the project to your IntelliJ you may face an exception that prevents tests execution.
  • In that case you need to add the SHAFT_Engine custom listeners to your TestNG execution template, as IntelliJ doesn't natively inherit this list from the pom.xml file.
  • Here are the steps you need to follow:
    • This is the error that you may see 1 of 6
    • In that case you need to Edit your Run/Debug configuration 2 of 6
    • Navigate to Templates > TestNG > Configuration > Listeners 3 of 6
    • Type com.shaft.tools.* into your search box to find the required listeners and add them one by one 4 of 6
    • This is the desired output for your listeners configuration 5 of 6
    • Success! 6 of 6

About

This is a sample project to showcase how to get started using SHAFT_Engine, and how to use some of its rich features, while applying the best practices for Test Automation project design.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%