You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to qaf users
Hi All,
I was experimenting with the QAF-4.0.0-RC3. Requirement - To run the test parallel on two devices Android and iPhone.
test.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="Mobile Test" parallel="tests" thread-count="2">
<test name="Android Chrome Test">
<parameter name="driver.name" value="appiumDriver"/>
<parameter name="appium.additional.capabilities" value="{'browserName':'Chrome','deviceName':'R9PT70KS90A',platformName':'Android','platformVersion':'14','automationName':'uiautomator2','driverClass':'io.appium.java_client.android.AndroidDriver'}"/>
<classes>
<class name="com.example.test.InitialTest"/>
</classes>
</test>
<test name="iOS Safari Test">
<parameter name="driver.name" value="appiumDriver"/>
<parameter name="appium.additional.capabilities" value="{'browserName':'Safari','deviceName':'iPhone 15 Pro Max',platformName':'iOS','platformVersion':'17.4','automationName':'xcuitest','driverClass':'io.appium.java_client.ios.IOSDriver'}"/>
<classes>
<class name="com.example.test.InitialTest"/>
</classes>
</test>
</suite> <!-- Suite -->
Upon executing the above suite file. It either run the test on android or on iphone. But not on both. What can be done to make it work ?
cjayswal
unread,
Jun 1, 2024, 1:39:06 PMJun 1
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to qaf users
I am wondering, is it working for single device? i see there is there is typo in capabilities ,platformName': it's missing quotes!