TestNg suite of suites xml is not running with under score | Selenium Forum
B
bitan adhikary Posted on 03/01/2020

I have created a suite testng.xml which is having multiple other test suites . It is giving error while test suite names are having underscore having error while running .If I am renaming the test suite files name without underscore its running perfectly.

Error :The value of attribute "name" associated with an element type "class" mustexample not contain the '<' character

<suite-files>
<suite-file path="suite_1.xml" />
</suite-files>

 

 

 


A
Ashish Thakur Replied on 09/01/2020

Please try using it without the underscore. You may need to provide an escape character before underscore if you still want to use it.