How to execute single testscript for simulator,emulator and android and ios devices using property files

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to execute single testscript for simulator,emulator and android and ios devices using property files

sree
HI Tarun, currently i am implementing appium framework. I would like to implement single script execution reading xpaths from property files. i want to run single script for simulator ,emulator and android and ios devices.regards sree
Reply | Threaded
Open this post in threaded view
|

Re: How to execute single testscript for simulator,emulator and android and ios devices using property files

softwaretestingforum
Administrator
I would suggest you to check testng file for STF - https://github.com/tarun3kumar/seleniumtestsframework/blob/master/testng.xml

It uses same tests to be executed on both ios and android emulator/device

The element locators are on java class file and not on properties file for test class referred in testng xml file. I would recommend to keep them in java classes and not on properties files :)

HTH
~ seleniumtests.com