Sometimes you want to have multiple nested loops to test a set of test data (for example loop over a list of users, and for each user, loop over a list of browsers). In JavaScript you can use standard nested loops, this article explains how you can do the same using RVL.

Using Two Maps & Loops

With the Rapise Visual Language (RVL) you can use a Map (grid of data) with a loop.

Sometimes you want to have two nested loops. It's very simple, you simply create two Maps with two separate names:

Then you create two nested loops, each one using a separate map:

We have attached the full code sample.

Attachments

Selected files will be attached to any email sent on saving ticket.

file selected files selected  () Delete Selected

  • Created:
  • by:

Select files to upload

Or drag and drop files here

Uploading …
Done!
Upload More?
There was an error.
Try again?

Save to upload the selected file(s)

Article Info
  • Last Updated: 5/2/2018
  • Article ID: KB340
  • Views: 529