Answered

How to iterate for all the values stored in a dataset.

I want to iterate for all items stored from dataset.

Thanks,
Niranjan.

9.2.4

0
5 comments
Avatar
Niranjan Das

The scenario is, I will keep 20 URLs in the data set, and the same test will run against all the URLs mentioned in the dataset.

Thanks,

Niranjan.

0
Comment actions Permalink
Avatar
Joseph Hamdan

Hi Niranjan,

If you use different datasets for each URL, you can iterate through all of them.

In your execution set creation form, you can click Select All Datasets button highlighted below. For execution, your test case will run once for each URL, so based on the example below, it will run 5 times.

Please let us know if this answers your question or if you require anything else.

Regards,
Subject7 Team

0
Comment actions Permalink
Avatar
Niranjan Das

Thanks this process works. I am able to run the same test as per my dataset.

However This process works only during cloud run, through execution set. I want to run it in my local to see how it is performing. I am asking this because My first session during the cloud run works fine and the subsequent session is failing and I don't know why it fails. Also I do not see a single video reference to understand what happened.

So is there any way that I can run it in my local.

Thanks

--Niranjan.

0
Comment actions Permalink
Avatar
Joseph Hamdan

Hi Niranjan,

For local execution, since only one test case can be executed at a time, you will need to click View Datasets icon on the test case, select which URL you would like to use and then run your test case. You can check the results as they appear on screen during execution or you can right click local player icon in the tray and select Diagnose and Feedback > Logs to see logs for troubleshooting.

If there's a missing video from cloud runs, please let us know which execution ID so we can take a look.

Regards,
Subject7 Team

0
Comment actions Permalink
Avatar
Niranjan Das

Thanks Joseph, Appreciate your help. I got my answer. 

0
Comment actions Permalink

Please sign in to leave a comment.