This is how its showing which is not correct xml format.

I searched for a solution but can't find one on how to solve this. I am selecting the option of convert to TestNG.xml, the runner folder that I am selecting to add the file is not showing in xml format but something like in the image.

I am using maven for dependency management and have already installed the TestNG plugin in eclipse and in POM.xml as well.

1

There are 1 best solutions below

0
undetected Selenium On

Look at the two different modes at the bottom:

  • Design
  • Source

You are in Design mode, hence you see the design.

Click on Source option to flip to the other mode.