skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Free Tools
    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
    • Functional UI Testing
    • RESTful API Testing
    • Load Testing
    • Remote Test Execution
    • Agile Teams
    • Web Test Automation
    • Desktop Test Automation
    • Responsive UI Testing
    • Continuous Testing
    • Test Studio Trainings
    • Test Studio Consulting
    • Docs and Support
    • Documentation
    • Virtual Classroom
    • Videos
    • Blogs
    • Webinars
    • Whitepapers
    • Case Studies
    • Feedback Portal
    • Technical Support
    • What’s New
    • Roadmap
    • Release Notes
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Request a demo Try now

Class FindParam

Inheritance
System.Object
FindParam
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.ObjectModel
Assembly: ArtOfTest.WebAii.dll

Syntax

[Obsolete("FindParam will be removed in next release. Please use HtmlFindExpression or XamlFindExpressions instead. FindParam.ToFindExpression() can help you convert your current FindParams to FindExpressions")]
public class FindParam : INotifyPropertyChanged, IFindParam

Constructors

FindParam()

Declaration
public FindParam()

FindParam(HtmlFindExpression)

Declaration
public FindParam(HtmlFindExpression expression)
Parameters
HtmlFindExpression expression

FindParam(FindType, String, String[])

Declaration
public FindParam(FindType type, string value, params string[] attributesNameValuePairs)
Parameters
FindType type

System.String value

System.String[] attributesNameValuePairs

FindParam(Int32[])

Declaration
public FindParam(params int[] nodesIndexPath)
Parameters
System.Int32[] nodesIndexPath

FindParam(String, Int32)

Declaration
public FindParam(string tagName, int occurrenceIndex)
Parameters
System.String tagName

System.Int32 occurrenceIndex

FindParam(String, Int32, String[])

Declaration
public FindParam(string tagName, int occurrenceIndex, params string[] attributesNameValuePairs)
Parameters
System.String tagName

System.Int32 occurrenceIndex

System.String[] attributesNameValuePairs

FindParam(String[])

Declaration
public FindParam(params string[] attributesNameValuePairs)
Parameters
System.String[] attributesNameValuePairs

Properties

Attributes

Declaration
public Collection<iAttribute> Attributes { get; set; }
Property Value
System.Collections.ObjectModel.Collection<iAttribute>

Constraints

Declaration
public FindParamConstraint[] Constraints { get; set; }
Property Value
FindParamConstraint[]

ContentType

Declaration
public FindContentType ContentType { get; set; }
Property Value
FindContentType

ContentValue

Declaration
public string ContentValue { get; set; }
Property Value
System.String

ExcludedAttributes

Declaration
public Collection<iAttribute> ExcludedAttributes { get; set; }
Property Value
System.Collections.ObjectModel.Collection<iAttribute>

Expression

Declaration
public HtmlFindExpression Expression { get; set; }
Property Value
HtmlFindExpression

NodeIndexPath

Declaration
public string NodeIndexPath { get; set; }
Property Value
System.String

PartialAttributes

Declaration
public Collection<iAttribute> PartialAttributes { get; set; }
Property Value
System.Collections.ObjectModel.Collection<iAttribute>

SearchAttributes

Declaration
public string SearchAttributes { get; }
Property Value
System.String

TagIndex

Declaration
public int TagIndex { get; set; }
Property Value
System.Int32

TagName

Declaration
public string TagName { get; set; }
Property Value
System.String

Type

Declaration
public FindType Type { get; set; }
Property Value
FindType

XPath

Declaration
public string XPath { get; set; }
Property Value
System.String

Methods

LoadFromFile(String)

Declaration
public static FindParam LoadFromFile(string fileName)
Parameters
System.String fileName

Returns
FindParam

LoadFromXml(String)

Declaration
public static FindParam LoadFromXml(string findParamXml)
Parameters
System.String findParamXml

Returns
FindParam

NewExpr(String[])

Declaration
public static FindParam NewExpr(params string[] expression)
Parameters
System.String[] expression

Returns
FindParam

Save(String)

Declaration
public void Save(string fileName)
Parameters
System.String fileName

SetAttributes(String[])

Declaration
public FindParam SetAttributes(params string[] nameValuePairs)
Parameters
System.String[] nameValuePairs

Returns
FindParam

SetContent(FindContentType, String)

Declaration
public FindParam SetContent(FindContentType contentType, string contentValue)
Parameters
FindContentType contentType

System.String contentValue

Returns
FindParam

SetTagName(String)

Declaration
public FindParam SetTagName(string tagName)
Parameters
System.String tagName

Returns
FindParam

ToString()

Declaration
public override string ToString()
Returns
System.String

Overrides
System.Object.ToString()

ToXml()

Declaration
public string ToXml()
Returns
System.String

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler

Explicit Interface Implementations

IFindParam.Attributes

Declaration
IList<IiAttribute> IFindParam.Attributes { get; }
Returns
System.Collections.Generic.IList<IiAttribute>

Implements
IFindParam.Attributes

IFindParam.PartialAttributes

Declaration
IList<IiAttribute> IFindParam.PartialAttributes { get; }
Returns
System.Collections.Generic.IList<IiAttribute>

Implements
IFindParam.PartialAttributes

IFindParam.Type

Declaration
BackCompatFindType IFindParam.Type { get; }
Returns
BackCompatFindType

Implements
IFindParam.Type

Extension Methods

FindParamExtension.ToExpression(FindParam)
Getting Started
  • Getting Started
  • Videos
  • Whats New
  • Roadmap
Community
  • Forums
  • Blogs
  • Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.