EW123 wrote: ↑Thu Jul 18, 2019 5:15 am
chivracq wrote: ↑Thu Jul 18, 2019 5:06 am
Yeah..., maybe..., there are several Methods, but I had not reacted as you had not mentioned your FCI in
your parallel Thread on SOF...
And for both Forums, you also need to add a '?' at the end of your Thread Title(s), you are not sharing a 'How-To'...
Perfectly fine to open parallel Threads on different Forums but you need to provide the same "Quality" on both or I don't react on any...
Okay, i have deleted the SOF Thread and added the "?" to this thread
Oh...!?, deleting your Thread on a Forum is not "really" the correct way to use that Forum, that's usually a "Show-Killer" for me when Users do it on "our" Forum...,
even if that cannot "really" happen when I start answering a Thread as I systematically quote for this very Reason...
There was nothing "wrong" with your Thread on SOF, well except the 2 mini-"Points" I had mentioned... But OK, never mind, I don't "really" like that Forum and I rarely answer Qt's/Threads there, exactly for that Reason...
Hum, and you didn't "notice" that your new Title was not taken into account in your last Post as you quoted a previous Post of mine that still had the original Title...
>>>
But OK, "several Methods" I mentioned, already have a look at the following (similar/related) Thread where I mentioned 4 of those already, which can be combined together, depending a bit on your specific Site and those "valueX" Values...:
-
Re: IMacros TAG Case-Insensitive
That Post of mine is a bit "far" already in that Thread as it took nearly one Page before the User finally mentioned their FCI, but read also the OP to understand the Scenario...
From, the 4 (possible) Solutions I mentioned in my Post, the "preferred Order" in your Case would be 4-1-3-2, I would think...
And all 4 are "Shortcuts" and "Workarounds"...
- A 5th Method would be to simply triple the 'TAG' Statement on all 3 Values, with '!ERRORIGNORE' and a short '!TIMEOUT_STEP', in your preferred Order, and your Script will follow the first Link it will find... It's still a Shortcut/Workaround...
Then Methods 6 + 7 are "exact" Answers to your Qt in your OP...:
- Method 6: Like Method_5 but you first fire an 'EXTRACT=TXT' on the 3 Links, and using 'EVAL()' by checking on "#EANF#", you recompute the "correct" 'ID' to use for a 4th 'TAG' Statement that will be the "real" 'TAG' Statement.
A little "complicated" by the fact that you are using v10.0.5 for CR 'Free' for which you can only use 3 Vars, but there are more than 10 ways to bypass that Limitation from the 'Free' Versions... (Several Threads about that on the Forum...)
- Method 7: I think that's stg the 'TAG XPATH' can probably do, in just one Statement as there is an 'or' Operator in the
'XPATH' Implementation... And I guess iMacros probably supports it...
But I never use and have never used 'XPATH'/'REGEX' as I always prefer to use one (or more) of the "Shortcuts" I've mentioned in Methods [1-5], so I have never "plaid" with it, and you didn't provide any URL Info about your Site, so I can't even do any "Experimenting" even if I wanted...
And that's where your Thread on SOF could maybe have come in "handy" for that part, there is probably more "Expertise" about 'XPATH' and 'REGEX' on SOF than on our Forum, if you choose to go for this Method...
Well..., good "luck" and post "later" for which (Combination of) Method(s) you went and share your Final Script..., or if you get "stuck" in the "Process"...
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...