Random Selection of a List View Record on Webpage
Hello! Please help! My automation script is performing a search function, the Search Results appear in a list view, I would like my script to randomly choose a search result record from the Search Results screen (b/c I cannot guarantee the same record will display on the page each time). I would like to have this done without using a data table. Does anybody know of some VB script I can enter into my QTP script to perform this random selection.
Re: Random Selection of a List View Record on Webpage
Use the Randomize function in qtp. It will give u a random number.