clearing a form field using EVENT
Posted: Mon Jul 26, 2021 7:16 am
Hello,
I am using iMacros 2021.0 , windows 10. (Macros version 14.2.0.1)
In a complicated form made I believe in Ajax + Angular, I am trying to complete a form. None of the conventional tag method are working so I try to use the event command.
The problem is that entering a field using :
EVENT TYPE=click SELECTOR="#inputId_15" BUTTON=0 POINT=(675,219)
EVENTS TYPE=keypress SELECTOR="#inputId_15" CHARS=01/01/2070
the field is not cleared first and the "01/01/2070" is added to the current date which results something like "15/06/201001/01/2070".
Since I am on iMacros the commands KEY and MODIFIERS are not possible. ( Tried ctrl-a or key=8 in vain ) I try to select all by mousedown + mousemove + moveup but this is very unstable and doesn't work 100%.
Any solutions?
By the way, I am under a trial period of the licence iMacros Enterprise Evaluation.
I searched everywhere but didn't find the DirectScreen Technology editor. ( https://wiki.imacros.net/DirectScreen_Technology ) Is that normal ??
Thanks a lot.
Pierre.
I am using iMacros 2021.0 , windows 10. (Macros version 14.2.0.1)
In a complicated form made I believe in Ajax + Angular, I am trying to complete a form. None of the conventional tag method are working so I try to use the event command.
The problem is that entering a field using :
EVENT TYPE=click SELECTOR="#inputId_15" BUTTON=0 POINT=(675,219)
EVENTS TYPE=keypress SELECTOR="#inputId_15" CHARS=01/01/2070
the field is not cleared first and the "01/01/2070" is added to the current date which results something like "15/06/201001/01/2070".
Since I am on iMacros the commands KEY and MODIFIERS are not possible. ( Tried ctrl-a or key=8 in vain ) I try to select all by mousedown + mousemove + moveup but this is very unstable and doesn't work 100%.
Any solutions?
By the way, I am under a trial period of the licence iMacros Enterprise Evaluation.
I searched everywhere but didn't find the DirectScreen Technology editor. ( https://wiki.imacros.net/DirectScreen_Technology ) Is that normal ??
Thanks a lot.
Pierre.