Forum Discussion

leeasdf9's avatar
leeasdf9
Frequent Contributor
12 years ago

Help needed for Multiple Tasks with different Users by using one keywordtest

Hi, i just got started with distributed testing and have my first question. I would like to perform same regression tests on serious "slave pcs" but with different users: Job1:   Task1_PC2: ...
  • TanyaYatskovska's avatar
    12 years ago

    Hi Lee,


     


    As far as I understand, you want to execute one test on one host under different users, right? Here is what you can do:


    1. Add one host under different names to the Hosts editor, and specify the users in the User Name field. There is no need to specify an additional parameter to your keyword test.


    2. If you want to pass a parameter with the user name to your keyword test, you will need to add a special handler at the beginning of the test that will change the user name of the target host. This article contains an example that will help you.