🖋️
QualityMate
  • QualityMate
  • Getting Started
    • Introduction
    • Why QualityMate
    • Architecture
    • Supported Web Browsers
    • Glossary
  • Components
    • UI Player
      • Basic Concepts
      • UiPlayer
      • MSTest Integration
      • Samples
        • QualityMate Sample Desktop
        • QualityMate Sample Web
        • QualityMate MSTest Integration Sample Desktop
        • QualityMate MSTest Integration Sample Web
        • QualityMate Integration with Test Frameworks
        • Web Authentication Sample
      • QualityMate Project Template
    • UI Recorder
      • Basic Concepts
      • Setting Up the Recorder
      • Validating an Element
      • Generating QualityMate Solution
  • Tools
    • File Comparators
    • Image Processor
    • Project Merger
    • Test Case Generator
      • Filters
      • Rename Recorded Controls
  • Basic Concepts
    • Page Object
      • Work Guide
    • Controls
      • Control Types
        • Generic Types
        • Desktop types
        • Web Types
        • WebMap types
          • Kendo PowerBuilder
          • Kendo WinForms
          • Kendo Silverlight
      • Interactions
        • SendKeys
        • Validate
    • Selectors
      • Selectors in Code
      • Default Selector
      • Shared Selector
      • Selectors Category
        • CSS Selector
        • XPath Selector
        • Image Selector
        • Frame Selector
      • Identifying Selector
        • Identify for Windows Desktop
        • Identify for Web
  • How to Guides
    • Setting Up the Configuration
      • Parameters
      • Context
      • Loading External Data
    • Awaiting for the Application
      • Busy Loaders
      • Retries
    • Defining Controls
      • Extending Controls
      • Control Slice
      • Control Collection
    • Logging on Tests
      • QualityMate Reports
      • Logging
  • Help
    • Best Practices
      • Environment
      • Tests
      • Page Objects
      • Validations
      • Interactions
      • Image Comparisons
    • Known Issues
    • Continuous Integration
      • Agents Session
    • Upgrading QualityMate
      • From version 7 to version 8
      • Previous Versions
      • How to switch from TestFeature to UiTest
    • VS Test
      • Command Line
      • Generate Reports
  • API
    • Control Interfaces
      • IButton
      • ICheckBox
      • IComboBox
      • IControl
      • IControlSlice
      • IDateTimePicker
      • IElement
      • IGrid
      • IGroupBox
      • ILabel
      • IListBox
      • IMenu
      • INumericUpDown
      • IPageObject
      • IProgressBar
      • IRadioButton
      • IRadioButtonGroup
      • ISplitButton
      • IStatusStrip
      • ITab
      • ITextBox
      • IToggleButton
      • IToolBar
      • ITreeView
    • Behavior
      • ICheckableControl
      • IList
      • ITextControl
    • Enums
      • ClickType
      • KeyModifiers
      • MouseButton
  • Changelog
    • Changelog
      • Version 8
      • Version 7
      • Version 6
      • Version 5
      • Version 4
      • Version 3
Powered by GitBook
On this page
  • IList Interface
  • IList.Items Property
  • IList.this[int] Property
  • IList.this[string] Property
  • IList.ElementAt(int) Method
  • IList.First() Method
  • IList.First(Func<T,bool>) Method
  • IList.IndexOf(TElement) Method

Was this helpful?

  1. API
  2. Behavior

IList

PreviousICheckableControlNextITextControl

Last updated 2 years ago

Was this helpful?

IList Interface

Defines the basic interactions for controls that implement the IList interface.

public interface IList<out T>
    where T : Mobilize.QualityMate.ControlInterfaces.IControl

Type parameters

T

The type of the elements of source.

Derived ↳ ↳ ↳ ↳ ↳ ↳ ↳ ↳ ↳

Properties

IList.Items Property

Gets all the items of this element.

System.Collections.Generic.IEnumerable<T> Items { get; }

Property Value

IList.this[int] Property

Gets the control on the specified index.

T this[int index] { get; }

Parameters

The selected index.

Property Value

IList.this[string] Property

Gets the first control in the list with the specified text.

T this[string text] { get; }

Parameters

The control's text to query.

Property Value

Methods

IList.ElementAt(int) Method

Returns the element at a specified index in a sequence.

T ElementAt(int index);

Parameters

The zero-based index of the element to retrieve.

Returns

Exceptions

IList.First() Method

Returns the first element in a sequence that satisfies a specified condition.

T First();

Returns

Exceptions

IList.First(Func<T,bool>) Method

Returns the first element in a sequence that satisfies a specified condition.

T First(System.Func<T,bool> predicate);

Parameters

A function to test each element for a condition.

Returns

Exceptions

IList.IndexOf(TElement) Method

Returns the index of the first occurrence of a given value in a range of this list.

int IndexOf<TElement>(TElement element)
    where TElement : Mobilize.QualityMate.ControlInterfaces.IControl;

Type parameters

TElement

The type of the elements of source.

Parameters

The zero-based index of the element to retrieve.

Returns

Exceptions

Remarks

The list is searched forwards from beginning to end. The elements of the list are compared to the given value using the Object.Equals method.

index

text

index

The element at the specified position in the source sequence.

Source or predicate is null.

No item is found on the index.

The first element in the sequence that passes the test in the specified predicate function.

Source or predicate is null.

No element satisfies the condition in predicate. -or- The source sequence is empty.

predicate

The first element in the sequence that passes the test in the specified predicate function.

Source or predicate is null.

No element satisfies the condition in predicate. -or- The source sequence is empty.

element

Returns the index of the item, otherwise, -1 if the item isn't in the list.

Source or predicate is null.

item index is not found on the collection.

System.Int32
System.String
System.Int32
System.ArgumentNullException
Mobilize.QualityMate.Common.Exceptions.QualityMateException
System.ArgumentNullException
Mobilize.QualityMate.Common.Exceptions.QualityMateException
System.ArgumentNullException
Mobilize.QualityMate.Common.Exceptions.QualityMateException
System.Int32
System.ArgumentNullException
Mobilize.QualityMate.Common.Exceptions.QualityMateException
Mobilize.QualityMate.ControlInterfaces
Mobilize.QualityMate.ControlInterfaces.Behavior
IComboBox
IListBox
IMenu
IRadioButtonGroup
ISplitButton
IStatusStrip
ITab
IToolBar
ITreeView
System.Collections.Generic.IEnumerable<
>
T
T
T
T
T
System.Func<
,
System.Boolean
>
T
T
TElement