The renewal maintenance has officially ended for Progress iMacros effective November 30, 2023.
This Wiki site will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely, The Progress Team
Difference between revisions of "EVENT"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | EVENT is a new experimental command to automate web controls that the classic [[TAG]] command can not automate: | + | EVENT is a new '''experimental''' command to automate web controls that the classic [[TAG]] command can not automate: |
* Drag & Drop | * Drag & Drop | ||
Line 8: | Line 8: | ||
To test the EVENT recording, please go to the REC tac, "Record Options" and select "..". | To test the EVENT recording, please go to the REC tac, "Record Options" and select "..". | ||
− | + | Currently the command is only available in iMacros for Firefox (we have to start somewhere...). | |
− | == Enable the EVENT recording mode == | + | ===Syntax [[Image:Ff-icon.png|Firefox]] === |
+ | |||
+ | EVENT TYPE=MOUSEMOVE SELECTOR="#grid" POINT="(333,252)" | ||
+ | |||
+ | ===Parameters === | ||
+ | |||
+ | (to be specified) | ||
+ | |||
+ | === Examples === | ||
+ | |||
+ | Use the CLEAR command so that times of website response measurements are not influenced by using local cache data: | ||
+ | |||
+ | URL GOTO=https://moqups.com/#!/ | ||
+ | EVENT TYPE=MOUSEDOWN SELECTOR="#preview-svg>svg>svg>svg>foreignObject>DIV" BUTTON=0 | ||
+ | EVENTS TYPE=MOUSEMOVE SELECTOR="#preview-svg>svg>svg>svg>foreignObject>DIV" POINTS="(131,254),(132,254),(134,254),(136,255),(139,256),(142,256),(147,256),(153,257),(160,257),(169,258),(190,258)" | ||
+ | EVENT TYPE=MOUSEMOVE SELECTOR="#containment" POINT="(204,257)" | ||
+ | EVENT TYPE=MOUSEUP POINT="(386,254)" | ||
+ | |||
+ | === Enable the EVENT recording mode === | ||
[[Image:enable event mode.png|center|thumb|450px|Enable the EVENT recording mode]] | [[Image:enable event mode.png|center|thumb|450px|Enable the EVENT recording mode]] | ||
− | == Record drag & drop events == | + | === Record drag & drop events === |
[[Image:drag_drop.png|center|thumb|450px|Record drag & drop events]] | [[Image:drag_drop.png|center|thumb|450px|Record drag & drop events]] | ||
− | == Record date and time selection == | + | === Record date and time selection === |
[[Image:datepicker.png|center|thumb|450px|Record date and time selection ("date picker")]] | [[Image:datepicker.png|center|thumb|450px|Record date and time selection ("date picker")]] | ||
− | == Record the selection from within an "ajaxy" drop-down == | + | === Record the selection from within an "ajaxy" drop-down === |
[[Image:ajax dropdown.png|center|thumb|450px|Record the selection from within an "ajaxy" drop-down]] | [[Image:ajax dropdown.png|center|thumb|450px|Record the selection from within an "ajaxy" drop-down]] | ||
+ | |||
+ | ===Notes=== | ||
+ | |||
+ | * Experimental command => Please report issues and suggestion with this command in the iMacros for Firefox user forum! | ||
+ | |||
+ | ===See Also === | ||
+ | |||
+ | [[TAG]] |
Revision as of 15:07, 17 December 2012
EVENT is a new experimental command to automate web controls that the classic TAG command can not automate:
- Drag & Drop
- Sliders
- Tricky date control
- Ajax drop&down boxes
To test the EVENT recording, please go to the REC tac, "Record Options" and select "..".
Currently the command is only available in iMacros for Firefox (we have to start somewhere...).
Syntax
EVENT TYPE=MOUSEMOVE SELECTOR="#grid" POINT="(333,252)"
Parameters
(to be specified)
Examples
Use the CLEAR command so that times of website response measurements are not influenced by using local cache data:
URL GOTO=https://moqups.com/#!/ EVENT TYPE=MOUSEDOWN SELECTOR="#preview-svg>svg>svg>svg>foreignObject>DIV" BUTTON=0 EVENTS TYPE=MOUSEMOVE SELECTOR="#preview-svg>svg>svg>svg>foreignObject>DIV" POINTS="(131,254),(132,254),(134,254),(136,255),(139,256),(142,256),(147,256),(153,257),(160,257),(169,258),(190,258)" EVENT TYPE=MOUSEMOVE SELECTOR="#containment" POINT="(204,257)" EVENT TYPE=MOUSEUP POINT="(386,254)"
Enable the EVENT recording mode
Record drag & drop events
Record date and time selection
Record the selection from within an "ajaxy" drop-down
Notes
- Experimental command => Please report issues and suggestion with this command in the iMacros for Firefox user forum!