how to change ATTRIBUTE NAME ON SELECT FORM

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
zepland
Posts: 1
Joined: Thu Aug 28, 2014 1:28 pm

how to change ATTRIBUTE NAME ON SELECT FORM

Post by zepland » Thu Aug 28, 2014 1:37 pm

Hello there

I`ve recorded a Firefox macro on a webpage,
which serves as a template for the execution on similar
pages on the website.

The problem is that the other pages differ in one aspect,
which is the number after ATTR=NAME:cart [18422]
, in this case number 18422.

Because each page has a different number, the macro will
not work with those, but only with [18422]

how do I change the following code so that it would work with any page which differs in the number given to the cart?

VERSION BUILD=8820413 RECORDER=FX
TAB T=1
URL GOTO=https://www.example.com/buysample
TAG POS=1 TYPE=SELECT FORM=ID:event_find_tix ATTR=NAME:cart [18422][qty] CONTENT=%4

MANY THANKS!
Post Reply