Coded UI Test

KOSMIK TECHNOLOGIES PVT.LTD
Hyderabad
45


Course Summary

IT, Software & Hardware
45
Class room
Beginner/Entry level

Course Overview

KOSMIK is a Global leader in training,development,and consulting services that helps students bring the future of work to life today in a corporate environment.

We have a team of certified professionals and experienced faculty working with latest technologies in CMM level top MNC’S.

We build students capabilities and leadership skills at every level and every opportunity.We do this to help build internal support, get to real issues, and reach practical recommendations. We bring out the capabilities of students to fully participate in the training and lead any project work.

We are passionate about taking on immense challenges that matter to our students and,often,to the world.


Course Description

  1. The element identification mechanism is powerful
  2. Uses C#, the compiled language. which comes with its own advantages over the scripting languages
  3. Works well with The Web as well as Desktop applications
  4. Strong support for Synchronization. The Playback Engine allows settings such as “WaitForReadyLevel”. which can be either “UIThreadOnly” or “All Threads”. It makes the Test Execution stop until either UI Threads or All threads are ready.
  5. Launch Internet Explorer
  6. Navigate to www.google.com
  7. Search for “Code UI Test”


Topics Covered

    Coded UI Test is a new feature introduced by Microsoft for UI Automation. The automated tests created by CUIT used for the functionality Test Automation Framework Using Coded UI Test.

    Test Automation Framework Using Coded UI Test

    This tool, we started exploring its ‘Record and Playback’ feature. A very simple test case initiated effort following steps

    • Launch Internet Explorer
    • Navigate to www.google.com
    • Search for “Code UI Test”

    Playback Engine Performs Coded UI Test

    The CUIT playback engine is also powerful. Playback engine performs duties such as searching for a control and ensuring. the control is visible and ready to act upon. Once the control is ready the engine performs actions such as ‘Click’, ‘Select’, ‘Set a Value’, etc. on it.

    The recording feature is of course, not enough for building a full-fledged automation suite. But, CUIT’s recording feature helps decide to write own scripts. It helps in getting the proper hierarchy of controls on the page and a set of properties. That used to identify a particular control.

    We also developed a UI Automation Framework using CUIT. While developing this framework, we experienced that CUIT has got several strengths. Its Recording feature helped us save development time to a good extent.

    Pros

    1. The element identification mechanism is powerful
    2. Uses C#, the compiled language. which comes with its own advantages over the scripting languages
    3. Works well with The Web as well as Desktop applications
    4. Strong support for Synchronization. The Playback Engine allows settings such as “WaitForReadyLevel”. which can be either “UIThreadOnly” or “All Threads”. It makes the Test Execution stop until either UI Threads or All threads are ready.

    Other supported settings are “Stop on Error”. “Match exact hierarchy”, “Search in minimized window” etc.

    1. It supports AJAX
    2. The tests run on Remote Machines with the help of Tests Agents

    Cons

    1. Generates huge code for even a small UI operation and maintainability to some extent
    2. Code Reusability limited. it regenerates code even if it was already generated for a particular action
    3. It uses almost all the Property Value pairs to identify and locate the UI Controls. which at times seems to affect the performance of the script

    Guidelines for Automation using Code UI Test

    1. Test creation is a time-consuming task, but it is worth going for it. the application under test is pretty stable and large number of tests executed
    2. it is not worth putting efforts in generating Test Scripts for an application. which has to change functionality
    3. this used for The Web as well as Windows applications. It supports,
    • AJAX
    • Silver light

See other jobs

Share Course on :
CNC COURSE
SR Technologies Institute
Hyderabad
45

ANSIBLE programme
Lucidtechsystems Pvt.Ltd
Hyderabad
45