Inconsistent #EANF#

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

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
scraper
Posts: 1
Joined: Wed Dec 12, 2018 6:05 pm

Inconsistent #EANF#

Post by scraper » Wed Dec 12, 2018 6:12 pm

I need help making this script more reliable. I use this macro to help me create a contact record in my crm system if I have a facebook friend that I wanted added to my crm so I don't have to manually enter all the information.

Often times I get the #EANF# for any one of my three variables, but as soon as I enable the !EXTRACT_TEST_POPUP YES the script runs correctly on what wouldn't work previously.

I can run this macro and won't work, but then it will start working.

Code: Select all

VERSION BUILD=1005 RECORDER=CR
SET !EXTRACT_TEST_POPUP NO

TAG XPATH="//*[@id="fb-timeline-cover-name"]/a" EXTRACT=TXT
SET !VAR1 {{!EXTRACT}}
SET !EXTRACT NULL

TAG XPATH="//*[@id="fb-timeline-cover-name"]/a" EXTRACT=HREF
SET !VAR2 {{!EXTRACT}}
SET !EXTRACT NULL

TAG XPATH="//*[@id="u_0_1i"]" EXTRACT=HREF
SET !VAR3 {{!EXTRACT}}
SET !EXTRACT NULL

URL GOTO=https://scraper.pipedrive.com/pipeline

TAG POS=1 TYPE=SPAN ATTR=TXT:Add<SP>deal

TAG POS=1 TYPE=INPUT:TEXT ATTR=tabindex:1 CONTENT={{!VAR1}}
TAG POS=1 TYPE=INPUT:TEXT ATTR=tabindex:2 CONTENT={{!VAR2}}
TAG POS=1 TYPE=INPUT:TEXT ATTR=tabindex:3 CONTENT={{!VAR3}}

TAG POS=1 TYPE=A ATTR=TXT:Attach<SP>products
TAG POS=1 TYPE=INPUT:TEXT ATTR=name:product CONTENT=Business<SP>Coaching


TAG POS=2 TYPE=SPAN ATTR=TXT:Save
Thank you for your support!
Post Reply