Hi Guys,
I'm trying to create a macro for creating a page in a web based admin / backend. Couldn't find anything in the forum search.
My stumbling block is copying the id number of the created page, once created it shows the newly generated id number but the field is the code number and not a constant value.
This is the from the recording
TAG POS=1 TYPE=SPAN ATTR=TXT:3658896
The next page I create will be for example.
TAG POS=1 TYPE=SPAN ATTR=TXT:3658899
extract data from ATTR which is generated
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
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
Re: extract data from ATTR which is generated
Taking into account the information you gave, I can recommend this code
Code: Select all
SEARCH SOURCE=REGEXP:"(<span.*(\d{7}).*<)" EXTRACT=$2
TAG POS=1 TYPE=SPAN ATTR=TXT:{{!EXTRACT}}
Re: extract data from ATTR which is generated
Thank you so much! combined with saving to csv this worked perfectly.