Can any one Tel me how to write the loadrunner script for the
Drop down box.
I have a scenario with me.please tell me the Scripting.
I have the 3 drop down box's and one search screen,
If i select 3 different values in the 3 box's and if click on search,the respected values should display.
In this case how can i handle the drop down box's.
definitely selecting a value in combo box can not be recorded.
When you are clicking on submit/search button (after selecting the different values from combobox) - Vugen can record one web request .....
In that web request if you observe you will find the what are the values that are getting submitted to server.
"URL=..Search URL ..",
... = combobox1 value
....= combobox2 value
... = combobox3 value
here replace the comboxvalues - if you need parameterization.
Need to correlate the values of Combo box ?? find out the left right boundaries...as Performance Test engineer you should know how to correlate and replace parameterization in this.
I've seen these done via AJAX - where the selected value for the first combo box gets sent to the server and the values for the next combo box are returned in xml - that's pretty easy to code
with a more 'traditional' approach you'll probably have to get the whole contents of each combo box and then chop them up manually as they're usually in a list format
If not, Krishna had explained it well in his post. It doesn't matter whether you are selecting a combo box or not since LR cares only about the traffic to the server.
The views expressed in this forum are mine. My organization does not subscribe to the substance, veracity or truthfulness of the said opinion