How do i use touch and Drag option on Squish [6.4.1] without x,y,dx dy co-ordinates?
I have the mapped object for the container which i want to touch and drag(Slider function)
When i recorded using a dummy test case to understand Co-ordinates, it gives me more than 4 co-ordinates
touchAndDrag(waitForObject(names.ControllerDialogStackView), 157, 176, 1, 35, 0, 940)
Froglogic suggested that it uses 4 co-ordinates to located the object and the drag them either horizontal or vertical
touchAndDrag(objectOrName, x, y, dx, dy);
touchAndDrag(objectOrName, x, y, dx, dy, modifiers);
This function performs a touch-based drag operation. It initiates a touch drag of the specified objectOrName widget starting at position x and y (in the objectOrName widget's coordinates). The objectOrName widget is dragged by dx pixels horizontally and by dy pixels vertically.
Reference: https://doc.froglogic.com/squish/latest/rgs-qtconvenience.html
Aucun commentaire:
Enregistrer un commentaire