Its quite simple to execute a single test on both Android and iOS. All you need to do is use ifAndroid & ifiOS keywords for the respective steps and you are good to go.
Instructions
Click on Design on left panel
Click on Test Case option
Create or select an existing module
Click on Add Test button
Enter the meta data for Test Case Details
Objective
Priority
Designer
Reviewer
Type
Category
Test Path
Click on Save
Click on Test Steps tab
Create the test case using various action keywords
If you wish to execute a certain set of instructions only on Android, use ifAndroid keyword & if you wish to execute a certain set of instructions only on iOS, use ifIos keyword
Example :
<common steps to execute>
ifAndroid
<steps to execute on Android>
endif
ifIos
<steps to execute on iOS>
endif
<common steps to execute>Save the test case.
Click on Design
Click on Test Suite
Add the created test to a test suite
Save the Suite
Click on Execute.
Click on Execute Automated Test.
Select the Suite that you wish to execute. You should be able to view the 'list of test cases' under that suite along with its 'Last Execution Details'.
Select the test cases that you wish to execute.
In the Execution Details section, please enter/select the below details.
Run Name
Executing in Sprint (select the sprint in which you are executing the test cases)
Android Version
iOS Version
Execution Tags (if used any in the test cases)
Execute Tag First (if you wish to execute the tests tag wise)
Email Execution Report To (email id to send the execution report to)
When you expand the Execution machine(s) section, you will see the Desktop/Device(s) section, where you should be able to view the connected machine's name & the connected simulator/ emulator/ real devices (for Mobile).
Click on the Refresh icon for the device on which you wish to execute the test case, the connected device list will be displayed.
Select the simulator/ emulator/ real devices.
Click on Run Selected button (if you have wish to execute selective test cases) or either click on Run All button (if you have wish to execute all test cases in the suite).
Add Comment