Demo-Winclick

From iMacros

Jump to: navigation, search

Automate & test JAVA, FLASH based websites and other non-HTML elements with "real" Windows clicks.

This demo works with the following page: http://www.iopus.com/imacros/demo/v4/winclick.htm

Macro Code

VERSION BUILD=410508     
TAB T=1     
TAB CLOSEALLOTHERS     
URL GOTO=http://www.iopus.com/imacros/demo/v5/winclick.htm
SIZE X=804 Y=579   
TAG POS=1 TYPE=A ATTR=HREF:http://www.iopus.com/imacros/demo/v5/java/index.htm  
'Replay at lower speed so one can "see" the clicks better  
SET !REPLAYSPEED MEDIUM
SIZE X=804 Y=579      
'press 9 two times
WINCLICK X=376 Y=217 CONTENT=   
WINCLICK X=376 Y=217 CONTENT= 
'+
WINCLICK X=443 Y=161 CONTENT=     
'24
WINCLICK X=333 Y=161 CONTENT=   
WINCLICK X=296 Y=189 CONTENT=   
'Press =  
WINCLICK X=460 Y=245 CONTENT=   
'Set focus to box and send some text 
WINCLICK X=351 Y=313 CONTENT=   
WINCLICK X=351 Y=313 CONTENT={BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}{BACKSPACE}The<SP>CONTENT<SP>attribute<SP>of<SP>WINCLICK<SP>fills<SP>in<SP>TEXT 
WAIT SECONDS=3