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.
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.
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.
Related
I'm working on a project that currently uses Selenium WebDriver to run automated UI tests for a web-based application. However, Selenium is no longer being approved for use on this project. My team is currently investigating alternative solutions. We need something that can be used with a CI/CD pipeline and that supports testing for multiple browser types. It would also be great if it can be integrated with Cucumber, which we also use currently, but this is not strictly necessary. I would love to hear your suggestions for anything that we can use. Thank you in advance!
We have a desktop application developed with below technologies
WPF,
Chromium,
awesomium controls
Can anyone suggest me any tool for automating this application
We tried all popular tools in market but no luck.
Let me know if anyone have worked on these application or please provide any suggestions
I had similar application to test. I used UIA for WinForm and WPF.
After a lot of research, For Chromium interface, since it's not UIA implementation and browser embedded UI and since the code for web browser and desktop is same. I preferred testing that module in web browser than desktop.
The only other way I found is by using Sikuli. Since it is based on images, I couldn't rely on it.
You can use Ranorex studio, there inside plugin sections you can configure CEF settings as well as WPF settings.
More info - https://www.ranorex.com/
I want to know if I can automate a Silverlight application with Powershell. If so, is there sample code or a website that has more information about it. So far, I haven't find any useful resources in developing a script to automate Silverlight. I know a similar question was asked here on this site, but the link in the answer no longer works.
I've used C# and Telerik's testing framework for automating Silverlight and WPF. It's free and once configured - easy to use. Since Powershell stays on top of the .Net, I guess you can reuse framework's API or libs. I personally don't see why favor Powershell over C# here.
I can understand how UI automation can help retrieve information from text boxes within windows forms applications. How can I retrieve information however from command prompt tools and web browsers? I have a telnet session that I would like to read data from as well as a simple web based tool with plain html. Any ideas?
I could be wrong, but I don't think there's an easy way to interact with console programs using the UIA API, and web browsers, while possible, would be time-consuming to deal with. But other libraries can help.
Are you using C#? If so, for console applications, you can probably use the Process class if your automated test are simple - here's an old post about the same topic:
Command line automation – expect equivalent
I'm actually still searching for a free Expect-like C# library. Haven't spent too much time looking yet, though.
For web automation, I suggest using the Selenium C# client driver - as far as I know, it should do what you need:
http://seleniumhq.org/docs/03_webdriver.html
http://seleniumhq.org/download/
I'm building a LMS system using Sharepoint (WSS 3.0) with the Sharepoint Learning Kit (SLK). One of the requirements is to be able to host Silverlight content within the SCORM package. Has anyone done this before? I haven't been able to find much (anything) online that talks about how to do this. Most of the content tools that exist for SCORM are able to handle Flash, but I haven't come across anything that will do Silverlight.
If all else fails, I'll try to manually build a SCORM package, but I'd really like to find some examples or howtos of doing this with Silverlight first.
Has anyone done this before?
I haven't done it personally before, but from a SCORM perspective the content is a black box. It shouldn't matter if it is implemented in Flash, Silverlight, or whatever. The complex part about using plug-in technologies with SCORM is establishing communication with the SCORM API via JavaScript. In Flash, it can be tricky to communicate establish a communication link between the Flash movie and JavaScript in the browser. It looks like this is a straightforward process in Silverlight.
Check out SCORM CLOUD, and then build an API to talk to it. http://www.scorm.com/
Hope this helps,
Dan Linstedt
http://danLinstedt.com