Runtime error: Tag can't find correct element

Discussions and Tech Support related to the iMacros Google Chrome extension.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.
Post Reply
jpg0002
Posts: 1
Joined: Fri Jan 15, 2010 3:07 pm

Runtime error: Tag can't find correct element

Post by jpg0002 » Fri Jan 15, 2010 3:37 pm

Hello, I was wondering if this is a bug or something I can fix on my own.

I get this runtime error:
RuntimeError: element FONT specified by TXT:QinetiQOutlookWebAccess was not found, line: 7

when I run the following macro:
VERSION BUILD=1041214 RECORDER=CR
URL GOTO=https://connect.qinetiq-na.com/my.logon.php3?check=1
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:e1 ATTR=NAME:username CONTENT=<login name>
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:e1 ATTR=NAME:password CONTENT=<password>
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:e1 ATTR=ID:submitform
TAG POS=1 TYPE=FONT ATTR=TXT:QinetiQ<SP>Outlook<SP>Web<SP>Access
TAB T=2

Some notes:
I successfully recorded and ran this same sequence in FireFox (it has the exact same code except for version build and recorder, obviously).
I recorded this with Chrome 4.0.295.0 dev.
I tried manually changing to the HREF attribute, but as you can see in the page source fragment, the HREF is a javascript call rather than a well-formed URL, so that didn't work either (but we can troubleshoot that another time).


Here is the applicable fragment of page source:
<table width="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
<td>
 
</td>
<td>
<a href='javascript:newwindowlaunch("/vdesk/intranets/provision.php3?Z=0,4");'><img border="0" src="ai/look/new_intra.gif" width="16" height="18"></a>
</td>
<td nowrap width="100%">
<a href='javascript:newwindowlaunch("/vdesk/intranets/provision.php3?Z=0,4");'><font size="3">QNA Central</font></a>
</td>
</tr>
<tr>
<td bgcolor='#E2E2E2'>
 
</td>
<td bgcolor='#E2E2E2'>
<a href='javascript:newwindowlaunch("/vdesk/intranets/provision.php3?Z=0,5");'><img border="0" src="ai/look/new_intra.gif" width="16" height="18"></a>
</td>
<td bgcolor='#E2E2E2' nowrap width="100%">
<a href='javascript:newwindowlaunch("/vdesk/intranets/provision.php3?Z=0,5");'><font size="3">QinetiQ Outlook Web Access</font></a>
</td>
</tr>
<tr>
<td>
 
</td>
<td>
<a href='javascript:newwindowlaunch("/vdesk/intranets/provision.php3?Z=0,6");'><img border="0" src="ai/look/new_intra.gif" width="16" height="18"></a>
</td>
<td nowrap width="100%">
<a href='javascript:newwindowlaunch("/vdesk/intranets/provision.php3?Z=0,6");'><font size="3">Deltek Time & Expense (QinetiQ North America)</font></a>
</td>
</tr>
<tr>
<td bgcolor='#E2E2E2'>
 
</td>
<td bgcolor='#E2E2E2'>
<a href='javascript:newwindowlaunch("/vdesk/intranets/provision.php3?Z=0,7");'><img border="0" src="ai/look/new_intra.gif" width="16" height="18"></a>
</td>
<td bgcolor='#E2E2E2' nowrap width="100%">
<a href='javascript:newwindowlaunch("/vdesk/intranets/provision.php3?Z=0,7");'><font size="3">Easy Enroll – Benefits Site</font></a>
</td>
</tr>
<tr>
<td>
 
</td>
<td>
<a href='javascript:newwindowlaunch("/vdesk/intranets/provision.php3?Z=0,8");'><img border="0" src="ai/look/new_intra.gif" width="16" height="18"></a>
</td>
<td nowrap width="100%">
<a href='javascript:newwindowlaunch("/vdesk/intranets/provision.php3?Z=0,8");'><font size="3">QinetiQ Spam Quarantine</font></a>
</td>
</tr>
<tr>
<td colspan="3" height="16">
 
</td>
</tr>
</table>
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Re: Runtime error: Tag can't find correct element

Post by Tech Support » Thu Jan 28, 2010 2:59 pm

As a test, does this macro work in iMacros for Firefox?
Post Reply