I'm looking to do automatic UI testing of SilverLight applications on Mac.
There are a few tools to test SilverLight on windows but I couldn't find any that will run tests on Mac.
Anybody know of such a tool?
Shahar
I was referred to this
http://www.hanselman.com/blog/UnitTestingSilverlightWithSelenium.aspx
Not the best solution but it is some a start
Microsoft's Test Manager is a very useful tool for PC.
http://msdn.microsoft.com/en-us/library/bb385901.aspx
But I'm not sure if its possible for Mac. So you can just test for browsers run on PC. Firefox is also available on Mac as far as I know. I don't think Safari browser behaves diffrent because silverlight is a plugin and most of your code work on this plugin.
Related
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 work on test automation for a mobile version of a website. I have several tests that I generally run through ChromeDriver or Browserstack. However, what I would really like to do is hook up my phone and run my tests through the phone. I have tried appium but I am starting to realize that it is only used for apps and not mobile versions of websites.. Does anyone have any experience in running tests through a physical device? If so, what tools did you use or do you know of any good online tutorials?
Appium IS for testing websites on mobile devices.
You must pass the appium server the browserName parameter instead of the app parameter.
I suggest reading the appium documentation.
I have used Appium, Selenium Grid and testNG to run parallel tests for websites on real devices, so if you need any further guidance feel free to ask.
Hope this helps,
Liam.
Yes of course you van use Appium for mobile web application test. In fact you can use native browser or chrome browser in Android. And Safari browser in IOS.
If you want to start the web automation for Android i suggest you to follow the following tutorial with the example code.
appium-web-application-automation-in-android
I am writing this off the top of my head, not while I am doing it. This often leads to it not being 100% correct. There might have to be made some adjustments.
iPhone
This is what I have done:
Download and run Appium Server
Install xCode Tools
Run iPhone Simulator
Get your devices ID, in console, type
instruments -s devices
Set capabilities
WebDriverManager.setGlobalExtraCapability("platformName", "iOS");
WebDriverManager.setGlobalExtraCapability("platformVersion", "14.4");
WebDriverManager.setGlobalExtraCapability("deviceName", "iPhone 11");
WebDriverManager.setGlobalExtraCapability("appium:automationName", "xcuitest");
WebDriverManager.setGlobalExtraCapability("appium:udid", "your devices ID");
WebDriverManager.setGlobalExtraCapability("browserName", "Safari");
WebDriver driver = WebDriverManager.getWebDriver();
On the phone you have to set some mode, but I can not find anymore, which one that was. (Please write in comments if you know.)
Run Test
I hope I have not forgotten anything, as this was a process.
Does anyone know if it is possible to use a headless browser to test the UI of an ASP.net 5 application that targets dnxcore50? Right now I can build an application that you can develop and run on Windows, Mac, and Linux. However, you can't run the UI tests because they need browser automation solution like Selenium.
You will have exactly the same issues as any other web frameworks.
You could potentially use PhantomJS to do exactly that.
phantomjs has a Windows and OSX build. But at the time of this writing, you would need to compile a Linux version yourself.
My goal is to get together a really solid set of testing environments for my web development. I want to leverage more HTML5/CSS3 and need to develop my toolchain better for testing in different browser environments.
I natively work in Ubuntu 14.04 and Windows. I have a mac laptop but can't always have it with me when travelling.
This is how I envision getting all environments on one laptop:
1. Ubuntu Linux (xubuntu/xfce)
2. Virtualbox / Windows
3. Virtualbox / Hackintosh
4. IOS dev environment (virtualbox ?)
5. Android Dev environment (native linux?)
Anyone have input?
This is all spurred by recently viewing one of my sites on an original iPad which still has IOS5 / Safari5. i realized that not just windows technology is crufty anymore. Internet Explorer and Safari are starting to run into many of the same long term web compatibility issues.
Thanks!
try something like https://www.equafy.com?
there is a free plan that shall include all but Mac.
I'm planning web application and considering silverlight as development platform. Will it help to solve browser compatibility issues? The app intended to be used on desktops only (no mobile).
Yes, it will solve browser compatibility issues, and could work on both Mac OS and Windows with the very same code.
The only drawback is that, the first time your user connect to your application, he will need to download the Silverlight plugin.
Awesome you would say? Well, unfortunately some people that probably never try to do something like image processing or advanced line of business application in a browser decide that plugins are not so cool and that you would be able to do the same thing with the magic power of HTML5.
We are still waiting to have the same possibility in HTML5 that we have in Silverlight or Flash, but plugins are already dead. At least as long as no big compay want to push them again.
So, my advice would be: don't start a project in Silverlight. You will have problems, even if you do not target mobile. For example it becomes harder and harder to find compatible good tools (like ReSharper, NCrunch, or even just a decent unit testing library). And in further release of Windows and Mac OS, it will probably not be supported at all (IE for Windows RT already does not support Silverlight).
Sorry man, Silverlight is dead, you arrive after the battle.
If your developing your application for an Intranet, I would say Silverlight is an excellent choice.
If you are developing for the Internet, use an HTML based language