I have just started to look at adding robot framework on top of our current pytest based system.
In our test we are doing things like:
network."subnetX".setDelay(200)
network."subnetY".setRandomLoss(20%)
machine.engine.start()/stop()
machine.clutch.engage()/disengage()
machine."somethingelse".engage()/disengage()
machine.engine.setRPM(1200)
machine."somethingelse".set"somethingelse"(300)
How would one go ahead and create a keyword mapping that would support this kind of three/four keyword combo + sometimes one argument so that I can write somethings along the lines of:
set networkY delay 200ms
Set networkX random loss 20%
Start machine engine
Engage machine clutch
Start machine engine
Set machine engine RPM 1200
Set machine 300