wonderfully unique software solutions

Whole Tomato: How to keep testing in Visual Studio post-Coded UI demise

Left-shifted developers and technical testers who have used Coded UI need not mourn its passing, according to Whole Tomato‘s regular Visual Assist ‘Tools for Tuesday’ blog.

“Rather, they should see the deprecation as an opportunity to increase the speed and quality of their releases,” explains test automation firm Ranorex, in a Visual Studio user tips sheet provided to Whole Tomato’s Kyle Wheeler.

Ranorex explains that Coded UI facilitated a shift-left approach to development by enabling automated UI-driven functional testing from within the IDE. However, Microsoft has announced that Visual Studio 2019 will be the last version to support Coded UI.

Users can continue to test in Visual Studio in a post-Coded UI world. The Ranorex testing framework provides an API for C# and VB.Net that replaces Coded UI.

Migration from Coded UI to the Ranorex testing framework is a three-step process.

1. Create a new Visual Studio project, select .NET Framework 4.5.2 or higher, choose language and select Console Application.

2. Add Ranorex core assemblies as references, via Solution Explorer. Add the following: Ranorex.Bootstrapper, Ranorex.Common, Ranorex.Core, Ranorex.Core.Resolver, All Ranorex.Plugin assemblies. Set the Copy Local option to False for all Ranorex assemblies except for Ranorex.Core.Resolver.

3. Start writing code and continue with left-shifted testing in Visual Studio.

“While we hope Visual Assist is your favorite dev tool, we know we can’t (and won’t) do everything for you. As we continue developing solutions, we’ll also showcase tools or tips for other problems you may face in other parts of development,” adds Whole Tomato’s Wheeler.

Recent Articles

Why storing all your enterprise data enables ROT at the core

Data is everywhere -- and increasingly difficult to track and manage. Worse still -- as Lepide's Philip Robinson notes -- much of...

Diverse file exploits isolated in HP-Bromium threat report for Q4

Hackers and other malicious actors could be increasingly targeting diverse files and applications, according to HP-Bromium's threat intelligence report.

‘Zero trust’ cybersecurity approach is misunderstood: Stormshield

Trusting nothing and no one when it comes to network access is impractical if not completely impossible, endpoint security vendor Stormshield has...

Firmware hackers target embedded systems and IoT apps

Microsoft's report of a a rise in firmware attacks partly reflects the rise of embedded systems and the Internet of Things (IoT),...

Netsparker and Acunetix web scanning apps get design and brand revamp

Invicti Security - the parent brand of web scanners Acunetix and Netsparker - has flagged changes to its product design and user...

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here

Weirdware monthly - Get the latest news in your inbox