c# - Handle flash button using WatiN -


i using watin browser automation. cool. today ended in problem need call flash object (uploadify button) in asp.net page.

this code seems working fine, doesn't show actions

        element ele = window.element(find.byid("uploadifyuploader"));         ele.click(); 

is there way achive in watin.?

i wrong, think firing ele.click() results in clicking on <object/> element, not button. content of <object/> element application. have flash object there, be, example, java applet.

clicking on button similar clicking button on different application - have automate windows, not ie, kind of api calls needed, findwindowex or sendmessage etc. think using watin.core.native.windows namespace little bit helpful, insufficient. have use extern methods user32.dll.

instead of this, use kind of library windows automation. heard autoit good, didn't use it. small tasks prefer deal native calls.

additionally, winspy++ helpful finding windows properties.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -