Reputation: 361
I wonder that how can we import library as another name in robot framework?
For example: I want to import Selenium2Library as name "SL"
So what do I need to do?
Upvotes: 3
Views: 6395
Reputation: 708
@MinhNguyen-Phuong-Hoang You could try importing each library with a different name and then specify the keyword you want with a fully qualified name.
Library SeleniumLibrary WITH NAME SL
Library Selenium2Library WITH NAME SL2
SL2.Capture Screen
Upvotes: 0
Reputation: 369
You should import like this
Library Selenium2Library WITH NAME SL
Upvotes: 7