Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FT] Allow to check if control it's defined on a Page #284

Open
Tracked by #304
netzulo opened this issue May 29, 2019 · 0 comments · May be fixed by #304
Open
Tracked by #304

[FT] Allow to check if control it's defined on a Page #284

netzulo opened this issue May 29, 2019 · 0 comments · May be fixed by #304
Assignees
Labels
Awaiting-PR Work In Progress at some pull request Best Practice Not functionality problem, but refactor need it

Comments

@netzulo
Copy link
Owner

netzulo commented May 29, 2019

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

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'))

@netzulo netzulo added the Best Practice Not functionality problem, but refactor need it label May 29, 2019
@netzulo netzulo self-assigned this May 29, 2019
@netzulo netzulo changed the title Allow to check if control it's defined on a Page [FT] Allow to check if control it's defined on a Page Jun 7, 2019
@netzulo netzulo linked a pull request Feb 9, 2020 that will close this issue
7 tasks
@netzulo netzulo added the Awaiting-PR Work In Progress at some pull request label Feb 9, 2020
@netzulo netzulo linked a pull request Mar 15, 2020 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting-PR Work In Progress at some pull request Best Practice Not functionality problem, but refactor need it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant