---
title: Improving Tests through Coded UI Test (CUIT)
description: Coded UI Test (CUIT) allows us to have a fast, efficient, repeatable, and reliable way to make sure everything is tested.
image: https://www.cimetrix.com/hubfs/Blogs_Pics/Coded_UI_2.png
---

[![Cimetrix-PDF-combined-logo](https://www.cimetrix.com/hs-fs/hubfs/logos/Cimetrix-PDF-combined-logo.png?width=361&height=100&name=Cimetrix-PDF-combined-logo.png "Cimetrix-PDF-combined-logo")](https://www.cimetrix.com)

[English](https://www.cimetrix.com/)

- [한국어](https://www.cimetrix.com/kr)
- [日本語](https://www.cimetrix.com/jp)
- [中文简体](https://www.cimetrix.com/cn)
- [中文繁體](https://www.cimetrix.com/tw)

- [ Products ** ](https://www.cimetrix.com/blog/coded-ui-test-cuit#)
  
  #### [Smart Connected Equipment](https://www.cimetrix.com/equipment)
  
    - ##### Connectivity
    - [CIM300](https://www.cimetrix.com/cim300)
    - [CIMConnect](https://www.cimetrix.com/cimconnect)
    - [CIMPortal Plus](https://www.cimetrix.com/cimportal)
    - ##### Control
    - [CIMControlFramework](https://www.cimetrix.com/cimcontrolframework)
  
  
  
  
  
  
    - #### [Smart Connected Factory](https://www.cimetrix.com/factory)
    - [Sapience](https://www.cimetrix.com/sapience)
  
  
  
  
    - #### [Utilities](https://www.cimetrix.com/utilities)
    - [ECCEPlus](https://www.cimetrix.com/ecce)
    - [EquipmentTest](https://www.cimetrix.com/equipmenttest)
    - [EDATester](https://www.cimetrix.com/edatester)
  
  
  
  
  ##### Schedule a Demo Today!
  
  Click below for a demo or to speak with a rep.
  
  [Get Started](https://www.cimetrix.com/schedule-a-meeting)
- [ Platform ** ](https://www.cimetrix.com/sapience)
- [ Ecosystem ** ](https://www.cimetrix.com/blog/coded-ui-test-cuit#)
  
    - [Industries](https://www.cimetrix.com/industries)
    - [Worldwide Partners](https://www.cimetrix.com/partners)
  
  
    - [Training](https://www.cimetrix.com/training)
    - [Support](https://www.cimetrix.com/support)
  
  
  
  
  
  
  #### Schedule a Demo Today!
  
  Click below for a demo or to speak with a rep.
  
  [Get Started](https://www.cimetrix.com/schedule-a-meeting)
- [Technologies ** ](https://www.cimetrix.com/blog/coded-ui-test-cuit#)
  
    - [GEM](https://www.cimetrix.com/semi-secs-gem-intro)
    - [PV2 Standard](https://www.cimetrix.com/pv2)
    - [GEM300](https://www.cimetrix.com/gem300)
  
  
    - [EDA/Interface A](https://www.cimetrix.com/interfacea)
    - [SEMI Standards](https://www.cimetrix.com/semi-standards)
  
  
  
  
  #### Schedule a Demo Today!
  
  Click below for a demo or to speak with a rep.
  
  [Get Started](https://www.cimetrix.com/schedule-a-meeting)

- [Resources ** ](https://www.cimetrix.com/blog/coded-ui-test-cuit#) 
    - [Resources Home](https://www.cimetrix.com/resources)
    - [Datasheets](https://www.cimetrix.com/resources-datasheets)
    - [Tech Overviews](https://www.cimetrix.com/resources-technical-overviews)
    - [White Papers](https://www.cimetrix.com/resources-white-papers)
    - [eBooks](https://www.cimetrix.com/resources-ebooks)
    - [Case Studies](https://www.cimetrix.com/resources-case-studies)
    - [Infographics](https://www.cimetrix.com/resources-infographics)
    - [Videos](https://www.cimetrix.com/resources-videos)
    - [Presentations](https://www.cimetrix.com/resources-presentations)
- [Company ** ](https://www.cimetrix.com/blog/coded-ui-test-cuit#) 
    - ##### About
    - [About Us](https://www.cimetrix.com/about)
    - [Contact](https://www.cimetrix.com/contact)
    - [Leadership](https://www.cimetrix.com/leadership)
    - [Investor Relations](https://www.cimetrix.com/investors)
    - [Employment](https://www.cimetrix.com/employment)
    - [Directions](https://www.cimetrix.com/directions)
    - ##### News & Media
    - [Blog](https://www.cimetrix.com/blog)
    - [News](https://www.cimetrix.com/news)
    - [Events](https://www.cimetrix.com/events)

- [Products](http://#) 
    - [Smart Connected Equipment](http://#) 
          - [Connectivity](http://#)
          - [Control](http://#)
    - [Smart Connected Factory](http://#) 
          - [HostConnect](http://#)
          - [FactoryInsight](http://#)
    - [Utilities](http://#) 
          - [ECCEPlus](http://#)
          - [EDATester](http://#)
          - [TestConnect](http://#)
          - [GEMHost Messenger](http://#)
- [Ecosystem](http://#) 
    - [Industries](http://#)
    - [Worldwide Partners](http://#) 
          - [Training](http://#)
          - [Support](http://#)
          - [Academic Partners](http://#)
- [Standards (Technologies)](http://#) 
    - [SECS/GEM](http://#)
    - [PV2](http://#)
    - [GEM300](http://#)
    - [EDA/Interface A](http://#)
    - [SEMI Standards](http://#)

# Industry News, Trends and Technology, and Standards Updates

![](https://www.cimetrix.com/hubfs/Blogs_Pics/Blog_Header.png)

# Improving Tests through Coded UI Test (CUIT)

- [Tweet](https://twitter.com/share)

Have you ever had that itch you just can’t seem to ever get rid of despite all your scratching? Well, UI Testing is that same itch for many developers. Fortunately, Coded UI Test exists, allowing us to scratch that itch with ease and relieve the heartache that is UI Testing.

A very important part of our development process is testing our software to ensure that each product is the best it can possibly be for our customers. There can often be a lot to test in a short period. Having a fast, efficient, repeatable, and reliable way to make sure everything is tested is what we strive for. Coded UI Test (CUIT) allows us these attributes.

![Coded_UI_1.png](https://www.cimetrix.com/hs-fs/hubfs/Blogs_Pics/Coded_UI_1.png?width=223&height=61&name=Coded_UI_1.png)

CUIT creates automated tests used for functionality testing of a GUI application. There are several ways to go about this, the first being the ‘Record and Playback’ feature that CUIT provides. This option allows us to set up tests by starting the recording feature and performing the tasks the developer would like to test. The recording feature will record everything the developer does and automatically generate a test for us. After it is generated we can play it back to run the test as many times as we want.

The recording feature alone is not the only option CUIT provides of course. However, the recording feature certainly does help when writing our own scripts when we want to go beyond the basic testing features available through the recording. Since the recording feature generates its own C# code, we can use those generated scripts to see how the CUIT works and expand on those scripts to fit our needs.

![Coded_UI_2.png](https://www.cimetrix.com/hs-fs/hubfs/Blogs_Pics/Coded_UI_2.png?width=597&height=225&name=Coded_UI_2.png)

We can see in this generated code snippet how CUIT goes about looking for a button in a WinForms application. This button in the above sample is named ‘Refresh’ and once CUIT finds this button through this code snippet, we can do many different things with the button. This includes clicking the button, verifying the test in the button, seeing whether the button is disabled or not, and many other things we might want to check in our tests. Now with this code snippet in mind we can modify it to look for other buttons or other controls such as checkboxes, radio buttons, and other controls we might want to include in a test.

We want to be able to expand upon our tests through the help of our Software Engineers and not just our Quality Engineers. Thankfully, CUIT uses C# instead of a proprietary scripting language, making it easy for our Software Engineers to go from working on our applications to writing tests through CUIT for our applications. This enables us to collaborate effectively and make sure our products are being tested as best they can.

CUIT is a great way to develop sophisticated tests for our applications to assure our customers will be satisfied with our products. We will continue to create more tests within CUIT to help us make sure no new bugs are introduced. The more tests we can automate through CUIT, the faster and more efficient our testing process will be and the easier it will be for us to identify potential problems if they arise, helping us create a product we can continue to be proud of.

 Topics: [Programming Tools](https://www.cimetrix.com/blog/topic/programming-tools)

Posted by [Devon Truman; Quality Engineer](https://www.cimetrix.com/blog/author/devon-truman-quality-engineer) on Jun 21, 2017 11:30:00 AM

![](https://www.cimetrix.com/hubfs/Headshots/Cimetrix-Devon_Truman_copy.jpg)

Find me on:

[LinkedIn](https://www.linkedin.com/in/devon-truman-a4b71a80/)

### Subscribe to Blog Updates

### Follow Me

<https://www.youtube.com/channel/UC2hkUR3sNMrbH6IGeM8TtLw?sub_confirmation=1><https://www.linkedin.com/company/866619><https://twitter.com/Cimetrix>

### Recent Posts

### Posts by Topic

- [Doing Business with Cimetrix (164)](https://www.cimetrix.com/blog/topic/doing-business-with-cimetrix)
- [Industry Highlights (114)](https://www.cimetrix.com/blog/topic/industry-highlights)
- [Smart Manufacturing/Industry 4.0 (103)](https://www.cimetrix.com/blog/topic/smart-manufacturing-industry-4-0)
- [Semiconductor Industry (95)](https://www.cimetrix.com/blog/topic/semiconductor-industry)
- [Events (89)](https://www.cimetrix.com/blog/topic/events)
- [Cimetrix Products (69)](https://www.cimetrix.com/blog/topic/cimetrix-products)
- [EDA/Interface A (69)](https://www.cimetrix.com/blog/topic/eda-interface-a)
- [Cimetrix Company Culture (68)](https://www.cimetrix.com/blog/topic/cimetrix-company-culture)
- [SECS/GEM (48)](https://www.cimetrix.com/blog/topic/secsgem)
- [Meet Our Team (37)](https://www.cimetrix.com/blog/topic/meet-our-team)
- [Equipment Control-Software Products (28)](https://www.cimetrix.com/blog/topic/equipment-control-software-products)
- [Customer Support (25)](https://www.cimetrix.com/blog/topic/customer-support)
- [Global Services (22)](https://www.cimetrix.com/blog/topic/global-services)
- [Programming Tools (16)](https://www.cimetrix.com/blog/topic/programming-tools)
- [Standards (16)](https://www.cimetrix.com/blog/topic/standards)
- [Investor News (14)](https://www.cimetrix.com/blog/topic/investor-news)
- [Photovoltaic/PV Standards (14)](https://www.cimetrix.com/blog/topic/photovoltaic-pv-standards)
- [Partners (13)](https://www.cimetrix.com/blog/topic/partners)
- [Data Collection/Management (11)](https://www.cimetrix.com/blog/topic/data-collection-management)
- [EDA Testing Series (6)](https://www.cimetrix.com/blog/topic/eda-testing-series)
- [Models in Smart Manufacturing series (6)](https://www.cimetrix.com/blog/topic/models-in-smart-manufacturing-series)
- [SMT/PCB/PCBA (6)](https://www.cimetrix.com/blog/topic/smt-pcb-pcba)
- [Book Club (5)](https://www.cimetrix.com/blog/topic/book-club)
- [EDA Best Practices (5)](https://www.cimetrix.com/blog/topic/eda-best-practices)
- [GEM300 (5)](https://www.cimetrix.com/blog/topic/gem300)
- [SECS/GEM Features & Benefits Series (3)](https://www.cimetrix.com/blog/topic/secs-gem-features-benefits-series)
- [Machine Learning (2)](https://www.cimetrix.com/blog/topic/machine-learning)
- [EDA in Smart Manufacturing Series (1)](https://www.cimetrix.com/blog/topic/eda-in-smart-manufacturing-series)

[see all](https://www.cimetrix.com/blog/coded-ui-test-cuit#)

Products

- [**Smart Equipment**](https://www.cimetrix.com/equipment)
- [CIM300](https://www.cimetrix.com/cim300)
- [CIMConnect](https://www.cimetrix.com/cimconnect)
- [CIMPortal Plus](https://www.cimetrix.com/cimportal)
- [CIMControlFramework](https://www.cimetrix.com/cimcontrolframework)

- [**Smart Factory**](https://www.cimetrix.com/factory)
- [Sapience](https://www.cimetrix.com/sapience)

- [**Utilities**](https://www.cimetrix.com/utilities)
- [EquipmentTest](https://www.cimetrix.com/equipmenttest)
- [ECCEPlus](https://www.cimetrix.com/ecceplus)
- [EDATester](https://www.cimetrix.com/edatester)

Platform

- [Sapience](https://www.cimetrix.com/sapience)

Support

- [**Login](https://www.cimetrix.com/online-support)
- [**801-256-6501](tel:801-256-6501)
- [**support@cimetrix.com](mailto:cimetrix-support@pdf.com)

Ecosystem

- [Industries](https://www.cimetrix.com/industries)
- [Worldwide Partners](https://www.cimetrix.com/partners)
- [Support](https://www.cimetrix.com/support)
- [Training](https://www.cimetrix.com/training)

Technologies

- [SECS/GEM](https://www.cimetrix.com/semi-secs-gem-intro)
- [PV2](https://www.cimetrix.com/pv2)
- [GEM300](https://www.cimetrix.com/gem300)
- [EDA/Interface A](https://www.cimetrix.com/interfacea)
- [SEMI Standards](https://www.cimetrix.com/semi-standards)

Resources

- [Resources Home](https://www.cimetrix.com/resources)
- [Datasheets](https://www.cimetrix.com/resources-datasheets)
- [Tech Overviews](https://www.cimetrix.com/resources-technical-overviews)
- [White Papers](https://www.cimetrix.com/resources-white-papers)
- [eBooks](https://www.cimetrix.com/resources-ebooks)
- [Case Studies](https://www.cimetrix.com/resources-case-studies)
- [Videos](https://www.cimetrix.com/resources-videos)
- [Presentations](https://www.cimetrix.com/resources-presentations)

Company

- [Blog](https://www.cimetrix.com/blog)
- [News](https://www.cimetrix.com/news)
- [Events](https://www.cimetrix.com/events)
- [About Us](https://www.cimetrix.com/about)
- [Contact Us](https://www.cimetrix.com/contact)

Location

Cimetrix Incorporated

6979 South High Tech Drive Salt Lake City, UT 84047-3757, USA  
[cimetrix-contact@pdf.com](mailto:cimetrix-contact@pdf.com)

[![Cimetrix-PDF-combined-logo-footer](https://www.cimetrix.com/hubfs/logos/Cimetrix-PDF-combined-logo-footer.png)](https://www.cimetrix.com/)

Copyright © 2024 PDF Solutions, Inc. All Rights Reserved. | [Privacy Policy](https://www.cimetrix.com/privacy-policy)

[![twitter](https://www.cimetrix.com/hubfs/twitter.svg) ](https://twitter.com/Cimetrix)

[![youtube](https://www.cimetrix.com/hubfs/youtube.svg) ](https://www.youtube.com/channel/UC2hkUR3sNMrbH6IGeM8TtLw)

[![linkedin-in](https://www.cimetrix.com/hubfs/linkedin-in.svg) ](https://www.linkedin.com/company/866619)

[![facebook](https://www.cimetrix.com/hubfs/facebook.svg) ](https://www.facebook.com/cimetrixinc/?ref=aymt_homepage_panel)

![](https://www.cimetrix.com/hs-fs/hubfs/1BrxMenu/Cimetrix360.png?width=358&name=Cimetrix360.png)