** Settings ***
Library OperatingSystem
Library myLib.MyLib WITH NAME MyLib
Suite TearDown teardown
** Variables **
${var} azerty
** Test Cases **
My test case
log ${var}
myFunction ${var}
log ${var}
import sys
class MyLib(object):
def __init__(self):
return
def myFunction(self,var):
var="another value"
You are not modifying the value but resetting a variable. In fact you even cannot modify strin
Sent from my mobile.
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
Ooopps, sent accidentally, sorry. Was just saying that you cannot even modify strings in Python. If you would pass a mutable object, like a list, changes done by the lib would be seen also on Robot side.
Sent from my mobile.