Forum Discussion
AlexKaras
Champion Level 3
Hi,
> it gave me the one or more aruguments out of range.
My guess is that the problem was with the value of the rand parameter.
It is my expectation that you generate rand within [1..<NoOfElements>] range while .GetListItem() method is zero based (i.e. it is in the [0..<NoOfElements> - 1] range), thus, if my guess is correct, then the code should be
aqString.GetListItem(curobject.FullText, rand - 1)
GAutomation
6 years agoFrequent Contributor
Dev dont have any solution for this. But as per earlier suggestion i tired to copy the list to clipboard. How to select a random line from it Can u help me on that?
Related Content
- 2 years ago
- 3 years ago
Recent Discussions
- 3 days ago