This project is read-only.

Possibility to record <UL> tags.

Jul 13, 2012 at 2:32 PM


Is there a possibility to recorde/use <UL> tags in CUITe.

CUITe_HTMLList doesn't work so far.


Thanks for any help.



Jul 14, 2012 at 3:55 AM

Hi FloopyDoo,

I just checked in code to support HtmlUnorderedList, HtmlOrderedList, and HtmlListItem, and also provided a sample unit test in Sample_CUITeTestProject:


<ul id="unorderedList">
    <li>List Item 1</li>
    <li>List Item 2</li>
    <li>List Item 3</li>


public void HtmlCustom_UnorderedList_CanAssertOnListItems()
    CUITe_BrowserWindow bWin = CUITe_BrowserWindow.Launch(CurrentDirectory + "/TestHtmlPage.html", "A Test");

    CUITe_HtmlUnorderedList list = bWin.Get("id=unorderedList");

    IEnumerable children = from i in list.GetChildren()
   select i as CUITe_HtmlListItem;
    Assert.AreEqual(3, children.Count());

    Assert.AreEqual(1, children.Count(x => x.InnerText == "List Item 1 "));
    Assert.AreEqual(1, children.Count(x => x.InnerText == "List Item 2 "));
    Assert.AreEqual(1, children.Count(x => x.InnerText == "List Item 3 "));


You will have to download and build the latest source code from the "Source Code" tab.

Jul 16, 2012 at 7:23 AM

Hi icnocop

Thanks for the help. I'll download the new build.

Jul 17, 2012 at 7:47 AM

Hi icnocop

I've donwloaded the latest source and fond an error regarding the ObjectRepositoryManager.
When i define a CUITe_HtmlUnordertList in a ObjectRespositoryFile there is this error: "System.Exception: ObjectRepositoryManager: 'HtmlControls.CUITe_HtmlUnorderedList' not supported".


Jul 17, 2012 at 8:43 PM

Hi FloopyDoo,

Sorry about that.

This is now fixed with changeset 18040.

Please try again.