get(PARAM) keyword reads param value from configuration file.
Suppose we have this config.yaml content:
---
:global:
:host1_username: root
:host1_password: secret
:cases:
- :tt_members: Obiwan
:host1_ip: 192.168.1.201
:host1_hostname: jedis
:username: obiwanSupossing we are case 01, then:
get(:username)returnsobiwan.get(:host1_username), returnsroot.
We also can create new temporal params:
set(:name, "Obiwan")
jediname = get(:name)So jediname value is "Obiwan".
Other ways or reading param values:
jediname = _nameSo jediname value is "Obiwan" too. _name is an alias of get(:name).