Hello support,
I was wondering is it possible to click on Radio Buttons using IEAuto.dll library, likewise for Checkboxes
For Radio Button, I'm assuming it's ClickTag and ref'ing the index
For Checkbox, I'm assuming it's FormFill
Are my assumptions correct? If not, please advise how I can go about achieveing this.
Thank you.
Can you use IEAuto.dll to click Radio Buttons & Checkbox
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Hi,
Yes, use ClickTag. E.g:
LibFunc>hIE,ClickTag,r,%IE[0]%,str:FrameName,str:FormName,INPUT,CHECKBOX,str:TagValue
LibFunc>hIE,ClickTag,r,%IE[0]%,str:FrameName,str:FormName,INPUT,RADIO,str:TagValue
See the help for ClickTag:
http://www.htmlcodetutorial.com/forms/_ ... RADIO.html
http://www.htmlcodetutorial.com/forms/_ ... CKBOX.html
Yes, use ClickTag. E.g:
LibFunc>hIE,ClickTag,r,%IE[0]%,str:FrameName,str:FormName,INPUT,CHECKBOX,str:TagValue
LibFunc>hIE,ClickTag,r,%IE[0]%,str:FrameName,str:FormName,INPUT,RADIO,str:TagValue
See the help for ClickTag:
Try it with WebRecorder and you'll see the code. As an example use WebRecorder and navigate to these pages and click on the radio/checkbox buttons:'RADIO' : For Radio objects. If element belongs to specified form and value matches "element_name:element_value" the element is clicked.
'CHECKBOX': For checkboxes. Works as with RADIO.
http://www.htmlcodetutorial.com/forms/_ ... RADIO.html
http://www.htmlcodetutorial.com/forms/_ ... CKBOX.html
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?