-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Awaiting-PRWork In Progress at some pull requestWork In Progress at some pull requestBest PracticeNot functionality problem, but refactor need itNot functionality problem, but refactor need it
Description
Obtained behaviour
Can't allow to check if control it's defined on a Page
Expected behaviour
Allow to check if control it's defined on a Page
Notes
qacode/qacode/core/webs/pages/page_base.py
Lines 107 to 121 in 6e4cc7f
| def _set_control(self, cfg_control): | |
| """Set control as property of PageBase instance | |
| Arguments: | |
| cfg_control {dict} -- config dictionary for manage WebElement | |
| Raises: | |
| PageException -- if param cfg_control is None | |
| """ | |
| if not cfg_control: | |
| raise PageException(msg='cfg_control can not be None') | |
| setattr( | |
| self, | |
| cfg_control.get('name'), | |
| cfg_control.get('instance')) |
Metadata
Metadata
Assignees
Labels
Awaiting-PRWork In Progress at some pull requestWork In Progress at some pull requestBest PracticeNot functionality problem, but refactor need itNot functionality problem, but refactor need it