Articles → CODED UI → Introduction To Coded UI

Introduction To Coded UI






What Is Coded UI?





Software Requirement




Visual studio versionVisual studio subversion
Visual studio 2012Visual studio ultimate and visual studio premium
Visual studio 2013Visual studio ultimate and visual studio premium
Visual studio 2015Visual studio premium



Create Your First Project




  1. Open visual studio
  2. Go to File – New – Project..
  3. A pop up window appears to select the project type.
  4. Select the project type as ‘Coded UI Test Project’ as shown in figure below
  5. Picture showing selecting the Coded UI Test Project from the visual studio installed templates

    Click to Enlarge

  6. Enter project name and click on Ok.


Picture showing a popup window that provides different options for writing test cases in coded UI

Click to Enlarge





Picture showing the project structure of the coded UI project in the solution explorer

Click to Enlarge



Picture showing the .net code of your first coded UI project

Click to Enlarge



  1. CodedUITest – It means that the class ‘CodedUITest1’ is a coded UI test class and all the test methods will come under it.
  2. TestMethod – Automated test cases will be written in this method.



Posted By  -  Karan Gupta
 
Posted On  -  Saturday, October 14, 2017

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250