How can automation testing on Silverlight using Selenium be done?

不问归期 提交于 2019-11-26 22:02:02

问题


I am looking for a way by which I can automate my application build on Silverlight.

I need to use Selenium as required, can anyone tell a process or any good tutorial by which I can achieve what I require.

Thanks in advance.


回答1:


Take a look at: http://code.google.com/p/silverlight-selenium/

and

Silverlight testing: Watin vs Selenium comparison

Also bear in mind that Silverlight's future looks uncertain:

http://www.hightechnewstoday.com/apr-2011-high-tech-news-archives/74-apr-13-2011-high-tech-news.shtml and http://www.electronista.com/articles/11/11/09/microosft.may.axe.silverlight.after.major.release/

etc. etc.

So you may prefer to consider HTML5 for future projects after completing your current Silverlight project, as HTML5 has a brighter future because of its cross browser support and efficiency compared with proprietary technologies like Flash and Silverlight.




回答2:


I suggest Sikulix which a desktop automation tool using which you can automate almost everything. which uses text interpretation of image so that us can locate your component. If you are using python selenium i suggest to use pyautogui which is nice python package to automate silverlight web pages.



来源:https://stackoverflow.com/questions/9224943/how-can-automation-testing-on-silverlight-using-selenium-be-done

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!