SAVEPICTUREAS not working for an Image.

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.

Moderators: Community Moderators, iMacros Moderators

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.

SAVEPICTUREAS not working for an Image.

by poojakrishna on Fri May 18, 2018 4:37 am

iMacro VERSION BUILD =12.0.501.6698
OS = Windows 10
IE Version = 11

Hi friends,
I’m new to iMacros and I am trying to download an image from a web page to my machine. When I right click on the image manually it has an option ‘Save Picture As’.
HTML code for the item:
Code: Select all
 <img width="388" height="177" class="check-view" alt="front view of check" src="/myaccounts/details/deposit/image-display.go?txn=62252e1b07e9b5ae3c0ec056e5bba37fb2dea21e70111ecbe538f2e617f46a87&amp;adx=e247ddb981d75961fe1887a6753faae9c80897da598cbfcc71f15be0005433b3&amp;face=front&amp;index=a06c5df4223428f50f213e918e90a9a2d7cc7d3ffe10bd50cc44541dedd051e3">

iMacro auto recorder tagged the item as:
Code: Select all
TAG POS=1 TYPE=IMG ATTR=CLASS:check-view

My Code:
Code: Select all
TAG POS=1 TYPE=SPAN ATTR=TXT:Check<SP>1052
WAIT SECONDS=10
ONDOWNLOAD FOLDER=* FILE=* WAIT=YES
TAG POS=1 TYPE=IMG ATTR=CLASS:check-view&&ALT:front<SP>view<SP>of<SP>check CONTENT=EVENT:SAVEPICTUREAS
WAIT SECONDS=5

I have tried using CONTENT=EVENT:SAVEITEM and SAVE_ELEMENT_SCREENSHOT also but no help. When the SAVEPICTUREAS command executes, the image is fully loaded on the page.

I have read many post related the SAVEPICTUREAS, but I couldn’t fix my issue. I am trying from the morning. Can anyone help me please? :(
poojakrishna
 
Posts: 5
Joined: Fri May 04, 2018 9:33 pm
Location: India

Re: SAVEPICTUREAS not working for an Image.

by poojakrishna on Fri May 18, 2018 6:32 am

I have changed the Download folder and file name to custom ones and it is working good.
poojakrishna
 
Posts: 5
Joined: Fri May 04, 2018 9:33 pm
Location: India


Return to General Support & Discussions

Who is online

Users browsing this forum: No registered users and 4 guests

-->