- Información general
- Automatización de IU
- Acerca del paquete de actividades de automatización de IU
- Aplicaciones y tecnologías automatizadas con UI Automation
- Compatibilidad de proyectos
- UI-ANA-016: Introducir URL para abrir el navegador
- UI-ANA-017: ContinueOnError verdadero
- UI-ANA-018: enumerar actividades de OCR / imagen
- UI-DBP-006: uso del contenedor
- UI-DBP-013: uso incorrecto de la automatización de Excel
- UI-DBP-030: uso de variables prohibidas en selectores
- UI-DBP-031: verificación de actividad
- UI-PRR-001: Simular clic
- UI-PRR-002: Simular tipo
- UI-PRR-003: uso incorrecto de aplicación abierta
- UI-PRR-004: retrasos codificados
- UI-REL-001: Idx grande en selectores
- UI-SEC-004: datos de correo electrónico del selector
- UI-SEC-010: Restricciones de aplicaciones / URL
- UI-USG-011: atributos no permitidos
- UX-SEC-010: restricciones de aplicaciones / URL
- UX-DBP-029: uso no seguro de contraseña
- UI-PST-001: nivel de registro de auditoría en la configuración del proyecto
- Herramienta de migración del navegador de UiPath
- Recorte de región
- Grabadora de Computer Vision
- Acerca de la automatización de imágenes y texto
- Actividades con el ratón y el teclado
- Ejemplo de uso de la automatización de ratón y teclado
- Actividades de texto
- Ejemplo de uso de la automatización de texto
- Actividades de OCR
- Actividades de imagen
- Ejemplo de uso de la automatización de OCR y la automatización de imágenes
- Índice de actividades
- Activar
- Base de anclaje
- Asociar navegador
- Asociar ventana
- Bloquear entrada de usuario
- Aviso
- Comprobar
- Clic
- Clic en imagen
- Desencadenador de clic de imagen
- Clic en texto OCR
- Clic en el texto
- Desencadenador de clic
- Cerrar aplicación
- Cerrar pestaña
- Cerrar ventana
- Anclaje consciente de contexto
- Copiar texto seleccionado
- Desencadenador de cambio del atributo del elemento
- Elemento existente
- Ámbito del elemento
- Desencadenador de cambio de estado de elemento
- Exportar el árbol de la IU
- Extraer datos estructurados
- Buscar elementos secundarios
- Buscar elemento
- Buscar imagen
- Buscar coincidencias de imágenes
- Buscar texto OCR
- Buscar elemento relativo
- Buscar posición de texto
- Obtener ventana activa
- Obtener antecesor
- Obtener atributo
- Obtener información de atributo
- Obtener a partir del portapapeles
- Obtener texto completo
- Obtener texto OCR
- Obtener contraseña
- Obtener posición
- Obtener elemento de origen
- Obtener texto
- Obtener texto visible
- Volver
- Avanzar
- Ir a inicio
- Google Cloud Vision OCR
- Ocultar ventana
- Resaltar
- Desencadenador de tecla de acceso rápido
- Mantener el puntero
- Mantener el puntero en imagen
- Mantener el puntero sobre texto OCR
- Mantener el puntero en el texto
- Imagen existente
- Indicar en pantalla
- Insertar código .NET
- Inject Js Script
- Invocar método de ActiveX
- Desencadenador de pulsación de tecla
- Cargar imagen
- Maximizar ventana
- Microsoft Azure Computer Vision OCR
- Microsoft OCR
- Microsoft Project Oxford Online OCR
- Minimizar ventana
- Supervisar eventos
- Desencadenador del ratón
- Mover ventana
- Ir a
- Texto OCR existente
- Apariencia en elemento
- Fuga en elemento
- Apariencia en imagen
- Fuga en imagen
- Abrir aplicación
- Abrir navegador
- Actualizar navegador
- Reproducir evento de usuario
- Restaurar ventana
- Guardar imagen
- Seleccionar elemento
- Seleccionar varios elementos
- Enviar tecla de acceso rápido
- Establecer región de recorte
- Establecer foco
- Establecer texto
- Establecer en portapapeles
- Establecer atributo web
- Mostrar ventana
- Iniciar proceso
- Desencadenador del sistema
- Realizar captura
- Tesseract OCR
- Texto existente
- Información sobre herramientas
- Escribir en
- Escribir Texto Seguro
- Utilizar primer plano
- Esperar a atributo
- Esperar a fuga de elemento
- Esperar a fuga de imagen
- Comprobación de accesibilidad
- Desencadenador de eventos de aplicación
- Bloquear entrada de usuario
- Marcar/Desmarcar
- Comprobar estado de aplicación
- Comprobar elemento
- Clic
- Clic desencadenador de eventos
- Arrastrar y soltar
- Ámbito del elemento
- Extraer datos de tabla
- Buscar elementos
- Para cada elemento de interfaz de usuario
- Obtener datos del navegador
- Obtener Portapapeles
- Obtener texto
- Obtener URL
- Ir a URL
- Resaltar
- Mantener el puntero
- Inject Js Script
- Atajos del teclado
- Desencadenador de eventos de pulsación de tecla
- Desplazamiento del ratón
- Navegar por el navegador
- Guardar imagen
- Seleccionar elemento
- Establecer datos del navegador
- Configurar el portapapeles
- Establecer servidor de CV
- Establecer navegador de Runtime
- Establecer foco
- Establecer la configuración del proyecto
- Establecer texto
- Realizar captura
- Escribir en
- Desbloquear entrada de usuario
- Operación de ventana
- Transacción de llamada
- Clic en imagen en pantalla
- Hacer clic en botón de barra de herramientas
- Expandir tabla jerárquica ALV
- Expandir árbol ALV
- Expandir árbol
- Lectura de barra de estado
- Inicio de sesión en SAP
- Inicio de sesión en SAP
- Desencadenador de cambio de atributos de sesión de SAP
- Seleccionar fechas en el calendario
- Seleccionar elemento de menú
- Ámbito de la celda de la tabla
- Transacción de llamada
- Clic en imagen en pantalla
- Hacer clic en botón de barra de herramientas
- Expandir tabla jerárquica ALV
- Expandir árbol ALV
- Expandir árbol
- Lectura de barra de estado
- Inicio de sesión en SAP
- Inicio de sesión en SAP
- Seleccionar fechas en el calendario
- Seleccionar elemento de menú
- Ámbito de la celda de la tabla
- Realizar búsquedas en el navegador y recuperar resultados mediante las API de automatización de IU
- Exploración web
- Buscar imágenes
- Hacer clic en imágenes
- Eventos de desencadenador y supervisor
- Crear y anular archivos
- Páginas HTML: extraer y manipular información
- Manipulación de ventana
- Selección de lista automatizada
- Buscar y manipular elementos de ventana
- Gestionar automatización de texto
- Cargar y procesar imágenes
- Gestionar acciones activadas por el ratón
- Automatizar tiempo de ejecución de aplicación
- Ejecución automática de una aplicación local
- Navegación de explorador
- Automatización web
- Ejemplo de ámbito de desencadenador
- Habilitar soporte de automatización de IU en DevExpress
- Computer Vision Local Server
- Automatización móvil
- Notas relacionadas
- Acerca de la arquitectura de automatización de dispositivos móviles
- Compatibilidad de proyectos
- Obtener tipos de registro
- Obtener registros
- Obtener origen de la página
- Obtener la orientación del dispositivo
- Obtener identificador de sesión
- Instalar aplicación
- Administrar aplicación actual
- Administrar otras aplicaciones
- Abrir enlace profundo
- Abrir URL
- Conexión de dispositivo móvil
- Deslizamiento direccional
- Patrón de dibujo
- Pase de dedo posicional
- Pulse un botón del hardware
- Establecer orientación del dispositivo
- Realizar captura
- Tomar parte de la captura de pantalla
- Elemento existente
- Ejecutar comando
- Obtener atributo
- Obtener elemento seleccionado
- Obtener texto
- Establecer elemento seleccionado
- Establecer texto
- Deslizamiento
- Pulsar
- Escribir Texto
- Primeros pasos con las API de automatización móvil
- Gestionar cuadros de diálogo emergentes en automatizaciones móviles
- Creating variables from selector attributes
- Creación de flujos de trabajo de automatización móvil
- Utilizar automatización móvil para una aplicación de banca móvil
- Automatización para aplicaciones React Native
- Terminal
- Notas relacionadas
- Acerca del paquete de actividades de Terminal
- Compatibilidad de proyectos
- Mejores prácticas
- Buscar texto
- Obtener color de la posición
- Obtener la posición del cursor
- Obtener campo
- Obtener campo en posición
- Obtener área de pantalla
- Obtener texto
- Obtener texto en posición
- Mover cursor
- Mover cursor al texto
- Enviar tecla de control
- Teclas de envío
- Teclas de envío seguras
- Establecer campo
- Configurar campo en posición
- Sesión del terminal
- Esperar texto de campo
- Esperar a que la pantalla esté lista
- Esperar texto en pantalla
- Esperar texto en posición
- API de automatización codificadas de terminal
Introduce texto en un elemento de la IU especificado, por ejemplo, un cuadro de texto. También puede enviar teclas especiales como Tab o Intro al elemento de la interfaz de usuario.
Si quieres introducir información confidencial de forma segura, añade una API GetCredential antes de esta API y selecciona los valores de nombre de usuario y contraseña guardados para más tarde de esa API como texto a escribir.
Definición
Espacio de nombres: UiPath.UIAutomationNext.API.Models
Ensamblado: UiPath.UIAutomationNext.API.Models (en UiPath.UIAutomationNext.API.Models dll)
Sobrecargas
| Sobrecarga | Descripción |
|---|---|
TypeInto(TargetAnchorableModel, String) | Introduce texto en un elemento de la IU especificado, identificado como una cadena del repositorio de objetos. |
TypeInto(TargetAnchorableModel, TypeIntoOptions) | Introduce texto en un elemento de la IU especificado, identificado como objeto TargetAnchorableModel . |
TypeInto(String, String) | Introduce texto en un elemento de la IU especificado, identificado como una cadena del repositorio de objetos. |
TypeInto(String, TypeIntoOptions) | Introduce texto en un elemento de la IU especificado, identificado como una cadena del repositorio de objetos, junto con otras configuraciones. |
TypeInto(TargetAnchorableModel, String)
Introduce texto en un elemento de la IU especificado, identificado como una cadena del repositorio de objetos.
TypeInto(
TargetAnchorableModel target,
string text)
TypeInto(
TargetAnchorableModel target,
string text)
target TargetAnchorableModel : el elemento de la IU de destino, identificado como un objeto TargetAnchorableModel .
text Cadena : el texto que quieres escribir.
TypeInto(TargetAnchorableModel, TypeIntoOptions)
Introduce texto en un elemento de la IU especificado, identificado como objeto TargetAnchorableModel .
TypeInto(
TargetAnchorableModel target,
TypeIntoOptions typeIntoOptions)
TypeInto(
TargetAnchorableModel target,
TypeIntoOptions typeIntoOptions)
target TargetAnchorableModel : el elemento de la IU de destino, identificado como un objeto TargetAnchorableModel .
typeIntoOptions TypeIntoOptions : las siguientes opciones están disponibles:
* `Text
String` - The text that you want to type into.
* `DelayBetweenKeys Double` - Delay (in
seconds) between consecutive keystrokes. The default value is 0.02
seconds.
* `ActivateBefore Boolean` - If true,
the specified UI element is brought to the foreground and activated
before the text is typed in. If false, the API will type into the
current active window.
* `ClickBeforeMode NClickMode` - the
type of click to perform before typing into:
+ `None`
+ `Single`
+ `Double`
* `EmptyFieldMode NEmptyFieldMode` -
Choose whether to delete the existing content in the field
before typing the text, and how to empty the field. Fields are
emptied by sending a combination of keystrokes that differs
between fields with a single line and fields with multiple
lines. Make sure to select the right option depending on the
indicated field. The options are:
+ `None`
+ `SingleLine`
+ `MultiLine`
* `DeselectAfter Boolean` - This can
only be used when the `InteractionMode` is set to
`Simulate`. Some target applications do not
register a type action unless a Complete event is also sent
alongside the action. Setting this to true adds a Complete event
after the text entry, in order to register the action correctly. If
you set it to false, the Complete event is not sent to the target
application. By default, this is set to true.
* `AlterIfDisabled Boolean` - If set to
true, the Select Item action is executed even if the specified UI
element is disabled. This parameter does not apply if the
`InteractionMode` is set to `Hardware
Events`. By default, this is false.
* `InteractionMode
NChildInteractionMode` - Specifies the API used to
perform the action. The following options are available:
+ `SameAsCard` - Use the same input mode
as [Open](https://docs.uipath.com/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-open) or [Attach](https://docs.uipath.com/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-attach). This is the default selection.
+ `HardwareEvents` - Uses the hardware
driver to perform the action. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `Simulate` - Simulates the action using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. Sends all
text in a single action. Works even if the target
application is not in focus. Please test if your target
application UI element supports this.
+ `DebuggerApi` - Performs actions using
debugger APIs. Works for Chromium elements only. Sends all
text in one go. Works even if the target application is not
in focus. For more details, check out this [page](https://docs.uipath.com/studio/docs/chromium-api).
+ `WindowMessages` - Sends the mouse and
keyboard input through Win32 messages. Recommended for
desktop apps. Usually more reliable than Hardware Events.
Sends all text in a single action. Works even if target app
is not in focus. Please test if your target application UI
element supports this.
* `Text
String` - The text that you want to type into.
* `DelayBetweenKeys Double` - Delay (in
seconds) between consecutive keystrokes. The default value is 0.02
seconds.
* `ActivateBefore Boolean` - If true,
the specified UI element is brought to the foreground and activated
before the text is typed in. If false, the API will type into the
current active window.
* `ClickBeforeMode NClickMode` - the
type of click to perform before typing into:
+ `None`
+ `Single`
+ `Double`
* `EmptyFieldMode NEmptyFieldMode` -
Choose whether to delete the existing content in the field
before typing the text, and how to empty the field. Fields are
emptied by sending a combination of keystrokes that differs
between fields with a single line and fields with multiple
lines. Make sure to select the right option depending on the
indicated field. The options are:
+ `None`
+ `SingleLine`
+ `MultiLine`
* `DeselectAfter Boolean` - This can
only be used when the `InteractionMode` is set to
`Simulate`. Some target applications do not
register a type action unless a Complete event is also sent
alongside the action. Setting this to true adds a Complete event
after the text entry, in order to register the action correctly. If
you set it to false, the Complete event is not sent to the target
application. By default, this is set to true.
* `AlterIfDisabled Boolean` - If set to
true, the Select Item action is executed even if the specified UI
element is disabled. This parameter does not apply if the
`InteractionMode` is set to `Hardware
Events`. By default, this is false.
* `InteractionMode
NChildInteractionMode` - Specifies the API used to
perform the action. The following options are available:
+ `SameAsCard` - Use the same input mode
as [Open](https://docs.uipath.com/es/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-open) or [Attach](https://docs.uipath.com/es/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-attach). This is the default selection.
+ `HardwareEvents` - Uses the hardware
driver to perform the action. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `Simulate` - Simulates the action using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. Sends all
text in a single action. Works even if the target
application is not in focus. Please test if your target
application UI element supports this.
+ `DebuggerApi` - Performs actions using
debugger APIs. Works for Chromium elements only. Sends all
text in one go. Works even if the target application is not
in focus. For more details, check out this [page](https://docs.uipath.com/es/studio/docs/chromium-api).
+ `WindowMessages` - Sends the mouse and
keyboard input through Win32 messages. Recommended for
desktop apps. Usually more reliable than Hardware Events.
Sends all text in a single action. Works even if target app
is not in focus. Please test if your target application UI
element supports this.
TypeInto(String, String)
Introduce texto en un elemento de la IU especificado, identificado como una cadena del repositorio de objetos.
TypeInto(
string target,
string text)
TypeInto(
string target,
string text)
target : el elemento de la IU de destino en el que quieres escribir, identificado como una cadena del Repositorio de objetos.
text Cadena : el texto que quieres escribir.
TypeInto(String, TypeIntoOptions)
Introduce texto en un elemento de la IU especificado, identificado como una cadena del repositorio de objetos, junto con otras configuraciones.
TypeInto(
string target,
TypeIntoOptions typeIntoOptions)
TypeInto(
string target,
TypeIntoOptions typeIntoOptions)
target : el elemento de la IU de destino en el que quieres escribir, identificado como una cadena del Repositorio de objetos.
typeIntoOptions TypeIntoOptions : las siguientes opciones están disponibles:
* `Text
String` - The text that you want to type into.
* `DelayBetweenKeys Double` - Delay (in
seconds) between consecutive keystrokes. The default value is 0.02
seconds.
* `ActivateBefore Boolean` - If true,
the specified UI element is brought to the foreground and activated
before the text is typed in. If false, the API will type into the
current active window.
* `ClickBeforeMode NClickMode` - the
type of click to perform before typing into:
+ `None`
+ `Single`
+ `Double`
* `EmptyFieldMode NEmptyFieldMode` -
Choose whether to delete the existing content in the field
before typing the text, and how to empty the field. Fields are
emptied by sending a combination of keystrokes that differs
between fields with a single line and fields with multiple
lines. Make sure to select the right option depending on the
indicated field. The options are:
+ `None`
+ `SingleLine`
+ `MultiLine`
* `DeselectAfter Boolean` - This can
only be used when the `InteractionMode` is set to
`Simulate`. Some target applications do not
register a type action unless a Complete event is also sent
alongside the action. Setting this to true adds a Complete event
after the text entry, in order to register the action correctly. If
you set it to false, the Complete event is not sent to the target
application. By default, this is set to true.
* `AlterIfDisabled Boolean` - If set to
true, the Select Item action is executed even if the specified UI
element is disabled. This parameter does not apply if the
`InteractionMode` is set to `Hardware
Events`. By default, this is false.
* `InteractionMode
NChildInteractionMode` - Specifies the API used to
perform the action. The following options are available:
+ `SameAsCard` - Use the same input mode
as [Open](https://docs.uipath.com/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-open) or [Attach](https://docs.uipath.com/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-attach). This is the default selection.
+ `HardwareEvents` - Uses the hardware
driver to perform the action. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `Simulate` - Simulates the action using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. Sends all
text in a single action. Works even if the target
application is not in focus. Please test if your target
application UI element supports this.
+ `DebuggerApi` - Performs actions using
debugger APIs. Works for Chromium elements only. Sends all
text in one go. Works even if the target application is not
in focus. For more details, check out this [page](https://docs.uipath.com/studio/docs/chromium-api).
+ `WindowMessages` - Sends the mouse and
keyboard input through Win32 messages. Recommended for
desktop apps. Usually more reliable than Hardware Events.
Sends all text in a single action. Works even if target app
is not in focus. Please test if your target application UI
element supports this.
* `Text
String` - The text that you want to type into.
* `DelayBetweenKeys Double` - Delay (in
seconds) between consecutive keystrokes. The default value is 0.02
seconds.
* `ActivateBefore Boolean` - If true,
the specified UI element is brought to the foreground and activated
before the text is typed in. If false, the API will type into the
current active window.
* `ClickBeforeMode NClickMode` - the
type of click to perform before typing into:
+ `None`
+ `Single`
+ `Double`
* `EmptyFieldMode NEmptyFieldMode` -
Choose whether to delete the existing content in the field
before typing the text, and how to empty the field. Fields are
emptied by sending a combination of keystrokes that differs
between fields with a single line and fields with multiple
lines. Make sure to select the right option depending on the
indicated field. The options are:
+ `None`
+ `SingleLine`
+ `MultiLine`
* `DeselectAfter Boolean` - This can
only be used when the `InteractionMode` is set to
`Simulate`. Some target applications do not
register a type action unless a Complete event is also sent
alongside the action. Setting this to true adds a Complete event
after the text entry, in order to register the action correctly. If
you set it to false, the Complete event is not sent to the target
application. By default, this is set to true.
* `AlterIfDisabled Boolean` - If set to
true, the Select Item action is executed even if the specified UI
element is disabled. This parameter does not apply if the
`InteractionMode` is set to `Hardware
Events`. By default, this is false.
* `InteractionMode
NChildInteractionMode` - Specifies the API used to
perform the action. The following options are available:
+ `SameAsCard` - Use the same input mode
as [Open](https://docs.uipath.com/es/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-open) or [Attach](https://docs.uipath.com/es/activities/other/latest/ui-automation/uipath-uiautomationnext-api-contracts-iuiautomationappservice-attach). This is the default selection.
+ `HardwareEvents` - Uses the hardware
driver to perform the action. This is the slowest API, it
cannot work in the background, but it is compatible with all
desktop apps.
+ `Simulate` - Simulates the action using
accessibility APIs. Recommended in browser automation, Java
apps, or SAP. More reliable than Hardware Events. Sends all
text in a single action. Works even if the target
application is not in focus. Please test if your target
application UI element supports this.
+ `DebuggerApi` - Performs actions using
debugger APIs. Works for Chromium elements only. Sends all
text in one go. Works even if the target application is not
in focus. For more details, check out this [page](https://docs.uipath.com/es/studio/docs/chromium-api).
+ `WindowMessages` - Sends the mouse and
keyboard input through Win32 messages. Recommended for
desktop apps. Usually more reliable than Hardware Events.
Sends all text in a single action. Works even if target app
is not in focus. Please test if your target application UI
element supports this.