I imported this custom library and had specified the keyword “Open My Browser”. Email Required, but never shown. It is the same as if you establish a DB or ssh connection manually, and then expect a library just to start using it – that doesn’t happen. I’m starter in Python and Robot framework. How do we handle problem users? Dhanabalan Dhanabalan 16 1 1 silver badge 5 5 bronze badges. The easiest and most organic way is your class to inherit the SeleniumLibrary one, and for you to import only your library in the suites.
|Date Added:||14 August 2014|
|File Size:||60.3 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Sign up or log seleniium2library Sign up using Google. I’m resigning as a moderator from all Stack Exchange sites, effective today. Sign up using Email and Password. This keyword executes the code from my custom library but the next steps are from selenium2library like click button.
The execution stops and i get message “No browser is open”. Can i do the vice versa?
Can you share your robot framework code? Sign up using Facebook.
Robot Framework and Selenium2library, run Selenium tests with the Robot Framework test library.
How do we handle problem users? Can anyone please shed some advice My robot file: Improving the question-asking experience. Can anyone please shed some advice. If you want to use the keywords in the SeleniumLibrary, you need to use its Open Browserso it has reference to it the browser.
I imported this custom library and had specified the keyword selenium2ibrary My Browser”.
Todor Minakov Todor Minakov 9, 1 1 gold badge 33 33 silver badges 41 41 bronze badges. Yours will have access to the SeleniumLibrary webdriver instance, and you’ll be able to call selenium methods on it.
Can you add why you want to use a custom python script? I’m trying to create and learn to use custom library in my robot framework test suite. Most people that are new to Python zelenium2library Robot Framework start with the out-of-the-box SeleniumLibrary keywords. Thus you’ll have access to the regular keywords, and your custom ones.
But I’m not able to fix this problem.
Thanks for the response. The easiest and most organic way is your class to inherit the SeleniumLibrary one, and for you sslenium2library import only your library in the suites. Email Required, but never shown. Asked 5 months ago. It is the selenium2librry as if you establish a DB or ssh connection manually, and then expect a library just to start using it – that doesn’t happen.
After i open browser selenium2libarry SeleniumLibrary and then continue the run using my custom library? For example, if i create a click element myself and then use selenium2library to fill in data to a textbox.
New Blog Post!
Kootstra Apr 30 at Dhanabalan Dhanabalan 16 1 1 silver badge 5 5 bronze badges. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information.