activities
latest
false
UiPath logo, featuring letters U and I in white

UI Automation Activities

Last updated Dec 20, 2024

Swipe

The swipe operation iterates through multiple swipes on the list (up to MaxNumberOfSwipes) until it locates the specified element. If the Target is not set, the swipe operation performs a single swipe without searching for a specific element.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

Overloads

OverloadDescription
Swipe(IElementDescriptor, IElementDescriptor, SwipeDirection, int, MobileOptions.SwipeOptions)Performs the swipe action within a specified container as an IElementDescriptor until it finds the IElementDescriptor target. The first parameter specifies the container, while the second defines the target for the swipe operation.
Swipe(IElementDescriptor, ObjectRepositoryTarget, SwipeDirection, int, MobileOptions.SwipeOptions)Performs the swipe action within a specified container as an IElementDescriptor until it finds the ObjectRepositoryTarget target. The first parameter specifies the container, while the second defines the target for the swipe operation.
Swipe(IElementDescriptor, SelectorTarget, SwipeDirection, int, MobileOptions.SwipeOptions)Performs the swipe action within a specified container as an IElementDescriptor until it finds the SelectorTarget target. The first parameter specifies the container, while the second defines the target for the swipe operation.
Swipe(ObjectRepositoryTarget, IElementDescriptor, SwipeDirection, int, MobileOptions.SwipeOptions)Performs the swipe action within a specified container as an ObjectRepositoryTarget until it finds the IElementDescriptor target. The first parameter specifies the container, while the second defines the target for the swipe operation.
Swipe(ObjectRepositoryTarget, ObjectRepositoryTarget, SwipeDirection, int, MobileOptions.SwipeOptions)Performs the swipe action within a specified container as an ObjectRepositoryTarget until it finds the ObjectRepositoryTarget target. The first parameter specifies the container, while the second defines the target for the swipe operation.
Swipe(ObjectRepositoryTarget, SelectorTarget, SwipeDirection, int, MobileOptions.SwipeOptions)Performs the swipe action within a specified container as an ObjectRepositoryTarget until it finds the SelectorTarget target. The first parameter specifies the container, while the second defines the target for the swipe operation.
Swipe(SelectorTarget, IElementDescriptor, SwipeDirection, int, MobileOptions.SwipeOptions)Performs the swipe action within a specified container as an SelectorTarget until it finds the IElementDescriptor target. The first parameter specifies the container, while the second defines the target for the swipe operation.
Swipe(SelectorTarget, ObjectRepositoryTarget, SwipeDirection, int, MobileOptions.SwipeOptions)Performs the swipe action within a specified container as an SelectorTarget until it finds the ObjectRepositoryTarget target. The first parameter specifies the container, while the second defines the target for the swipe operation.
Swipe(SelectorTarget, SelectorTarget, SwipeDirection, int, MobileOptions.SwipeOptions)Performs the swipe action within a specified container as an SelectorTarget until it finds the SelectorTarget target. The first parameter specifies the container, while the second defines the target for the swipe operation.

Swipe(IElementDescriptor, IElementDescriptor, SwipeDirection, int, MobileOptions.SwipeOptions)

Performs the swipe operation from an IElementDescriptor to an IElementDescriptor.
Swipe(
	    IElementDescriptor container,
	    IElementDescriptor target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    IElementDescriptor container,
	    IElementDescriptor target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container IElementDescriptor
The element that defines the container of the Swipe action.
target IElementDescriptor
The element that defines the target of the Swipe action.
swipeDirection SwipeDirection (Optional)
The direction of the Swipe action.
maxNumberOfSwipes Int32 (Optional)
The maximum number of swipes in order to achieve the desired result.
options MobileOptions.SwipeOptions
Specifies the MobileOptions.SwipeOptions for the Swipe action. Default value is null.

Swipe(IElementDescriptor, ObjectRepositoryTarget, SwipeDirection, int, MobileOptions.SwipeOptions)

Performs the swipe operation from an IElementDescriptor to an ObjectRepositoryTarget.
Swipe(
	    IElementDescriptor container,
	    ObjectRepositoryTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    IElementDescriptor container,
	    ObjectRepositoryTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container IElementDescriptor
The element that defines the container of the Swipe action.
target ObjectRepositoryTarget
The element that defines the target of the Swipe action.
swipeDirection SwipeDirection (Optional)
The direction of the Swipe action.
maxNumberOfSwipes Int32 (Optional)
The maximum number of swipes in order to achieve the desired result.
options MobileOptions.SwipeOptions
Specifies the MobileOptions.SwipeOptions for the Swipe action. Default value is null.

Swipe(IElementDescriptor, SelectorTarget, SwipeDirection, int, MobileOptions.SwipeOptions)

Performs the swipe operation from an IElementDescriptor to a SelectorTarget.
Swipe(
	    IElementDescriptor container,
	    SelectorTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    IElementDescriptor container,
	    SelectorTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container IElementDescriptor
The element that defines the container of the Swipe action.
target SelectorTarget
The element that defines the target of the Swipe action.
swipeDirection SwipeDirection (Optional)
The direction of the Swipe action.
maxNumberOfSwipes Int32 (Optional)
The maximum number of swipes in order to achieve the desired result.
options MobileOptions.SwipeOptions
Specifies the MobileOptions.SwipeOptions for the Swipe action. Default value is null.

Swipe(ObjectRepositoryTarget, IElementDescriptor, SwipeDirection, int, MobileOptions.SwipeOptions)

Performs the swipe operation from an ObjectRepositoryTarget to an IElementDescriptor.
Swipe(
	    ObjectRepositoryTarget container,
	    IElementDescriptor target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    ObjectRepositoryTarget container,
	    IElementDescriptor target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container ObjectRepositoryTarget
The element that defines the container of the Swipe action.
target IElementDescriptor
The element that defines the target of the Swipe action.
swipeDirection SwipeDirection (Optional)
The direction of the Swipe action.
maxNumberOfSwipes Int32 (Optional)
The maximum number of swipes in order to achieve the desired result.
options MobileOptions.SwipeOptions
Specifies the MobileOptions.SwipeOptions for the Swipe action. Default value is null.

Swipe(ObjectRepositoryTarget, ObjectRepositoryTarget, SwipeDirection, int, MobileOptions.SwipeOptions)

Performs the swipe operation from an ObjectRepositoryTarget to an ObjectRepositoryTarget.
Swipe(
	    ObjectRepositoryTarget container,
	    ObjectRepositoryTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    ObjectRepositoryTarget container,
	    ObjectRepositoryTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container ObjectRepositoryTarget
The element that defines the container of the Swipe action.
target ObjectRepositoryTarget
The element that defines the target of the Swipe action.
swipeDirection SwipeDirection (Optional)
The direction of the Swipe action.
maxNumberOfSwipes Int32 (Optional)
The maximum number of swipes in order to achieve the desired result.
options MobileOptions.SwipeOptions
Specifies the MobileOptions.SwipeOptions for the Swipe action. Default value is null.

Swipe(ObjectRepositoryTarget, SelectorTarget, SwipeDirection, int, MobileOptions.SwipeOptions)

Performs the swipe operation from an ObjectRepositoryTarget to a SelectorTarget.
Swipe(
	    ObjectRepositoryTarget container,
	    SelectorTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    ObjectRepositoryTarget container,
	    SelectorTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container ObjectRepositoryTarget
The element that defines the container of the Swipe action.
target SelectorTarget
The element that defines the target of the Swipe action.
swipeDirection SwipeDirection (Optional)
The direction of the Swipe action.
maxNumberOfSwipes Int32 (Optional)
The maximum number of swipes in order to achieve the desired result.
options MobileOptions.SwipeOptions
Specifies the MobileOptions.SwipeOptions for the Swipe action. Default value is null.

Swipe(SelectorTarget, IElementDescriptor, SwipeDirection, int, MobileOptions.SwipeOptions)

Performs the swipe operation from a SelectorTarget to an IElementDescriptor.
Swipe(
	    SelectorTarget container,
	    IElementDescriptor target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    SelectorTarget container,
	    IElementDescriptor target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container SelectorTarget
The element that defines the container of the Swipe action.
target IElementDescriptor
The element that defines the target of the Swipe action.
swipeDirection SwipeDirection (Optional)
The direction of the Swipe action.
maxNumberOfSwipes Int32 (Optional)
The maximum number of swipes in order to achieve the desired result.
options MobileOptions.SwipeOptions
Specifies the MobileOptions.SwipeOptions for the Swipe action. Default value is null.

Swipe(SelectorTarget, ObjectRepositoryTarget, SwipeDirection, int, MobileOptions.SwipeOptions)

Performs the swipe operation from a SelectorTarget to an ObjectRepositoryTarget.
Swipe(
	    SelectorTarget container,
	    ObjectRepositoryTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    SelectorTarget container,
	    ObjectRepositoryTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container SelectorTarget
The element that defines the container of the Swipe action.
target ObjectRepositoryTarget
The element that defines the target of the Swipe action.
swipeDirection SwipeDirection (Optional)
The direction of the Swipe action.
maxNumberOfSwipes Int32 (Optional)
The maximum number of swipes in order to achieve the desired result.
options MobileOptions.SwipeOptions
Specifies the MobileOptions.SwipeOptions for the Swipe action. Default value is null.

Swipe(SelectorTarget, SelectorTarget, SwipeDirection, int, MobileOptions.SwipeOptions)

Performs the swipe operation from a SelectorTarget to a SelectorTarget.
Swipe(
	    SelectorTarget container,
	    SelectorTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    SelectorTarget container,
	    SelectorTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container SelectorTarget
The element that defines the container of the Swipe action.
target SelectorTarget
The element that defines the target of the Swipe action.
swipeDirection SwipeDirection (Optional)
The direction of the Swipe action.
maxNumberOfSwipes Int32 (Optional)
The maximum number of swipes in order to achieve the desired result.
options MobileOptions.SwipeOptions
Specifies the MobileOptions.SwipeOptions for the Swipe action. Default value is null.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.