Hi! — thanks for the extension, it’s been really useful.
I’m using Python variable files to group related values (UI locators, config, constants) into objects, and then access them in Robot Framework like:
${LOGIN_PAGE.username}
${ENV.base_url}
${STATUS.active}
Right now I don’t get autocomplete suggestions after typing:
Example
# variables/ui.py
class LoginPage:
username = "id=username"
password = "id=password"
submit_button = "id=loginBtn"
LOGIN_PAGE = LoginPage()
class Env:
base_url = "https://qa.example.com"
timeout_seconds = 10
ENV = Env()
*** Settings ***
Variables ../variables/ui.py
Library SeleniumLibrary
*** Test Cases ***
Example
Open Browser ${ENV.base_url} chrome
Input Text ${LOGIN_PAGE.username} demo
Input Text ${LOGIN_PAGE.password} secret
Click Button ${LOGIN_PAGE.submit_button}
Autocomplete suggestions for attributes like:
username, password, submit_button
base_url, timeout_seconds
Do you think this would be feasible to support?
Thank you!
Hi! — thanks for the extension, it’s been really useful.
I’m using Python variable files to group related values (UI locators, config, constants) into objects, and then access them in Robot Framework like:
${LOGIN_PAGE.username}${ENV.base_url}${STATUS.active}Right now I don’t get autocomplete suggestions after typing:
${LOGIN_PAGE.${ENV.Example
Autocomplete suggestions for attributes like:
username,password,submit_buttonbase_url,timeout_secondsDo you think this would be feasible to support?
Thank you!