I am trying to automate some tedious tasks. This lead me to trying both Kantu and imacros. Kantu is far superior however some of the tutorials are a bit…advanced.
I have been able to login to systems and troubleshoot my way to the proper page. Then I click a button (id=reportbutt). Easy. Then it opens a dialog box (in browser not windows) and asks me “OK” or "cancel. I need to hit “OK” which will start a download. I have enabled automatic downloads so it will download the file I need. When I hit “record” to record macro and click on “OK” it registers a click, but no target or value. When I inspect the element I get this.
The dialogue box itself has this element:
<form id="frm" action="#" onsubmit="return generateReport()">
Please choose the device type for the inventory report:<br>
<select id="reportDevice" style="width: 200px">
<img src="…/sitePics/H-separated-line.png" class="ma-smallDailog-img">
<input class="ma-button ma-smallDailog-submit" type="submit" value="OK">
<input class=“ma-button” type=“button” value=“Cancel” onclick="$(’#reportDialog’).dialog(‘close’);">
So my question is what can I type into Kantu? There is no id for the button in question itself, and I dont get the syntax of the example. Any help would be greatly appreciated, I am a noob at this stuff and gaining good basic tutorials has been difficult.