Running a module as different person in a from a console

Best practices, code snippets for common functionality, examples, and guidelines.
QAtesting
Posts: 10
Joined: Thu Jan 10, 2013 12:12 pm

Running a module as different person in a from a console

Post by QAtesting » Mon Apr 01, 2013 12:49 pm

Hi..

We are trying to loop few test cases.. Can any body help me on this..

Here goes the test cases ( Test cases are recorded in VB.net.. i'm a rookie on scripting).

1. Login module (only 1 time)
2. Create few test (A module .. which need to ran each and every time)
3. Change to another name present in the drop down list
ex: logged into a system as X and created few stuff.. Now from there changing to another person Y and repeated spet "2"..

In this order we need to change into 10 guys and rerun step 2 repeatedly.. until step 2 is ran on all the 10 persons.

If any is not understood please do feel free to ask me.. can provide more information.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Running a module as different person in a from a console

Post by Support Team » Tue Apr 02, 2013 4:16 pm

Hi,

If I got this correctly you could use the data driven approach as described in the following User Guide section: Lesson 3: Data-Driven Testing.
The structure of your test cases could look similar to the following one:
TestCase1
  • - Login Module
TestCase2 (Data Driven)
  • - Module A
  • - ...
Regards,
Markus