activities
latest
false
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.
UiPath logo, featuring letters U and I in white

Actividades del flujo de trabajo

Última actualización 24 de mar. de 2026

RandomNumber

Genera un entero aleatorio con una longitud determinada.

Definición

Espacio de nombres: UiPath.Testing.API

Ensamblado: UiPath.Testing.Activities.Api (en UiPath.Testing.Activities.Api.dll)

Sobrecargas

RandomNumber()Genera un número entero aleatorio.
RandomNumber(Int64, Int64)Generates a random integer, considering a minimum and maximum value.
RandomNumber(Int64, Int64, Int32)Generates a random integer, considering a minimum and maximum value, as well as a number of decimals.

RandomNumber()

Genera un número entero aleatorio.

decimal RandomNumber()
decimal RandomNumber()

RandomNumber(Int64, Int64)

Generates a random integer, considering a minimum and maximum value.

decimal RandomNumber(
    long min,
    long max
)
decimal RandomNumber(
    long min,
    long max
)

min Int64 : el valor mínimo (valor predeterminado long.MinValue).

max Int64 : el valor máximo (predeterminado long.MaxValue).

RandomNumber(Int64, Int64, Int32)

Generates a random integer, considering a minimum and maximum value, as well as a number of decimals.

decimal RandomNumber(
    long min,
    long max,
    int decimals
)
decimal RandomNumber(
    long min,
    long max,
    int decimals
)

min Int64 : el valor mínimo (valor predeterminado long.MinValue).

max Int64 : el valor máximo (predeterminado long.MaxValue).

decimals Int32 : el número de decimales (predeterminado 0).

ValorDeRetorno

Número generado aleatoriamente.

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado