Save as problem

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
watergate74
Posts: 1
Joined: Wed Mar 22, 2017 4:50 pm

Save as problem

Post by watergate74 » Wed Mar 22, 2017 5:15 pm

Hello,

I have a very strange problem. I'd like to save all subpages of an internet page into four different files. For this this I have wtritten the following macro:
VERSION BUILD=9030808 RECORDER=FX
SAVEAS TYPE=HTM FOLDER="D:\Data\iMacros\" FILE="data1.html"

TAG POS=1 TYPE=A ATTR=ID:ctl00_ctl00_CPContent_CPMain_ucPager_repPages_ctl01_p1
WAIT SECONDS=1
SAVEAS TYPE=HTM FOLDER="D:\Data\iMacros\" FILE="data2.html"

TAG POS=1 TYPE=A ATTR=ID:ctl00_ctl00_CPContent_CPMain_ucPager_repPages_ctl02_p2
WAIT SECONDS=1
SAVEAS TYPE=HTM FOLDER="D:\Data\iMacros\" FILE="data3.html"

TAG POS=1 TYPE=A ATTR=ID:ctl00_ctl00_CPContent_CPMain_ucPager_repPages_ctl03_p3
WAIT SECONDS=1
SAVEAS TYPE=HTM FOLDER="D:\Data\iMacros\" FILE="data4.html"
The macro works fine - all subpages are disaplayed correctly - but all saved files contain the data of the first page?!?

Does anybody has an idea how to fix this bug?

Many thanks in advance
watergate
Post Reply