<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>cuite Discussions Rss Feed</title><link>http://cuite.codeplex.com/discussions</link><description>cuite Discussions Rss Description</description><item><title>New Post: can we identify radio button using associated label</title><link>http://cuite.codeplex.com/discussions/444522</link><description>&lt;div style="line-height: normal;"&gt;Hi.&lt;br /&gt;
&lt;br /&gt;
Can you share your HTML and sample test code please?&lt;br /&gt;
&lt;br /&gt;
Thank you.&lt;br /&gt;
&lt;/div&gt;</description><author>icnocop</author><pubDate>Wed, 22 May 2013 07:16:37 GMT</pubDate><guid isPermaLink="false">New Post: can we identify radio button using associated label 20130522071637A</guid></item><item><title>New Post: why dont we have Cuite_HTMLRow?</title><link>http://cuite.codeplex.com/discussions/444521</link><description>&lt;div style="line-height: normal;"&gt;Support for CUITe_HtmlRow has already been checked in.&lt;br /&gt;
&lt;br /&gt;
Please see &lt;a href="https://cuite.codeplex.com/SourceControl/changeset/26934" rel="nofollow"&gt;Commit #26934&lt;/a&gt;.&lt;br /&gt;
&lt;/div&gt;</description><author>icnocop</author><pubDate>Wed, 22 May 2013 07:15:06 GMT</pubDate><guid isPermaLink="false">New Post: why dont we have Cuite_HTMLRow? 20130522071506A</guid></item><item><title>New Post: can we identify radio button using associated label</title><link>http://cuite.codeplex.com/discussions/444522</link><description>&lt;div style="line-height: normal;"&gt;can we identify radio button using associated label?&lt;br /&gt;
&lt;br /&gt;
I have several radio buttons, only factor differentiating them are associated labels.&lt;br /&gt;
&lt;/div&gt;</description><author>deepakguna</author><pubDate>Wed, 22 May 2013 04:52:47 GMT</pubDate><guid isPermaLink="false">New Post: can we identify radio button using associated label 20130522045247A</guid></item><item><title>New Post: why dont we have Cuite_HTMLRow?</title><link>http://cuite.codeplex.com/discussions/444521</link><description>&lt;div style="line-height: normal;"&gt;we need to have Cuite_HTMLRow?&lt;br /&gt;
&lt;br /&gt;
wrapping &lt;br /&gt;
&lt;br /&gt;
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlRow&lt;br /&gt;
&lt;/div&gt;</description><author>deepakguna</author><pubDate>Wed, 22 May 2013 04:51:53 GMT</pubDate><guid isPermaLink="false">New Post: why dont we have Cuite_HTMLRow? 20130522045153A</guid></item><item><title>New Post: CUITe in windows applications</title><link>http://cuite.codeplex.com/discussions/443234</link><description>&lt;div style="line-height: normal;"&gt;Hi centennial_C4,&lt;br /&gt;
&lt;br /&gt;
The CUITe ObjectRecorder does not support recording desktop applications.&lt;br /&gt;
&lt;br /&gt;
I recommend using the built-in Visual Studio Coded UI Test Recorder and then convert the generated code for use with CUITe.&lt;br /&gt;
&lt;br /&gt;
You can see some sample code that the Visual Studio Coded UI Test Recorder generates and how it can be converted into less code using CUITe in questions 1 and 2 of the FAQ.&lt;br /&gt;
&lt;br /&gt;
[&lt;a href="http://cuite.codeplex.com/wikipage?title=Frequently" rel="nofollow"&gt;http://cuite.codeplex.com/wikipage?title=Frequently&lt;/a&gt; Asked Questions](&lt;a href="http://cuite.codeplex.com/wikipage?title=Frequently" rel="nofollow"&gt;http://cuite.codeplex.com/wikipage?title=Frequently&lt;/a&gt; Asked Questions)&lt;br /&gt;
&lt;/div&gt;</description><author>icnocop</author><pubDate>Fri, 17 May 2013 17:01:48 GMT</pubDate><guid isPermaLink="false">New Post: CUITe in windows applications 20130517050148P</guid></item><item><title>New Post: CUITe in windows applications</title><link>http://cuite.codeplex.com/discussions/443234</link><description>&lt;div style="line-height: normal;"&gt;Hello icnocop,&lt;br /&gt;
&lt;br /&gt;
Thanks for directing to the source code.  I am keen on WPF application which I guess latest version of CUITe supports.  But as Greg asked I didnt find any tutorial/ video to explain how to record the WPF application with CUITe.&lt;br /&gt;
&lt;br /&gt;
Could yo u please help ?&lt;br /&gt;
&lt;br /&gt;
thanks&lt;br /&gt;
&lt;/div&gt;</description><author>centennial_C4</author><pubDate>Fri, 17 May 2013 13:52:15 GMT</pubDate><guid isPermaLink="false">New Post: CUITe in windows applications 20130517015215P</guid></item><item><title>New Post: CODED UI TESTING</title><link>http://cuite.codeplex.com/discussions/444023</link><description>&lt;div style="line-height: normal;"&gt;Hi gbon03,&lt;br /&gt;
&lt;br /&gt;
This discussion forum is for Coded UI Test enhanced Framework (CUITe).&lt;br /&gt;
&lt;br /&gt;
For better help with Coded UI, you may refer to the Microsoft's &amp;quot;Test Tools in Visual Studio 2010 and 2012&amp;quot; discussion forum &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/vstest" rel="nofollow"&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Thank you.&lt;br /&gt;
&lt;/div&gt;</description><author>icnocop</author><pubDate>Fri, 17 May 2013 10:29:44 GMT</pubDate><guid isPermaLink="false">New Post: CODED UI TESTING 20130517102944A</guid></item><item><title>New Post: CODED UI TESTING</title><link>http://cuite.codeplex.com/discussions/444023</link><description>&lt;div style="line-height: normal;"&gt;I use VS 2012 CUITe anyone can help me with this problems. &lt;br /&gt;
&lt;br /&gt;
When I'm using IE9 there's no error but when I'm using Chrome and Firefox i always meet this problem.&lt;br /&gt;
&lt;br /&gt;
Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException:Unable to fine the top level element of the control.&lt;br /&gt;
&lt;br /&gt;
Microsoft.VisualStudio.TestTools.UITest.Extension.TechnologyNotSupportedException:The browser Firefox is currently not supported.&lt;br /&gt;
&lt;br /&gt;
This is my code..&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Windows.Input;
using System.Windows.Forms;
using System.Drawing;
using Microsoft.VisualStudio.TestTools.UITesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.UITest.Extension;
using Keyboard = Microsoft.VisualStudio.TestTools.UITesting.Keyboard;


namespace SampleTestInCBWEB
{
    /// &amp;lt;summary&amp;gt;
    /// Summary description for CodedUITest1
    /// &amp;lt;/summary&amp;gt;
    [CodedUITest]
    public class CodedUITest1
    {
        public CodedUITest1()
        {
        }

       
        [TestMethod]
        [DataSource(&amp;quot;Microsoft.VisualStudio.TestTools.DataSource.CSV&amp;quot;, @&amp;quot;|DataDirectory|\BrowserData.csv&amp;quot;, &amp;quot;BrowserData#csv&amp;quot;, DataAccessMethod.Sequential)]
        public void CodedUITestMethod1()
        {
            BrowserWindow.CurrentBrowser = TestContext.DataRow[0].ToString();
            // To generate code for this test, select &amp;quot;Generate Code for Coded UI Test&amp;quot; from the shortcut menu and select one of the menu items.
            // For more information on generated code, see http://go.microsoft.com/fwlink/?LinkId=179463
            this.UIMap.RecordedMethod1();
            this.UIMap.AssertMethod1();
        }

        #region Additional test attributes

        // You can use the following additional attributes as you write your tests:

        ////Use TestInitialize to run code before running each test 
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{        
        //    // To generate code for this test, select &amp;quot;Generate Code for Coded UI Test&amp;quot; from the shortcut menu and select one of the menu items.
        //    // For more information on generated code, see http://go.microsoft.com/fwlink/?LinkId=179463
        //}

        ////Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{        
        //    // To generate code for this test, select &amp;quot;Generate Code for Coded UI Test&amp;quot; from the shortcut menu and select one of the menu items.
        //    // For more information on generated code, see http://go.microsoft.com/fwlink/?LinkId=179463
        //}

        #endregion

        /// &amp;lt;summary&amp;gt;
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///&amp;lt;/summary&amp;gt;
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }
        private TestContext testContextInstance;

        public UIMap UIMap
        {
            get
            {
                if ((this.map == null))
                {
                    this.map = new UIMap();
                }

                return this.map;
            }
        }

        private UIMap map;
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>gbon03</author><pubDate>Fri, 17 May 2013 09:36:07 GMT</pubDate><guid isPermaLink="false">New Post: CODED UI TESTING 20130517093607A</guid></item><item><title>New Post: Can i use more than one search or filter properties in CUITe object repository</title><link>http://cuite.codeplex.com/discussions/439644</link><description>&lt;div style="line-height: normal;"&gt;&lt;strong&gt;icnocop wrote:&lt;/strong&gt;&lt;br /&gt;
&lt;blockquote&gt;
For &amp;lt;li /&amp;gt; elements, use CUITe_HtmlListItem.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;CUITe_HtmlListItem associateActiveItem = this.Get&amp;lt;CUITe_HtmlListItem&amp;gt;(&amp;quot;class=associate active;InnerText=inner text&amp;quot;);&lt;/code&gt;&lt;/pre&gt;

&lt;/blockquote&gt;
Thank you very much!This work as well!&lt;br /&gt;
&lt;/div&gt;</description><author>alekseyp</author><pubDate>Fri, 17 May 2013 07:55:57 GMT</pubDate><guid isPermaLink="false">New Post: Can i use more than one search or filter properties in CUITe object repository 20130517075557A</guid></item><item><title>New Post: Can i use more than one search or filter properties in CUITe object repository</title><link>http://cuite.codeplex.com/discussions/439644</link><description>&lt;div style="line-height: normal;"&gt;TempFile.cs is part of Sample_CUITeTestProject in the &amp;quot;Source Code&amp;quot; (tab).&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://cuite.codeplex.com/SourceControl/latest#395947" rel="nofollow"&gt;Here is a link to the latest version.&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>icnocop</author><pubDate>Fri, 17 May 2013 07:41:26 GMT</pubDate><guid isPermaLink="false">New Post: Can i use more than one search or filter properties in CUITe object repository 20130517074126A</guid></item><item><title>New Post: Can i use more than one search or filter properties in CUITe object repository</title><link>http://cuite.codeplex.com/discussions/439644</link><description>&lt;div style="line-height: normal;"&gt;The type or name space TempFile could not be found...&lt;br /&gt;
Where you define this type?I've VS 2012 Ultimate Edition&lt;br /&gt;
&lt;img src="http://www.nsfpic.com/data/mm/mmxktn/tempfile_issue.png" alt="Image" /&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>alekseyp</author><pubDate>Fri, 17 May 2013 07:01:15 GMT</pubDate><guid isPermaLink="false">New Post: Can i use more than one search or filter properties in CUITe object repository 20130517070115A</guid></item><item><title>New Post: Can i use more than one search or filter properties in CUITe object repository</title><link>http://cuite.codeplex.com/discussions/439644</link><description>&lt;div style="line-height: normal;"&gt;For &amp;lt;li /&amp;gt; elements, use CUITe_HtmlListItem.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;CUITe_HtmlListItem associateActiveItem = this.Get&amp;lt;CUITe_HtmlListItem&amp;gt;(&amp;quot;class=associate active;InnerText=inner text&amp;quot;);&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>icnocop</author><pubDate>Fri, 17 May 2013 05:04:00 GMT</pubDate><guid isPermaLink="false">New Post: Can i use more than one search or filter properties in CUITe object repository 20130517050400A</guid></item><item><title>New Post: Can i use more than one search or filter properties in CUITe object repository</title><link>http://cuite.codeplex.com/discussions/439644</link><description>&lt;div style="line-height: normal;"&gt;The Built-in Coded UI recorder  looks like not friendly, and i want to write my hand code with CUITe coded ui.&lt;br /&gt;
Example code with built-in coded ui&lt;br /&gt;
&lt;pre&gt;&lt;code&gt; /// &amp;lt;summary&amp;gt;
 /// Verify that the 'ControlDefinition' property of class equals class=&amp;quot;associate active&amp;quot;'
 /// &amp;lt;/summary&amp;gt;
public string CustomControlDefinition = &amp;quot;class=\&amp;quot;associate active\&amp;quot;&amp;quot;;

 public HtmlCustom CustomControlDefinition 
        {
            get
            {
                if ((this.mCustomControlDefinition  == null))
                {
                    this.CustomControlDefinition  = new HtmlCustom(this);
                    #region Search Criteria
                    this.CustomControlDefinition SearchProperties[&amp;quot;TagName&amp;quot;] = &amp;quot;LI&amp;quot;;
                    this.CustomControlDefinition .SearchProperties[&amp;quot;Id&amp;quot;] = null;
                    this.CustomControlDefinition .SearchProperties[UITestControl.PropertyNames.Name] = null;
                    this.CustomControlDefinition .FilterProperties[&amp;quot;Class&amp;quot;] = &amp;quot;associate active&amp;quot;;
                    this.CustomControlDefinition .FilterProperties[&amp;quot;ControlDefinition&amp;quot;] = &amp;quot;class=\&amp;quot;associate active\&amp;quot;&amp;quot;;
                    this.CustomControlDefinition .FilterProperties[&amp;quot;InnerText&amp;quot;] = &amp;quot;inner text&amp;quot;;
                    this.CustomControlDefinition .FilterProperties[&amp;quot;TagInstance&amp;quot;] = &amp;quot;6&amp;quot;;
                    this.CustomControlDefinition .WindowTitles.Add(&amp;quot;title example&amp;quot;);
                    #endregion
                }
                return this.mCustomControlDefinition ;
            }
        }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>alekseyp</author><pubDate>Thu, 16 May 2013 13:40:20 GMT</pubDate><guid isPermaLink="false">New Post: Can i use more than one search or filter properties in CUITe object repository 20130516014020P</guid></item><item><title>New Post: Unable to find custom control</title><link>http://cuite.codeplex.com/discussions/442631</link><description>&lt;div style="line-height: normal;"&gt;Please make sure the html you are testing is valid.&lt;br /&gt;
&lt;br /&gt;
This works for me:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;// Arrange
            using (TempFile tempFile = new TempFile(
@&amp;quot;&amp;lt;html&amp;gt;
    &amp;lt;head&amp;gt;
        &amp;lt;title&amp;gt;test&amp;lt;/title&amp;gt;
    &amp;lt;/head&amp;gt;
    &amp;lt;body&amp;gt;
        &amp;lt;a href=&amp;quot;&amp;quot;javascript:void(0)&amp;quot;&amp;quot; class=&amp;quot;&amp;quot;chzn-single chzn-default&amp;quot;&amp;quot; id=&amp;quot;&amp;quot;usersCompany_chzn_link&amp;quot;&amp;quot; /&amp;gt;
        &amp;lt;div class=&amp;quot;&amp;quot;chzn-drop&amp;quot;&amp;quot; style=&amp;quot;&amp;quot;left: 0px; width: 350px; top: 20px;&amp;quot;&amp;quot;&amp;gt;
            &amp;lt;div class=&amp;quot;&amp;quot;chzn-search&amp;quot;&amp;quot;&amp;gt; ... &amp;lt;/div&amp;gt;
            &amp;lt;ul class=&amp;quot;&amp;quot;chzn-results&amp;quot;&amp;quot;&amp;gt;
                &amp;lt;li id=&amp;quot;&amp;quot;usersCompany_chzn_o_0&amp;quot;&amp;quot; class=&amp;quot;&amp;quot;active-result&amp;quot;&amp;quot; style=&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;gt;Item1&amp;lt;/li&amp;gt;
                &amp;lt;li id=&amp;quot;&amp;quot;usersCompany_chzn_o_1&amp;quot;&amp;quot; class=&amp;quot;&amp;quot;active-result&amp;quot;&amp;quot; style=&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;gt;Item2&amp;lt;/li&amp;gt;
                &amp;lt;li id=&amp;quot;&amp;quot;usersCompany_chzn_o_2&amp;quot;&amp;quot; class=&amp;quot;&amp;quot;active-result&amp;quot;&amp;quot; style=&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;gt;Item3&amp;lt;/li&amp;gt;
            &amp;lt;/ul&amp;gt;
        &amp;lt;/div&amp;gt;
    &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&amp;quot;))
            {
                CUITe_BrowserWindow.Launch(tempFile.FilePath);
                CUITe_BrowserWindow window = new CUITe_BrowserWindow(&amp;quot;test&amp;quot;);

                // Act
                CUITe_HtmlHyperlink link = window.Get&amp;lt;CUITe_HtmlHyperlink&amp;gt;(&amp;quot;id=usersCompany_chzn_link&amp;quot;);

                CUITe_HtmlDiv drop = window.Get&amp;lt;CUITe_HtmlDiv&amp;gt;(&amp;quot;class=chzn-drop&amp;quot;);

                CUITe_HtmlListItem item1 = drop.Get&amp;lt;CUITe_HtmlListItem&amp;gt;(&amp;quot;InnerText=Item1&amp;quot;);

                CUITe_HtmlUnorderedList results = drop.Get&amp;lt;CUITe_HtmlUnorderedList&amp;gt;(&amp;quot;class=chzn-results&amp;quot;);
                CUITe_HtmlListItem item2 = results.Get&amp;lt;CUITe_HtmlListItem&amp;gt;(&amp;quot;InnerText=Item2&amp;quot;);

                // Assert
                Assert.IsTrue(link.Exists);
                Assert.IsTrue(drop.Exists);
                Assert.IsTrue(item1.Exists);
                Assert.IsTrue(results.Exists);
                Assert.IsTrue(item2.Exists);

                window.Close();
            }&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>icnocop</author><pubDate>Thu, 16 May 2013 05:37:49 GMT</pubDate><guid isPermaLink="false">New Post: Unable to find custom control 20130516053749A</guid></item><item><title>New Post: Custom Control for &lt;tr&gt;</title><link>http://cuite.codeplex.com/discussions/443509</link><description>&lt;div style="line-height: normal;"&gt;That worked, thank you!&lt;br /&gt;
&lt;/div&gt;</description><author>ddoorn</author><pubDate>Wed, 15 May 2013 18:54:57 GMT</pubDate><guid isPermaLink="false">New Post: Custom Control for &lt;tr&gt; 20130515065457P</guid></item><item><title>New Post: Unable to find custom control</title><link>http://cuite.codeplex.com/discussions/442631</link><description>&lt;div style="line-height: normal;"&gt;The exception I posted was the message thrown when using the CUITe_HtmlListItem.&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;CUITe_HtmlDiv div = Get&amp;lt;CUITe_HtmlDiv&amp;gt;(&amp;quot;class=chzn-drop&amp;quot;);
CUITe_HtmlListItem theListItem = div.Get&amp;lt;CUITe_HtmlListItem&amp;gt;(&amp;quot;TagName=li&amp;quot;);&lt;/code&gt;&lt;/pre&gt;

The same code works fine in Visual Studio 2010, but in  2012 it can not resolve the control...&lt;br /&gt;
&lt;/div&gt;</description><author>yourmaster27</author><pubDate>Wed, 15 May 2013 14:13:06 GMT</pubDate><guid isPermaLink="false">New Post: Unable to find custom control 20130515021306P</guid></item><item><title>New Post: Custom Control for &lt;tr&gt;</title><link>http://cuite.codeplex.com/discussions/443509</link><description>&lt;div style="line-height: normal;"&gt;I've just checked in a fix in &lt;a href="https://cuite.codeplex.com/SourceControl/changeset/26934" rel="nofollow"&gt;commit 26934&lt;/a&gt; with the following test:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;[TestMethod]
        public void GetHtmlRow_ById_Succeeds()
        {
            // Arrange
            using (TempFile tempFile = new TempFile(
@&amp;quot;&amp;lt;html&amp;gt;
    &amp;lt;head&amp;gt;
        &amp;lt;title&amp;gt;test&amp;lt;/title&amp;gt;
    &amp;lt;/head&amp;gt;
    &amp;lt;body&amp;gt;
        &amp;lt;table class=&amp;quot;&amp;quot;cart&amp;quot;&amp;quot; cellspacing=&amp;quot;&amp;quot;0&amp;quot;&amp;quot;&amp;gt;
          &amp;lt;tbody&amp;gt;
            &amp;lt;tr id=&amp;quot;&amp;quot;555002_gp2&amp;quot;&amp;quot;&amp;gt;
                &amp;lt;td&amp;gt;
                    banana
                &amp;lt;/td&amp;gt;
            &amp;lt;/tr&amp;gt;
          &amp;lt;/tbody&amp;gt;
        &amp;lt;/table&amp;gt;
    &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&amp;quot;))
            {
                CUITe_BrowserWindow.Launch(tempFile.FilePath);
                CUITe_BrowserWindow window = new CUITe_BrowserWindow(&amp;quot;test&amp;quot;);

                // Act
                CUITe_HtmlRow row = window.Get&amp;lt;CUITe_HtmlRow&amp;gt;(&amp;quot;id=555002_gp2&amp;quot;);

                // Assert
                Assert.IsTrue(row.Exists);

                window.Close();
            }&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>icnocop</author><pubDate>Wed, 15 May 2013 08:40:59 GMT</pubDate><guid isPermaLink="false">New Post: Custom Control for &lt;tr&gt; 20130515084059A</guid></item><item><title>New Post: Unable to find custom control</title><link>http://cuite.codeplex.com/discussions/442631</link><description>&lt;div style="line-height: normal;"&gt;@yourmaster27, for li elements, use CUITe_HtmlListItem.&lt;br /&gt;
&lt;/div&gt;</description><author>icnocop</author><pubDate>Wed, 15 May 2013 08:26:09 GMT</pubDate><guid isPermaLink="false">New Post: Unable to find custom control 20130515082609A</guid></item><item><title>New Post: Can i use more than one search or filter properties in CUITe object repository</title><link>http://cuite.codeplex.com/discussions/439644</link><description>&lt;div style="line-height: normal;"&gt;Hi alekseyp,&lt;br /&gt;
&lt;br /&gt;
Can you use the properties the built-in Coded UI recorder uses?&lt;br /&gt;
&lt;br /&gt;
This works for me:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;// Arrange
            using (TempFile tempFile = new TempFile(
@&amp;quot;&amp;lt;html&amp;gt;
    &amp;lt;head&amp;gt;
        &amp;lt;title&amp;gt;test&amp;lt;/title&amp;gt;
    &amp;lt;/head&amp;gt;
    &amp;lt;body&amp;gt;
        &amp;lt;div class=&amp;quot;&amp;quot;button&amp;quot;&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;&amp;quot;/main&amp;quot;&amp;quot;&amp;gt;main text&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;
        &amp;lt;div class=&amp;quot;&amp;quot;button&amp;quot;&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;&amp;quot;/about&amp;quot;&amp;quot;&amp;gt;about text&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&amp;quot;))
            {
                CUITe_BrowserWindow.Launch(tempFile.FilePath);
                CUITe_BrowserWindow window = new CUITe_BrowserWindow(&amp;quot;test&amp;quot;);

                // Act
                CUITe_HtmlDiv div = window.Get&amp;lt;CUITe_HtmlDiv&amp;gt;(&amp;quot;class=button&amp;quot;);

                CUITe_HtmlHyperlink about = window.Get&amp;lt;CUITe_HtmlHyperlink&amp;gt;(&amp;quot;InnerText=about text;href~about&amp;quot;);
                CUITe_HtmlDiv div2 = about.Parent as CUITe_HtmlDiv;

                // Assert
                Assert.IsTrue(div.Exists);
                Assert.AreEqual(&amp;quot;main text&amp;quot;, div.UnWrap().InnerText);

                Assert.IsTrue(about.Exists);

                Assert.IsTrue(div2.Exists);
                Assert.AreEqual(&amp;quot;about text&amp;quot;, div2.UnWrap().InnerText);

                window.Close();
            }&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>icnocop</author><pubDate>Wed, 15 May 2013 08:24:20 GMT</pubDate><guid isPermaLink="false">New Post: Can i use more than one search or filter properties in CUITe object repository 20130515082420A</guid></item><item><title>New Post: Unable to find custom control</title><link>http://cuite.codeplex.com/discussions/442631</link><description>&lt;div style="line-height: normal;"&gt;Similar to the latest post in &lt;a href="https://cuite.codeplex.com/discussions/443509" rel="nofollow"&gt;discussion:443509&lt;/a&gt;, I too am still getting an exception with Commit 26882.&lt;br /&gt;
&lt;br /&gt;
Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException: &lt;br /&gt;
The playback failed to find the control with the given search properties. Additional Details: &lt;br /&gt;
TechnologyName:  'Web'&lt;br /&gt;
ControlType:  'Custom'&lt;br /&gt;
InnerText:  'AutoTest'&lt;br /&gt;
TagName:  'li'&lt;br /&gt;
&lt;br /&gt;
 Failed to find any control that matched the search condition ControlType='Custom' &amp;amp;&amp;amp; InnerText='AutoTest' ---&amp;gt; System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.&lt;br /&gt;
&lt;br /&gt;
Any thoughts? Thanks for your time.&lt;br /&gt;
&lt;/div&gt;</description><author>yourmaster27</author><pubDate>Tue, 14 May 2013 15:46:14 GMT</pubDate><guid isPermaLink="false">New Post: Unable to find custom control 20130514034614P</guid></item></channel></rss>