| || |
Clicking on a random radio button
I have this quick function and i was looking for a way to allow the function to click on a random radio button instead of the same one every time. Any help is appreciated. Thanks.
Set p1 = Sys.Process("iexplore")
Set Page = p1.Page("https://epr.medkinetics.com/index.cfm")
Set RadioButton = Page.NativeWebObject.Find("type","radio")
Re: Clicking on a random radio button
I'd say use the FindAll() method instead of find to get an array of objects. Then using a random number index a random one to click on.