i_use_imacros wrote: ↑Mon Jul 29, 2019 9:53 am
Code: Select all
1. My iMacros version is VERSION BUILD=1005
2. I'm using Windows 10 Home
3. Browser: Google Chrome Version 75.0.3770.142 (Official Build) (64-bit)
Hallo,
what is your solution to the following problem?
I try a relative positioning on the following website.
this is unfortunately not how it works
Code: Select all
URL GOTO=https://autoit.de/wcf/index.php?disclaimer/
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:https://autoit.de/wcf/index.php?disclaimer/ ATTR=NAME:accept
WAIT SECONDS=2
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:* CONTENT=1
TAG POS=R1 TYPE=INPUT:EMAIL ATTR=NAME:* CONTENT=2
TAG POS=R1 TYPE=INPUT:EMAIL ATTR=NAME:* CONTENT=3
SET !ENCRYPTION NO
TAG POS=R1 TYPE=INPUT:PASSWORD ATTR=NAME:* CONTENT=4
TAG POS=R1 TYPE=INPUT:PASSWORD ATTR=NAME:* CONTENT=4
TAG POS=R1 TYPE=INPUT:TEXT ATTR=NAME:* CONTENT=5
the original recording looks like this
Code: Select all
URL GOTO=https://autoit.de/wcf/index.php?disclaimer/
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:https://autoit.de/wcf/index.php?disclaimer/ ATTR=NAME:accept
WAIT SECONDS=2
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:aabf12bbbf21 CONTENT=1
TAG POS=1 TYPE=INPUT:EMAIL ATTR=NAME:b1c33dfd3c CONTENT=2
TAG POS=1 TYPE=INPUT:EMAIL ATTR=NAME:c3844096eed2f5 CONTENT=3
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD ATTR=NAME:5fe4bb9cb41b57 CONTENT=4
TAG POS=1 TYPE=INPUT:PASSWORD ATTR=NAME:a85a2dc5 CONTENT=4
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:values[option33] CONTENT=5
1. My iMacros version is VERSION BUILD=1005
2. I'm using Windows 10 Home
3. Browser: Google Chrome Version 75.0.3770.142 (Official Build) (64-bit)
best regards
FCI mentioned, very good, but 'Free'/'PE' is still missing...
Your Thread though has very probably nothing specific to the 'iMacros for CR' Sub-Forum or you should mention in which other Version(s)/FCI(s) you've also tested where your Script works but fails only in CR. (Correct Sub-Forum would have been the 'General' one, but no need to duplicate now...)
OK, I was able to have a look at your Script and Site, and using 'Relative Positioning' if the Elements on the Page have Dynamic Names and/or ID's looks like the correct way to go, very good...!
Then OK, the following Script, which uses 'Relative Positioning' in a little bit more "reliable" way than you were attempting, seems to work fine for me...:
Code: Select all
VERSION BUILD=8820413 RECORDER=FX
TAB T=1
'URL GOTO=https://autoit.de/wcf/index.php?register/
TAG POS=1 TYPE=LABEL FORM=ACTION:https://autoit.de/wcf/index.php?register/ ATTR=TXT:Benutzername
TAG POS=R1 TYPE=INPUT:TEXT FORM=ACTION:https://autoit.de/wcf/index.php?register/ ATTR=ID:* CONTENT=i_use_imacros
TAG POS=2 TYPE=LABEL FORM=ACTION:https://autoit.de/wcf/index.php?register/ ATTR=TXT:E-Mail-Adresse
TAG POS=R1 TYPE=INPUT:EMAIL ATTR=NAME:* CONTENT=i_use_imacros@gmail.com
TAG POS=1 TYPE=LABEL FORM=ACTION:https://autoit.de/wcf/index.php?register/ ATTR=TXT:E-Mail-Adresse<SP>wiederholen
TAG POS=R1 TYPE=INPUT:EMAIL ATTR=NAME:* CONTENT=i_use_imacros@gmail.com
(Tested on iMacros for FF v8.8.2, PM v26.3.3 (=FF47), Win10_x64.)
Notice that instead of using only 1 Anchor and making all 5 other 'INPUT' Fields relative to the 1st one, I each time use their corresponding 'LABEL' Element as Anchor.
I only handled the first 3 ones, I let you do the rest with the next Sections...

- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE').
- I don't even read the Qt if that (required) Info is not mentioned...!
- Script & URL help a lot for more "educated" Help...