MarkSchofer
4 years agoFrequent Contributor
If Then Else Seems So Straight Forward
This should be rather straight forward. Project.Variables.Instance_Alias_V = "QAT2"
Still it blows through the IF statements as if they are all true.
I did confirm with last result.
------------------------
def LoginIf():
import EnterQ1
import EnterQ2
import EnterQ5
Log.Message(Project.Variables.Instance_Alias_V, "")
if Project.Variables.Instance_Alias_V == "QAT1":
pass
Log.Message("QAT1", "")
#if LastResult == True:
#pass
#EnterQ1.EnterQ1()
if Project.Variables.Instance_Alias_V == "QAT2":
pass
Log.Message("QAT2", "")
#EnterQ2.EnterQ2()
if Project.Variables.Instance_Alias_V == "QAT5":
pass
Log.Message("QAT5", "")
#EnterQ5.EnterQ5()
I commented out the calls to login scripts