Tamilselvan wrote: ↑Sat Aug 15, 2020 4:06 am
Firefox 45.0.1 (32-bit)
iMacros 9.0.3
Win7 (32-bit)
Hi,
I send the record one by one using iMacro..record and play option. But I could not record message box OK button . I tried the following.
Code: Select all
VERSION BUILD=9030808 RECORDER=FX
TAB T=1
TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlxml CONTENT=#2
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_btn
ONDIALOG POS=1 BUTTON=OK CONTENT=
Also i put this statement manually but its not work.
m_2nd.jpg
FTO.jpg
If any update please guide me.
Thanks in advance,
Regards,
S. Tamilselvan
Grrr...!, and use your ]color[ Tags "correctly" in your Posts, I have to add a 'Closing Tag' in my own Post to stop typing in Blue, ah-ah...!
Hum..., Thread probably not "really" specific to the 'iMacros for FF' Sub-Forum, even if v9.0.3 for FF was quite Buggy, and you could be hitting one Limitation/Bug... I've probably already told you to "prefer" v8.9.7 for FF above v9.0.3, but OK, never mind...
Trying to add manually the 'ONDIALOG' Statement is a good Idea indeed, if iMacros is not able to record it, but 'ONDIALOG' Statements need to be placed
before the Statement/Button that will trigger the Dialog/Popup...:
Code: Select all
VERSION BUILD=9030808 RECORDER=FX
TAB T=1
TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlxml CONTENT=#2
ONDIALOG POS=1 BUTTON=OK CONTENT=
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_btn
But hum..., I see some RuntimeError on one of your Screenshots, related to the DDLB, there might be some 'onchange()' JS Call on it, adding a mini-'WAIT' Statement might help..., and if the Process still works successfully in the Browser, iMacros sometimes "complains" for nothing, and '!ERRORIGNORE' can then help bypass the Error...
=> Try this one:
Code: Select all
VERSION BUILD=9030808 RECORDER=FX
SET !ERRORIGNORE YES
TAB T=1
TAG POS=1 TYPE=SELECT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_ddlxml CONTENT=#2
WAIT SECONDS=0.2
ONDIALOG POS=1 BUTTON=OK CONTENT=
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:aspnetForm ATTR=ID:ctl00_ContentPlaceHolder1_btn
WAIT SECONDS=0.5
But use '!ERRORIGNORE' with "Caution" when debugging a Script as it will dismiss any RuntimeError(s) while getting this/these Error(s) is usually needed to understand what is "happening" and to find a Solution...
>>>
And hum-hum..., I don't know how this "Add Digital Signature" Process is working, but if that Button needs to select a Local File on your Computer and to upload it to that Site, or if that File/Digital Signature is already on the (Web-)Server, but 'File Upload' was
not supported in v9.0.3 for FF...! That's one of the Limitations of v9.0.3, so if that Process requires the File Upload Functionality, you'll still have to use v8.9.7, ah-ah...!
But I don't see any File Upload Statement in your Script, unless iMacros didn't record that Process either, which would be logical if 'File Upload' is not supported in v9.0.3..., but if that Digital Signature is selected through the DDLB, then it is already on the Server...
You could also try the 'EVENT' Mode to see if it records/behaves differently...
- (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...