Capturing the drivers added for each user in the loadrunner script
We are currently working on Call Center Sales application which is a web based application on Insurance domain. We have a scenario where in we are creating a quote using MVR (Motor Vehicle Records) test data. Here, after the quote is created multiple drivers(operators) get added to the flow and we need to edit the driver related details like Gender, License number etc for each driver. The issue here is the number of drivers that are getting added are varying for each time. i.e.. the drivers count varies from 1 to 10 and this count is not captured by the development team ,so we are unable to capture the exact number of drivers for each test data. If we don't edit the added driver fields an error pops-up.
Is there any suitable way to handle this situation when we are not sure of the number of drivers that are getting added . Please suggest.
Loadrunner tool version :11.0
Browser : IE8
Are you getting the list of Drivers in response, after the quote is created?
If yes, you can capture them using WRSP and put "ORD=All" , this will give you array and you can find exact number of drivers added by checking length of this array.
Now you can put a loop with number of iterations same as length of array and edit values.