Yes, I know that is not part of core. But... for example you can use any remote robot framework library and it is not part of core either.
eg. BuiltIn.Remote()
What I want to achieve?
I just want to make python script that is able to:
1) use remote library of my own.... -> this is working with no problem (library is used for win applications)
2) use selenium2library for testing of web application on remote machine
I can do this by using robot framework , and robot framework files with ease... but what I want is to create python file that will be able to do the same, but without using robot framework syntax (text files)
Easy testcase I want to reproduce is:
1) Turn of antivirus firewall (this is done by remote library)
2) Close antivirus (remote library)
4) try to download eicar file (selenium2library)
5) close browser (selenium2library)
6) Open antivirus and check if it is logged (remote library)
Setup is this:
a) I have server, where is robot framework installed, and selenium server with role HUB... and from where all scripts are ran.
b) I have client, where remote library is installed and started and selenium server in mode NODE connected to HUB
As I said I can perfectly do this with robot files (text files with robot syntax) but I want to achieve the same result just by using python and robot libraries. I can use remote library in pure python, but not Selenium2Library. Below is robot testcase that I am using to achieve steps above.
---------------------------------------- robot file (just part of it, that is doing what i want)
*** Settings ***
Library Selenium2Library
*** Test cases ***
Part of testcase to use remote execution of windows application and browser
Remote.Run Application ${antivirus}
Start firewall in application
Remote.Close Applicatoin ${antivirus}
Click Link xpath=//a[@href='/eicar/download']
Close All Browsers
Remote.Run Application ${antivirus}
Check of log files in application
Remote.Close Application ${antivirus}
-----------------------------------------------------------------------
Problem is as i wrote in my first posts. I just can't call any Selenium2Library methods standalone. Or am I missing something?