Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

LR12.01 TrueClientIE If clause within for loop

$
0
0

Hi,

I am new to loadrunner and I am trying to create a script using TrueClientIE protocol.Here is my scenario.

1.Login

2.In item search box enter the item number and click search

3.verify search results displayed

4.Add item to the cart

 

I want repeat the item search multiple times each time with different item number.So I parameterized the item num and added a for loop and added if clause with in the for loop.But when i replay its only taking the 3rd(pPartNum2 in the screenshot) value and entering it in the field.I dont see the 1st and 2nd items getting searched.Not sure what is wrong with my looping...help please?attaching the screenshots

 

Thanks!!


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>