Re: How to use robot framework to run test on Safari

2,445 views
Skip to first unread message

Tatu aalto

unread,
Apr 24, 2013, 2:10:24 AM4/24/13
to jake...@gmail.com, robotframe...@googlegroups.com

Ugh

Well Safari is not an supported browser on selenium webdriver but there seems to be limited support on selenium RC [1]. It might be that Safari is also supported by also by SeleniumLibrary.

But one must remember that selenium RC and therefore SeleniumLibrary are not anymore actively supported.

-Tatu
[1] http://docs.seleniumhq.org/docs/01_introducing_selenium.jsp#supported-browsers-and-platforms

-Tatu

On Apr 24, 2013 9:01 AM, "jakedd" <jake...@gmail.com> wrote:
I use robot framework to test my web application. It can work on FF/Chrome. But I can't run my test on Safari.

I check out the selenium Python source code. And I found there are FF/Chrome/IE/Opera in webdriver folder. But No Safari in this folder.

So how to use robotframework to run test on Safari?  Please help.


Thanks,
jakedd


--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Tatu Aalto

unread,
Apr 25, 2013, 4:05:35 AM4/25/13
to Wei Wang, robotframework-users
Ugh

Well, I have not personally done it, but it is mentioned as one of the supported browsers in the open browser keyword [1]. So there is a change that it could work. But as said in the selenium pages, the supported version are old, I think I have version 6 of Safari in my iPad.

-Tatu
[1] http://robotframework-seleniumlibrary.googlecode.com/hg/doc/SeleniumLibrary.html?r=2.9.1#Open%20Browser

On 25.4.2013 9:43, Wei Wang wrote:
Tatu, thanks for you quick response.
Do you mean that robotframework can use SeleniumLibrary to run test on Safari? If the answer is yes, is there any document or demo?

Thanks,
jakedd


2013/4/24 Tatu aalto <aalto...@gmail.com>

Markus Bernhardt

unread,
Apr 25, 2013, 4:12:56 AM4/25/13
to jake...@gmail.com, robotframe...@googlegroups.com
Hi Jake,

I think safari will be supported in the next release of the selenium2library.

In the Java port of the selenium2library this should work, but because of an typo it doesn't ;-(
I will push out a fixed 1.1.0.8 today.

Cheers,
Markus

Pham Nguyen

unread,
Sep 26, 2013, 9:41:26 PM9/26/13
to robotframe...@googlegroups.com, jake...@gmail.com
Hi Markus,

Does the Selenium2Library support Safari browser now?. I am also looking for solution for this browser.

Thanks,

Nguyen


On Thursday, April 25, 2013 3:12:56 PM UTC+7, Markus Bernhardt wrote:
Hi Jake,

I think safari will be supported in the next release of the selenium2library.

In the Java port of the selenium2library this should work, but because of an typo it doesn't ;-(
I will push out a fixed 1.1.0.8 today.

Cheers,
Markus
Am 24.04.2013 um 04:57 schrieb jakedd <jake...@gmail.com>:

I use robot framework to test my web application. It can work on FF/Chrome. But I can't run my test on Safari.

I check out the selenium Python source code. And I found there are FF/Chrome/IE/Opera in webdriver folder. But No Safari in this folder.

So how to use robotframework to run test on Safari?  Please help.


Thanks,
jakedd



--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.

M Randhawa

unread,
Mar 13, 2014, 3:24:30 PM3/13/14
to robotframe...@googlegroups.com
Selenium2Library(1.5) does support safari but you need to do couple of things.

 1. Download Selenium jar file from http://docs.seleniumhq.org/download/
    
 2. Create a Environment variable SELENIUM_SERVER_JAR and give path to
        downloaded jar file.

Example: To setup env variable on mac, make following entry in .bash_profile file
export SELENIUM_SERVER_JAR={path to jar file}
Reply all
Reply to author
Forward
0 new messages