Skip to main content

SeeTestAutomation - Event Recording - iOS

info

Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .

Event recording for iOS devices can be done on the device's reflection only to create events, which will be added to the test.

Step 1: Click on the "Device" tab, and then click on 'Event Recording' button.

Event recording module.

Step 2: Choose the device to record with and Click on the 'Record' button.

Step 3: Perform an action on the device's screen using your mouse.

danger

Note: It should be a single action

Step 4: When you finish recording, click on the 'Stop' button.

Step 5: Click on the 'Play' button to see if the action has been recorded the way you wanted.

Step 6: Click on 'Save' button in order to save the event.

Saving the event will enable us to use it on the tests.

On the following example we will drag the slider to change its value.

We will same the event by the name the event 'Sliding'.

You will then be ask you if you want to add this event in your current script.

Clicking 'Yes' will add a new step at the end of the script.

Step 7: The command to execute the event is "sendText"

The Text parameter will be {event:event name}.

Code Examples

Java Example

client.sendText("{event:Sliding}"); 

C# Example Expand source

client.SendText("{event:Sliding}");

VBScript Example Expand source

client.SendText "{event:Sliding}"
Report 

Python Example Expand source

self.client.sendText("{event:Sliding}")

Perl Example Expand source

$client->sendText("{event:Sliding}");