SEOSEO News

Exploring Virtuoso Journeys / Blogs / Perficient


As we all know, Goals are testing areas inside a project which can be a small section of an application or a whole application. Once the Goal is created, it is set to add end-to-end test steps in the Journey.

Virtuoso Logo

What is Journey in Virtuoso?

With specific validations and checkpoints in between, the journey enables you to interact with your application from beginning to end.
The Journeys you create to represent the whole user flow of your application.
Virtuoso creates a first Journey for the user by default whenever any new Goal is created.
All of the Journeys in the Goal are displayed on the left side of the screen in Goal view. Similarly, the Goal summary is on the page’s right side.

 

I. Creating a new Journey in a Goal

  1. Click on ‘+ Add a Journey’ below the last Journey in the list.
  2. On Clicking ‘Add a Journey,’ Virtuoso will ask for a name for the Journey.
  3. Enter the name and click on ‘Save.’
  4. On clicking the ‘Save’ button, Virtuoso will take you to new created Journey.
  5. First Checkpoint in the Journeys will be created by default by Virtuoso, which will usually contain Navigation URL in the first step.
  6. If any of the first Checkpoints in any Journey is changed, the change will reflect on all the first Checkpoints of all the Journeys in the same Goal.

1 Journey View Virtuoso

II. Creating a new Checkpoint in a Journey

  1. An application has a lot of features to test. So, to test these features, test steps are written separately, such as a group of test sets we call Checkpoints.
  2. To create a new Checkpoint, click on the ‘Add Checkpoint’ button under the previous existing Checkpoint.
  3. Enter the name of the Checkpoint. The name can also be the name of the feature for which we are creating steps.
  4. Lastly, click create, and a new Checkpoint will be created and ready to write test steps.
  5. Once the Checkpoint has been defined, users can add test steps in natural language syntax with plain English texts or use selectors like Xpath, CSS, JS path, and Hints to interact with the elements.
    2 Creating Check Point Vituoso

III. Reusing Checkpoint

  1. Virtuoso provides a useful feature of reusing a Checkpoint in the same Journey or Goal.
  2. When selecting a previously used Checkpoint, type a hint of the Checkpoint’s name or number on ‘Add Checkpoint’ to bring it up in the list and click attach.
  3. On clicking ‘Attach,’ the Checkpoint will be called again in the Journey with all the steps.

IV. Library Checkpoint

  1. When the same test step needs to be written repeatedly for several Goals within the same project, Virtuoso offers a very helpful functionality for this reusability to stack up the Checkpoints that need to be called repeatedly.
  2. These Checkpoints can be called at any point in any Journey inside the same project.
  3. If any library Checkpoints inside a Journey are updated, the same will reflect on all the Journeys where the Checkpoint was called.

   a. How to Create a Library Checkpoint

    1. Click on the menu icon left aligned on the Checkpoint you want to use as a library Checkpoint.
    2. A flip will open; click on ‘Add to Checkpoint Library.’
    3. Once a Checkpoint is added to the library, a popup will display on the screen with the heading “You have now created a library Checkpoint!”

3 Library Checkpoints

   b. Calling a Library Checkpoint

    1. Click on the ‘Add Library Checkpoint’ button under the previous existing Checkpoint.
    2. On click, a list will appear; choose the Checkpoint name you wish to call in your Journey.
    3. Click ‘Add,’ and the Checkpoint will be added to your Journey.

V. Journey Summary

  1. The journey summary is displayed on the right of the Checkpoints and test steps in the Journey view. For the user, it gets available as soon as a Journey is defined.
  2. It usually contains information related to the test steps and their executions.
  3. It lets the user know the most recent update, including when and who made the change.
  4. In addition to these details, Journey Summary contains Network requests, Browser logs, Performance metrics, and Execution health trends & activity.
  5. The Network requests section indicates the number of occurrences of network errors during the execution of the tests similarly, the availability of logs on the browser console is indicated by the Browser logs section.

Journey Summary

VI. Publishing a Journey

  1. Developing new Journeys frequently implies experimentation and finding the ideal way to show an end-to-end user flow.
  2. To make this less complicated, newly created Journeys are prepared as drafts, which means that they won’t be executed until you publish them.
  3. Once you are sure your Journey is ready to be added to your Goal, you can publish it by selecting the ‘Publish’ button at the top.

Publish

Conclusion

I hope this 5-minute read has helped the enthusiast inclined to know Virtuoso and get a broader view of how journeys are created to test end-to-end flows. We learned how to create a Journey and the checkpoints, and also learned how to review the journey summary and publish it once it is ready to execute, which can be helpful to test an application end to end.





Source link

Related Articles

Back to top button
error

Enjoy Our Website? Please share :) Thank you!