Error 1300 can't find HTML BUTTON:SUBMIT

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
CedricK1234
Posts: 1
Joined: Sat Jan 24, 2015 5:06 pm

Error 1300 can't find HTML BUTTON:SUBMIT

Post by CedricK1234 » Sun Jan 25, 2015 1:23 pm

Hi everyone, first of all i wana apologize for my bad english, this is not my native language

1. What version of iMacros are you using? iMacros Browser V9.00.2379
2. What operating system are you using? Windows 7 Familly Premium 6.1.7601 SP1 Build 7601 French version
3. Which browser(s) are you using? (include version numbers) I'm using iMacros bowser for my tasks
4. Do the included demo macros work ok? Yep they work fine
5. If reporting a problem with the Scripting Interface, please also test if the included VBS sample scripts run ok. I'm not usking visual basic
6. If recording or replay fails on a specific website: Can you please post the URL of the web page and/or the imacro that creates the problem? using it on http://tx3.travian.co.uk you can use my idents to try it
nickname: James Cook
password : cookfdp

7. Do you encounter the same problem with the iMacros Browser, iMacros for Internet Explorer and iMacros for Firefox? I only use iMacros Browser

More info :

my macro is quite simple

Code: Select all

VERSION BUILD=9002379
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://tx3.travian.co.uk/dorf1.php
TAG POS=1 TYPE=A ATTR=HREF:http://tx3.travian.co.uk/dorf1.php
TAG POS=2 TYPE=DIV ATTR=TXT:002
TAG POS=1 TYPE=A ATTR=TXT:pillage
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:build.php?gid=16&tt=99 ATTR=ID:raidListMarkAll1161 CONTENT=YES
TAG POS=1 TYPE=BUTTON:SUBMIT FORM=ACTION:build.php?gid=16&tt=99 ATTR=ID:button54c3d50a6d609
TAG POS=1 TYPE=A ATTR=HREF:http://tx3.travian.co.uk/dorf1.php

and this is the error i got

Error -1300: Cannot find HTML element of type "BUTTON:SUBMIT" with attribute(s) "ID:button54c3d50a6d609".. Line 9: TAG POS=1 TYPE=BUTTON:SUBMIT FORM=ACTION:build.php?gid=16&tt=99 ATTR=ID:button54c3d50a6d609


pleace can someone help me

Regards

Cédric
chivracq
Posts: 8528
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Error 1300 can't find HTML BUTTON:SUBMIT

Post by chivracq » Sun Jan 25, 2015 3:38 pm

CedricK1234 wrote:Hi everyone, first of all i wana apologize for my bad english, this is not my native language

1. What version of iMacros are you using? iMacros Browser V9.00.2379
2. What operating system are you using? Windows 7 Familly Premium 6.1.7601 SP1 Build 7601 French version
3. Which browser(s) are you using? (include version numbers) I'm using iMacros bowser for my tasks
4. Do the included demo macros work ok? Yep they work fine
5. If reporting a problem with the Scripting Interface, please also test if the included VBS sample scripts run ok. I'm not usking visual basic
6. If recording or replay fails on a specific website: Can you please post the URL of the web page and/or the imacro that creates the problem? using it on http://tx3.travian.co.uk you can use my idents to try it
nickname: James Cook
password : cookfdp

7. Do you encounter the same problem with the iMacros Browser, iMacros for Internet Explorer and iMacros for Firefox? I only use iMacros Browser

More info :

my macro is quite simple

Code: Select all

VERSION BUILD=9002379
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://tx3.travian.co.uk/dorf1.php
TAG POS=1 TYPE=A ATTR=HREF:http://tx3.travian.co.uk/dorf1.php
TAG POS=2 TYPE=DIV ATTR=TXT:002
TAG POS=1 TYPE=A ATTR=TXT:pillage
TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:build.php?gid=16&tt=99 ATTR=ID:raidListMarkAll1161 CONTENT=YES
TAG POS=1 TYPE=BUTTON:SUBMIT FORM=ACTION:build.php?gid=16&tt=99 ATTR=ID:button54c3d50a6d609
TAG POS=1 TYPE=A ATTR=HREF:http://tx3.travian.co.uk/dorf1.php
and this is the error i got

Error -1300: Cannot find HTML element of type "BUTTON:SUBMIT" with attribute(s) "ID:button54c3d50a6d609".. Line 9: TAG POS=1 TYPE=BUTTON:SUBMIT FORM=ACTION:build.php?gid=16&tt=99 ATTR=ID:button54c3d50a6d609

pleace can someone help me

Regards

Cédric
Compliments on the way you asked your Question, with all required info... :D

Without even trying your Script, it looks to me like the ID in "ATTR=ID:button54c3d50a6d609" is dynamic and will change each time you reload the Page, and maybe the "gid=16&tt=99" part as well... Record your Actions several times on that Page and replace the changing parts with Wildcards into stg like:

Code: Select all

TAG POS=1 TYPE=BUTTON:SUBMIT FORM=ACTION:build.php?gid=16&tt=99 ATTR=ID:button*
or

Code: Select all

TAG POS=1 TYPE=BUTTON:SUBMIT FORM=ACTION:build.php?gid=*&tt=* ATTR=ID:button*
If there are several similar Buttons, you may have to adjust 'POS=1' with 'POS=2/3/4/...' but I reckon 'POS=1' will still be OK...
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
Post Reply