Payal,
I see some discrepancies here:
Even though you have annotated methods with @Test and @BeforeClass, am seeing that within your test method
you are making a call to "scenario.runScenario(Global.INTERNET_EXPLORER,"9", "WINDOWS","username");"
and within runScenario()
you have these three calls
run.setUp();
run.processTestCases();
run.tearDown();
If your test class TestW7IE9 already has @Test, @BeforeClass and @AfterClass annotated methods, then what exactly are run.setUp(), run.processTestCases() and run.tearDown() doing ?
Are they also dealing with instantiating the Selenium instance as well ?
In my opinion, you would need to define in clear cut way, as to whether you are going to take up the responsibility of invoking setup(), teardown() or if your going to let TestNG do it for you.
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"