Data Extraction !Var error

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
dombrorj
Posts: 16
Joined: Thu Jan 28, 2010 4:38 am

Data Extraction !Var error

Post by dombrorj » Fri Jan 29, 2010 3:29 pm

Hi,

Edit: I see you can only have up to 3 variables, so I'll just create another imacro to complete the second half of the form. But I'm still having trouble with the following...

I'm essentially trying to copy contents of data filled out on forms, and paste it into a new page. I'm receiving a "RuntimeError: Wrong format of CONTENT value, line: 15" error. This particular variable (and the next one, var5) is a drop down box and I'm trying to enter the extracted values.

Thanks for any help you can suggest.

Code: Select all

VERSION BUILD=6500125 RECORDER=FX
SET !EXTRACT_TEST_POPUP NO
TAB T=1
FRAME F=0
'Get the values
TAG POS=1 TYPE=SELECT FORM=NAME:create_ad_form ATTR=ID:age_min EXTRACT=TXT
SET !VAR1 {{!EXTRACT}} 
SET !EXTRACT NULL
TAG POS=1 TYPE=SELECT FORM=NAME:create_ad_form ATTR=ID:age_max EXTRACT=TXT
SET !VAR2 {{!EXTRACT}} 
SET !EXTRACT NULL
'Now fill in the values
TAB T=2
FRAME F=0
TAG POS=1 TYPE=SELECT FORM=NAME:create_ad_form ATTR=ID:age_min CONTENT={{!VAR1}}
TAG POS=1 TYPE=SELECT FORM=NAME:create_ad_form ATTR=ID:age_max CONTENT={{!VAR2}}
Marcia, Tech Support
Posts: 1095
Joined: Thu Jan 29, 2009 1:10 pm

Re: Data Extraction !Var error

Post by Marcia, Tech Support » Mon Feb 01, 2010 7:41 am

Hello,

I suggest you to turn on again !EXTRACT_TEST_POPUP so that we see what is being extracted.
Regards,

Marcia
Post Reply