Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Device Farm error :[TestNG] Couldn't find the testng.xml in the jar file, running all the classes #22

Open
suneelsirimisetti opened this issue Oct 8, 2019 · 5 comments

Comments

@suneelsirimisetti
Copy link

suneelsirimisetti commented Oct 8, 2019

Hi,

When I tried to execute the scripts in AWS device farm I see error "[TestNG] Couldn't find the testng.xml in the jar file, running all the classes . Can someone help me on this.

Mail Id : [email protected]

code is on :
https://github.com/suneelsirimisetti/MobileAutomation.git

@kamaleshkiran
Copy link

kamaleshkiran commented Oct 8, 2019 via email

@kamaleshkiran
Copy link

kamaleshkiran commented Oct 8, 2019

Your testng.xml is not referring your test suite. Please see testng.xml example below:

https://aws.amazon.com/premiumsupport/knowledge-center/xml-file-tests-jar-file-device-farm/

@suneelsirimisetti
Copy link
Author

Thanks for a quick response @kamaleshkiran .
I followed same steps,still I see issue.for more info I have uploaded my code,please do refer the code and let me know your inputs.

@suneelsirimisetti
Copy link
Author

suneelsirimisetti commented Oct 8, 2019

As well as tried this in my POM.xml file

org.apache.maven.plugins
maven-surefire-plugin
2.12.4

src/test/resources/testng.xml

AWS device farm screenshot :
image

@suneelsirimisetti suneelsirimisetti changed the title AWS error :[TestNG] Couldn't find the testng.xml in the jar file, running all the classes AWS Device Farm error :[TestNG] Couldn't find the testng.xml in the jar file, running all the classes Oct 8, 2019
@kamaleshkiran
Copy link

kamaleshkiran commented Oct 8, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants