In
this Appium tutorial we will learn how to execute our Appium test in parallel on Real iOS
Devices.
In
the last article we have already seen how to execute Appium test in parallel on iOS
Simulators.
Well
to perform parallel execution on iOS Real Devices we need to pass one additional
parameter UDID along with other parameters that we have already seen in
another article.
What
is UDID?
Let’s understand this by way of an example. Let’s say we
have 2 real iOS Devices connected to our Mac host and we want to run the test
cases on that in parallel.
Please
look at the table below for Device capability and Port information.
S.No
|
Appium Port No
|
Real Device Name
|
WDA Port
|
UDID
|
1
|
4725
|
Iphone 6
|
8100
|
2K6f0dd904d137be2e1720235f5664094b8317811
|
2
|
4726
|
Iphone 7
|
8200
|
2K6f0dd904d137Ce2e1720645f5664094b8317811
|
3
|
4727
|
Iphone 8
|
8300
|
2K6f0ee904d137De2e1720795f5664094b8317811
|
Below
is the AppiumSampleTest.java file.
Below is my testng.xml file.
Now we
just need to Right-click on testng.xml and select Run option, and we will see the 3 iOS Real devices will open and each of them will execute test cases in parallel.
Can you please share this ios framework with me?
ReplyThanks grreat blog post
Reply