In the previous article, we already have seen the Tesbo is not just a normal tool but it’s a tool that you imagined in your life for automation. Definitely, you’re excited for the implement Tesbo in your system, so why wait Let’s go and do that!
Tesbo in beta!
Yes, Tesbo currently is in its beta version, You can register for Tesbo beta from below link.
Before moving forward you’ll need a few things installed in your system
- Getting Started
- File Structure:
. └── src │ ├── tests │ ├── Runner │ │ └─── TestRunner.java │ ├── locator │ │ └─── moduelName.json │ └── suites │ └─── moduleName.suite └── config.json
Now let’s understand get the idea about each and every file from the Tesbo Skeleton Template.
- tests package
tests package is default package comes with your maven project template, this tests package contains all the Tesbo test suites and locators files.
TestRunner is the main Test Runner invocation class provide by Tesbo itself. You don’t need to work on this class, you need to create a Runner class and pass the default Tesbo code snippet to initialize the Tesbo run.
- Locator Package
As you can see in the above skeleton, Locator package contains JSON files, These JSON files are used to define the locators for your project. You can pass as many as locators in a single file and also can create multiple locators file as per your modules.
- Suite Package
Suite package contains all the suite file where your Test Scripts are defined. You need to write your test scripts in this suite files and Tesbo will work for it. In a suite file, you can define as many as you need tests as well as you can also create multiple suite files for the multiple modules.
Note: The name of the suite files (.suite) and locator files (.json) should be the same for the modules. i.e If you’re creating a suite file for Login as login.suite then you need to define locator file as login.json for login.suite file.
config.json is used to provide properties for your test execution like, in which URL you want to execute your suite, which tags from you need to execute the tests, the browser supports, grid supports and many more.
Let’s look more in-depth about this Tesbo file structure and its files in the next article.
#Step2QA #Tesbo #AutomationFramework