0

I'm working on Selenium2 (Java) with testng 6.7 frame work. I'm using @parameters for getting the parameters from testng.xml. I have done everything in correct way.

Everything works perfectly. But some times it is not working. Simply all the test cases are skipped. If I removed the @Parameters({"dsfsfdf}}. It works well.

Can any one help me why this is not working some times.

4

1 回答 1

1

这同样发生在我身上。您可以检查并确保。

1)检查你的testng.xml,并确保你的参数“p”应该是小写字母(区分大小写)。

2)检查您的@Parameters 值。

我认为这将提供您所需的输出,如果它真的有效,请发帖给我。

于 2012-11-22T12:00:37.537 回答