Error in running maven test case | Selenium Forum
M
Posted on 19/10/2016
i want to run all testcase include in my maven project. i tried with mvn package and mvn test but my all test cases not executing.
i have written two simple test to open google and yahoo in browser. i get build successful message but in firefox yahoo and google page is not opened.

Screenshot: http://screencast.com/t/N6DA0bMy
http://screencast.com/t/LIPg6FJicoF9
http://screencast.com/t/nojHdphoaI

M
Replied on 19/10/2016

are you using testng.xml?


M
Replied on 20/10/2016

[quote="qtpselenium.supp0rt@gm ail.com":18v30umj]are you using testng.xml?[/quote:18v30umj]

yes i am using testng.xml file. I also tried creating Custom_Listener and error util class in same package and run maven still multiples test cases are not run.

Screenshot:http://screencast.com/t/Nhzb8LrUblMG

http://screencast.com/t/EP6Rh6uH


M
Replied on 20/10/2016

add your google test and yahoo test in your testmg.xml