qentinelqi / qweb

Keyword driven automation for the web
https://github.com/qentinelqi/qweb
Apache License 2.0
40 stars 17 forks source link

Fixing get_item_using_anchor #83

Closed mehent closed 2 years ago

mehent commented 2 years ago

Issue: Click Item keyword fails with error message "UnboundLocalError: local variable 'correct' referenced before assignment" if SearchMode is set to None with RF built-in variable ${NONE}. Fix: Assigning value to var 'correct' before ifCONFIG['SearchMode'] block.

tkoukkari commented 2 years ago

@mehent Thank you! I think we've had a default value in SearchMode for so long, that this just hasn't come up.