Watch our application walkthrough of the files in the Test Generator!
This is the folder that holds the application file and other important files that are necessary for the application to run. Do not modify or delete any of these files unless you're instructed to do so by StreamLineQA personnel.
The files in this folder are useful for:
Checking which version of the application you have (version.properties)
Getting a license to the full version of the application. When you're ready to license, we'll need you to send us the license.properties file.
The config folder holds the config file and the inputs file. The config file is where the user inputs their email and license key. Email is mandatory for even for the trial version.
In addition to adding an email and license key, a config file is used for:
Entering the URL of the website you want to generate tests for
Entering the run mode (auto, root, components)
If you chose root, entering the css selector of the root element
Specifying whether or not you want to generator to try to generate the test cases with the proper expected values. If yes, you must fill out the inputs.xlsx file.
If you customized with StreamLineQA, you can enter a requirements URL or requirements file location to reduce the amount of manual work for step 4. If you did not customize, just leave this set to no.
If you chose the components run mode, you can enter a list of component names and css selectors to generate test cases for each component.
Here's what the inputs file (inputs.xlsx) is used for:
If you chose to have the generator try to generate the test cases with the proper expected values and you did not customize, you must enter all of the expected values for that website in the first column of this file.
These are the run files. When you're ready to execute you test cases, all you have to do is double click the run file for the type of computer you have.
If you have a machine running windows, feel free to delete the generate_tests_mac file. If your machine is running mac os, feel free to delete the generate_tests_windows file.
The very first time you double click one of these files, you may need to go through a one time configuration.
Mac - System Preferences >> Security and Privacy >> Open anyway
Windows - A popup will show up >> More info >> Run anyway
If the above step did not work
Open terminal / command prompt
Run command chmod a+x <path_to_run_file>
Mac example - chmod a+x "/Users/Tester/Desktop/StreamLineQA-Automation-master/StreamLine Test Generator/generate_tests_mac.command"
Windows example - chmod a+x "C:\Users\Tester\Desktop\StreamLineQA-Automation-master\StreamLine Test Generator\generate_tests_windows.bat"
The test generator will create an xlsx file as an output of the run. This xlsx file is a test file for the StreamLine Web Automator. Make sure to review the accuracy of the test file!