Hi
  I have say 3 Tests that do the following :

     @Test
     Login,

     @Test (dependsOnMethods="Login"
     Click

      @Test(dependsOnMethods="Click")
      Logout

  I have to run these tests for 3 users . I pass the parameters to these
tests in a @Factory method

  @Factory
   testData() {
       return list.toArray() .  //This contains the username and password in
an object
   }

   my testng.xml says
      <suite  name="xxx">
          <classes name="MyClass" />
      </suite>

Ideally I would like the tests to be run as
     Login(user1), Click(user1),Logout(user1)
     Login(user2), Click(user2),Logout(user2)

But what happens is that :
      Login(user1), Login(user2), Login(user3)

I am not able to find out a way to run the tests as desired

Regards
Hari

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to