Hi All,
I am trying to run my appium script from command line.(Not maven project)
My structure of the project is like this:
Under One package I have one class DriverInitial where two annotations are their @BeforeClass and @AfterClass
and in another package, I have defined all the objects using @AndroidFindBy in one class and I am making the object of this class in main class where only 1 annotation @Test is there.
When I am running from eclipse it’s working but from the command line it’s not working I am getting this:
[TestNG] Running:
C:\Users\sanjay\workspace\automation\testng.xml
Apr 29, 2017 10:48:07 AM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS
===============================================
Suite
Total tests run: 1, Failures: 1, Skips: 0
Can you please help me in resolving this issue, as I tried so many ways but it’s not working.
Thanks,
Sanjay