Tamilselvan wrote: ↑Mon Oct 12, 2020 7:00 am
Code: Select all
Firefox 52.9.0 (32-bit)
iMacros 8.9.7
Win-10 (64-bit)
Hi,
I try to select option button if does not exist, skip to select and click submit button.
I tried following code. its selected one option button only & shows error.
Error.jpg
Kindly guide me...
Thanks & Regards,
S.Tamilselvan.
Code: Select all
VERSION BUILD=8970419 RECORDER=FX
TAB T=1
'URL GOTO=https://mnregaweb5.nic.in/netnrega/FTO/Ftoverify.aspx
TAG POS={{!LOOP}} TYPE=INPUT:RADIO FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_wage_list_verify_ctl*_auth
TAG POS={{!LOOP}} TYPE=INPUT:RADIO FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_wage_list_verify_ctl*_auth EXTRACT=TXT
'Submit Button
SET !VAR3 EVAL("var z; if('{{!EXTRACT}}'!='{{#EANF#}}'){z=0;} else{z=1;}; z;")
TAG POS={{!VAR3}} TYPE=INPUT:SUBMIT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ch_verified
'Authorised
'ONDIALOG POS=1 BUTTON=OK CONTENT=
'TAG POS={{!VAR3}} TYPE=INPUT:SUBMIT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_btn
Oh...!?, nice to see that you "finally" followed my Advice and came back to v8.9.7 for FF, after using v9.0.3 for quite some time...
But hum, getting tired of
asking you for nearly all your Threads to open them in the "correct" Sub-Forum...
=> I let you ask yourself the Forum Admin to move this Thread to the "correct" Sub-Forum (= 'General' one), it has nothing specific to the 'iMacros for FF' Sub-Forum... (... by using the 'Report' Button on your OP or my Post, the "Procedure" is explained in the Forum Rules...), before I will answer it...
And that applies also to your
previous Thread... (to which I didn't even react as it was (again...) opened in the "wrong" Sub-Forum...).
And for both, post a mini-Update/Bump once they'll have been moved, unless I notice it myself "before you", of course...
The Thread about the 'EVENT' Mode was quite interesting actually, you "should"/could have bumped it already earlier, or posted the Solution if you managed to find it/one by yourself... (But don't delete it, or I don't help anymore...)
(And the Solution for this current Thread is pretty "trivial", if you read the Runtime Error...

)
>>>
Hum, and for this Thread, your Screenshot is "perfect" to understand the Logic/Scenario of your Script in combination with the Runtime Error

, but... => could you also post/include the Runtime Error in "Plain Text" in your OP or in some next Reply...?, as Screenshots/'.jpg' Images are not searchable by the Search Engine, to make this Thread also "useful" for other Users searching the Forum on the same Runtime Error...

- (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...