Forum Discussion
1 Reply
Hi Gopal,
You can get a random value of the index and click the button. The following sample clicks any button whose index is 0 - 10.
function Test()
{
var randomIndex = Math.floor((Math.random()*10)+1);
panel.button("Name", randomIndex).Click();
}