Reperesents The li tag, a list item. Found under both ordered (ol) and unordered (ul) lists.

Examples

CopyC#
 //ON yahoo homepage
HTMLOl searchList = Browser.This.CurrentPage.FindByID("DIV", "default-p_17416020_bea-bd")["DIV", 1]["DIV", 2]["OL", 2] as HTMLOl;
HTMLLi litsItem = null;
foreach (UIControl item in searchList.Children)
{
    if (((WebControl)item).InnerText == "NASA")
         litsItem = item as HTMLLi;
}
if (litsItem != null)
    litsItem.Click();

Namespace:  QAliber.Engine.Controls.Web
Assembly:  QAliber.Engine (in QAliber.Engine.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public class HTMLLi : WebControl
Visual Basic (Declaration)
Public Class HTMLLi _
	Inherits WebControl
Visual C++
public ref class HTMLLi : public WebControl

Inheritance Hierarchy

See Also