activities
latest
false
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática.
Actividades UIAutomation
Last updated 13 de ago. de 2024

Obtener atributo

Recupera un atributo de un elemento de IU especificado.

Definición

Espacio de nombres: UiPath.MobileAutomation.API.Models

Ensamblado: UiPath.MobileAutomation.API (en UiPath.MobileAutomation.API.dll)

Sobrecargas

SobrecargaDescripción
GetAttribute(IElementDescriptor, string, MobileOptions.GetAttributeOptions)Recupera un atributo de un elemento de la IU especificado, identificado como IEelementDescriptor.
GetAttribute(ObjectRepositoryTarget, string, MobileOptions.GetAttributeOptions)Recupera un atributo de un elemento de la IU especificado, identificado como ObjectRepositoryTarget.
GetAttribute(SelectorTarget, string, MobileOptions.GetAttributeOptions)Recupera un atributo de un elemento de la IU especificado, identificado como SelectorTarget.

GetAttribute(IElementDescriptor, string, MobileOptions.GetAttributeOptions)

Recupera un atributo de un elemento de la IU especificado, identificado como IEelementDescriptor.
GetAttribute(
	    IElementDescriptor element,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)GetAttribute(
	    IElementDescriptor element,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)
elemento IElementDescriptor
Un elemento de la IU del Repositorio de objetos al que accedes utilizando la clase ObjectRepository.Descriptors .

Visita Utilizar objetos en automatizaciones codificadas para aprender a utilizar elementos del Repositorio de objetos en automatizaciones codificadas.

attributeName Cadena
El nombre del atributo que quieres recuperar del elemento de la IU especificado.
options MobileOptions.GetAttributeOptions (Opcional)
Especifica el MobileOptions.GetAttributeOptions para la acción GetAttribute . El valor predeterminado es nulo.

GetAttribute(ObjectRepositoryTarget, string, MobileOptions.GetAttributeOptions)

Recupera un atributo de un elemento de la IU especificado, identificado como ObjectRepositoryTarget.
GetAttribute(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)GetAttribute(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)
objectRepositoryTarget ObjectRepositoryTarget
Un objeto de tipo ObjectRepositoryTarget. Se puede construir utilizando métodos FromObjectRepository(String, String, String, String) o FromObjectRepository(String[] , String, String, String) .
attributeName Cadena
El nombre del atributo que quieres recuperar del elemento de la IU especificado.
options MobileOptions.GetAttributeOptions (Opcional)
Especifica el MobileOptions.GetAttributeOptions para la acción GetAttribute . El valor predeterminado es nulo.

GetAttribute(SelectorTarget, string, MobileOptions.GetAttributeOptions)

Recupera un atributo de un elemento de la IU especificado, identificado como SelectorTarget.
GetAttribute(
	    SelectorTarget targetSelector,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)GetAttribute(
	    SelectorTarget targetSelector,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)
selectorTarget SelectorTarget
Un objeto de tipo SelectorTarget . Se puede construir utilizando el método FromSelector(String) .
attributeName Cadena
El nombre del atributo que quieres recuperar del elemento de la IU especificado.
options MobileOptions.GetAttributeOptions (Opcional)
Especifica el MobileOptions.GetAttributeOptions para la acción GetAttribute . El valor predeterminado es nulo.

ValorDeRetorno

El valor del atributo recuperado.

¿Te ha resultado útil esta página?

Obtén la ayuda que necesitas
RPA para el aprendizaje - Cursos de automatización
Foro de la comunidad UiPath
Uipath Logo White
Confianza y seguridad
© 2005-2024 UiPath. Todos los derechos reservados.