Sign In
Mathew Aniyan's Blog
Program Manager for Coded UI Test.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Tags
Coded UI Test
FAQ
Pages
Tip of the Day
VSTS2010
Browse by Tags
MSDN Blogs
>
Mathew Aniyan's Blog
>
All Tags
>
tip of the day
Tagged Content List
Blog Post:
Coded UI Test – Tip of the Day#8 – Record Actions
Mathew Aniyan MSFT'
In the Coded UI Test Builder, you can start recording your test actions by clicking on the Start Recording button. The button changes to Pause Recording. Recorder takes some time (<1s) to start. You should start your test actions (which you want to record) only after the button has changed...
on
20 Jan 2010
Blog Post:
Coded UI Test – Tip of the Day#7 – Generate Code
Mathew Aniyan MSFT'
After recording a series of action, you need to click on the Generate Code button, give a name for the Recorded method and generate code for the recorded actions. Similarly, after adding assertions, you need to click on the Generate Code button, give a name for the Assertion Method and generate...
on
20 Jan 2010
Blog Post:
Coded UI Test – Tip of the Day#6 – See the recorded steps and delete redundant actions
Mathew Aniyan MSFT'
You can click the “Show Recorded Steps” button to see all actions performed during the current recording session. This dialog can then be pinned. You can then resume recording and all actions can be seen in this dialog. When focus moves away from this dialog, it becomes semi-transparent...
on
18 Jan 2010
Blog Post:
Coded UI Test – Tip of the Day#5 – Copy reference of a control to clipboard
Mathew Aniyan MSFT'
In Coded UI Test, you reference a control by its full hierarchy in the UI Control Map. The above UI Control map shows the hierarchy of the Search Edit box in Bing. If you wanted to *hand-code* some actions or verify properties of this control, you will have to type this full hierarchy....
on
17 Jan 2010
Blog Post:
Coded UI Test – Tip of the Day#4 – Refresh the properties of a control in the UI Control Map
Mathew Aniyan MSFT'
When an existing control is selected in the UI Control Map, we display only its search properties. (Only the search properties are persisted in the UITest file). You can click on the “Show all the properties” link at the bottom of the properties screen or click on the Refresh button to see the rest of...
on
14 Jan 2010
Blog Post:
Coded UI Test – Tip of the Day#3 – Add controls to the UI Control Map
Mathew Aniyan MSFT'
Controls referenced during recording & controls for which assertions have been added are automatically added to the UI Control Map. In some cases, you may want to add a control to the UI Control Map, without recording or adding assertions. In such cases, first locate the control using the cross-hair...
on
13 Jan 2010
Blog Post:
Coded UI Test – Tip of the Day#2 – Use the navigation dial to move around in the UI Tree
Mathew Aniyan MSFT'
In some user interfaces, it is very difficult to drag the cross-hair from the Coded UI Test Builder onto a specific control. e.g- I want to locate a table on an html page, but when i drag the cross-hair on it, the cell gets selected. In such cases, you drop the cross-hair onto a nearest control and then...
on
12 Jan 2010
Blog Post:
Coded UI Test – Tip of the Day #1 - Win+I to locate controls
Mathew Aniyan MSFT'
In the Coded UI Test Builder, you can drag the cross-hair and drop it on a control to see its properties. While you are dragging the cross-hair, a blue highlight rectangle will be drawn around the control which has focus. In some cases, e.g:- context menus, this model will not work. When you start a...
on
12 Jan 2010
Page 1 of 1 (8 items)