Because of the reason
http://www.testplant.com/phpBB2/viewtopic.php?t=1773&highlight=
I asked before.
As you know,we could pass a image property list to command “Click”,just like:
Click (ImageName: “CloseButton”, HotSpot: (10, 23), SearchType:“Tolerant”,searchrectangle: (2,4,100,4))
And now,I need a custom handler,similar to command “Click”,but add a “MoveTo” action in the handler,such as:
//
to MyClick ImageName
MoveTo ImageName
Click MouseLocation()
end MyClick
//
If I could call “MyClick” like this:
MyClick(ImageName: “CloseButton”, HotSpot: (10, 23), SearchType:“Tolerant”,searchrectangle: (2,4,100,4))
Because I need image property “searchrectangle”,so I don’t know if handler “MyClick” could handle it.
I am not able to find answers in eggplant documents,that is how t pass property list to a handler.