Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *** Settings ***
- Library pabot.PabotLib
- *** Test Case ***
- Testing PabotLib
- Acquire Lock MyLock
- Log This part is critical section
- Release Lock MyLock
- ${valuesetname}= Acquire Value Set
- ${host}= Get Value From Set host
- ${username}= Get Value From Set username
- ${password}= Get Value From Set password
- Log Do something with the values (for example access host with username and password)
- Release Value Set
- Log After value set release others can obtain the variable values
- [Server1]
- HOST=123.123.123.123
- USERNAME=user1
- PASSWORD=password1
- [Server2]
- HOST=121.121.121.121
- USERNAME=user2
- PASSWORD=password2
- pabot --pabotlib --resourcefile valueset.dat test.robot
Add Comment
Please, Sign In to add comment