Organizing tests
Explore the tools DogQ offers to help you manage your tests. Learn about copying and moving Scenarios and Modules as well as copying entire Projects. Take advantage of thOptimize your workflow to make
Last updated
Explore the tools DogQ offers to help you manage your tests. Learn about copying and moving Scenarios and Modules as well as copying entire Projects. Take advantage of thOptimize your workflow to make
Last updated
One of the keys to success in automated testing is keeping test suites well-managed as you scale your testing scope. DogQ allows you to copy and move tests between Modules and Projects. You can also copy entire Projects along with all their Modules and Scenarios.
This can be useful in numerous situations, like making back-ups, reorganizing test suites or using existing Scenarios as templates, i.e. copying them to create new ones with preconfigured steps.
You can copy / move individual Scenarios in two ways:
by opening the Actions dropdown menu inside Test Editor and clicking "Copy" / "Move"
DogQ also allows you to copy and move Modules in the same ways:
by clicking "Copy" / "Move" on the buttons panel on Module show page
Each level of a test suite has its own buttons panel above the list. These buttons perform actions for the entire Module or Project, depending on the level you're at.
Lastly, you can choose to copy an entire Project with all its Modules and Scenarios inside. It can be useful in cases like making a backup before introducing major changes or using an entire Project as a template, e.g., using them same tests but with different values for a different environment.
from the Actions dropdown menu of an individual Scenario on a Module show page
Also on a Module show page, there's on the buttons panel above the Scenarios list. This one, as well as all the other buttons on the panel, is used to perform actions for current Module.
Clicking "Copy" prompts a modal window. Here you can choose if you want the test to be copied inside current location, i.e. current Project / current Module, or move the copy to a dfferent location (the original stays in place). Once set, click
Clicking "Move" prompts the respective modal window that is practically the same. By default the Project and Module fields are set to current. Set the destination and click
from the Actions dropdown menu of an individual Module on a Project show page
Projects cannot be moved, only copied, hence clicking on Project show page or in the Actions dropdown menu of an individual Project in the projects list doesn't prompt any modals - the Project will be copied and you will be redirected there.