Coded UI Automation is not working with Silverlight 5 - visual-studio-2010

I am using Coded UI (VS2013) for my sliverlight OOB UI (VS2010) automation. Once i start recording and i put mouse cursor on any control in SL OOB UI then i am getting below error. I also noticed many people faced this issue. But i didn't find any solution for this.
EDIT:
I've added SilverlightUIAutomationHelper to SL OOB application (VS2010).
I've added below dlls for Coded UI project.
Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll and
Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll

Related

WebView2 rendering in wrong place when used on Outlook VSTO panel on mixed DPI screens

I'm trying to use WebView2 for rendering the content in Outlook VSTO Custom Pane.
I'm struggling with the issue when my plugin is used in a system with multiple monitors which have different scaling / DPI settings. The content is rendered at random place outside the TaskPane. To be precise - this is only rendering issue, as all hit tests seems to be working in proper places.
The example:
https://learn.microsoft.com/answers/storage/attachments/159888-outlook-dpi-issue.png
The exact issue was reported to edge / webview team by other people as well, but it seems the issue is on Office side. Here is the thread for the reference:
https://github.com/MicrosoftEdge/WebView2Feedback/issues/820
Hopefully perhaps is there any workaround? This is a major showstopper for me and our clients.
I'm using Win10 21H2, .Net framework 4.6.2, Outlook version 2102, webview 1.0.1054.31, edge 96.0.1054.62
This is a bug in MS Office. For a workaround, use Chromium with the --disable-gpu-compositing switch.

Refresh Xamarin View while debugging without rebuild of app

In Visual Studio (2015) using an Android Emulator, is there a way I can make a minor update to a xaml view, and have that refreshed in the debugging application without having to rebuild and re-deploy the project?
Currently a build/deploy for debugging takes about 2 minutes, and having to make some minor UI style tweak and do the whole thing again is driving me nuts.
I suppose I'm asking if there's some ASP.NET MVC-like functionality where I can update a frontend file (cshtml, js, etc) and just refresh the page without reloading the project.
Xamarin Live Player lets you make live edits to your app and have those changes reflected live on your device. Your code runs inside the Xamarin Live Player app – there is no need to set up emulators or to use cables to deploy the code!
https://www.xamarin.com/live
It does have limitations, be sure to read the Limitation section:
https://developer.xamarin.com/guides/cross-platform/live

Recommended way to debug Xamarin.ios webview js from Visual Studio?

With 3 levels of abstraction (VS->Mac, Mac->phone/simulator app, app->webview), I'm not sure where to start.
I have cross-plat Xamarin app with nothing more than a webview (in Xamarin.Forms) hosting an external website (I also created). The website & all hosted apps (Windows/Android) perform very well, except on ios-webview. (Safari on ios and phone work fine). However, on ios/hosted-app, a 3 second load takes 60+ seconds.
Hopefully without having to add specific console/debug messages, how do I go about seeing where (in javascript), the time is lost - or what the issue might be?
Thanks,

Enabling editing code while the app is running in Visual Studio (WP8)

I am developing Windows Phone 8 apps with Visual Studio and not being able to change the code while the app is running makes me crazy. I fall for it everytime. Trying to change the code before stopping debugging.
Tools > Options > Edit and Continue => I unchecked Enable Edit and Continue.
With above steps, I was able to change the code while the app is running but now I can't change design. How can I enable design editing while the app is running, too?
There is a very simple way of editing the design without ever running the app. If you open your solution in Blend, you can app sample data to your bound views based off the classes that they bind to. Then when you make changes in the XAML, they will update in the design view with the sample data.
http://blogs.msdn.com/b/pakistan/archive/2013/08/29/using-sampledata-in-windows-phone-8-using-blend.aspx

UI Automation tools for windows (web page embedded in a windows app)

We have a webpage(html) embedded inside an outlook addin. We have tried to automate UI testing using AutoIt and MS UI Automation framework in the past with the help of redemption to open/close outlook etc.. But we are having a problem accessing the elements inside the webpage within the addin (we are able to access Windows elements).
Does anybody know any automation tool/framework that can help us?
Give Sikuli a try. Start with the tutorials.
I can't think of any other solution, as you're working in a very custom situation.

Resources