Created
June 3, 2016 09:19
-
-
Save frostming/2f66506c03d782837922cea61741f7be to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Under UIVariables directory | |
title = "Main Window" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove this line will cause a failure "Cannot find variable" | |
from UIVariables import MainFrame | |
class MyLibrary: | |
def some_keyword(param): | |
print param |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Settings *** | |
Library MyLibrary | |
Variables UIVariables | |
*** Test Cases *** | |
Simple Test | |
Some Keyword ${MainFrame.title} |
If remove the import line in MyLibrary.py
, the test case will run fail with "Resolving variable '${MainFrame.title} failed: Non-existing variable '${MainFrame}'."
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Files tree: