1

I'm trying to automate my test suite on Safari 5.1.7 on Windows 8.1. I did install the extension provided in Seleniumhq.org. But I'm getting an error saying

Exception:

Did not receive a connection from the Safari extension. Please verify that it is properly installed and is the proper version..

I'm struggling with this since a very long time but didn't receive any help. Googled a lot but left unsuccessful. If anyone is automating safari on windows please help me.

Followed the steps mentioned here.

According to this post on SO, Is it worth downgrading for Safari? I could run my test suite on IE11, Firefox, Chrome and Opera. Can someone please guide me with this issue.

Thanks.

Community
  • 1
  • 1
Sudeepthi
  • 494
  • 4
  • 20
  • if u have tested on chrome firefox and IE even opera then i think its not mandatory to do it with safari or in your case downgrade – Rajnish Kumar Apr 15 '16 at 13:24
  • But still if u like plz then have a look at http://elementalselenium.com/tips/69-safari – Rajnish Kumar Apr 15 '16 at 13:26
  • @rajNishKuMar They are asking me to do on Safari mainly. Because they are finding cross browser issues with Safari. From day 1 in this company I'm trying Safari but I couldn't. – Sudeepthi Apr 15 '16 at 13:27
  • ok let me try at my end – Rajnish Kumar Apr 15 '16 at 13:29
  • Thank you so much. As I'm trying on Windows and C# I couldn't find any latest solution. The solutions I found using Safari options and stuff got deprecated by Visual studio. – Sudeepthi Apr 15 '16 at 13:31
  • Sorry but i am not a C# guy i am java Guy – Rajnish Kumar Apr 15 '16 at 13:32
  • Also as per this **Official Document** https://github.com/SeleniumHQ/selenium/wiki/SafariDriver#getting-started **no latest version of safari is supported for windows** cause apple decided to **drop the idea to support windows** – Rajnish Kumar Apr 15 '16 at 13:33
  • So i guess to do automation you have to downgrade – Rajnish Kumar Apr 15 '16 at 13:34
  • Ya I did look that wiki post. I know Java. So if you can provide anything using Java I can try that with C#. Does downgrading Webdriver cause any issues? Will I miss any advantages of the latest versions? I'm the only automation tester and don't have any support, so bit worried to take a decision? I'm not much experienced as well. – Sudeepthi Apr 15 '16 at 13:36
  • ok let me try hope i can help you – Rajnish Kumar Apr 15 '16 at 13:37
  • I did try a sample project navigating to google and doing a search with webdriver 2.47. It did work. But Is it worth downgrading? Will I missing any features of the latest versions? – Sudeepthi Apr 15 '16 at 15:03
  • no i don't think so almost all functionality will work even u will not find any shortcomings and i am very glad that it worked for you hard work always pays keep it up – Rajnish Kumar Apr 15 '16 at 15:26
  • Thank you for your time. But I'm bit afraid to downgrade because I'm not sure whether safari will work on my application. Spoke to a developer, asked whether we can have 2 copies of project one for safari with webdriver 2.47 and the other for remaining browsers. Hope that works. – Sudeepthi Apr 15 '16 at 15:32
  • do one thing u make two copies of your automated test case one for safari only and one for rest run safari only when it is required otherwise stick to other one .everybody know support for safari by selenium is not official and also apple do not give support.even if some body says its require simply then for that we have to work on apple system not on windows – Rajnish Kumar Apr 15 '16 at 15:46
  • It's very unwise to downgrade in order to chase the 0.1% or 0.01% of users who use an officially unsupported Safari for Windows - and not a good use of your time. – Andrew Regan Apr 15 '16 at 19:13
  • Thank you @RajNishKuMar I have to implement the way. I asked my developer to guide me through that process. – Sudeepthi Apr 18 '16 at 08:05
  • @Andrew Regan, thank you for the response. I decided not to downgrade just for safari. – Sudeepthi Apr 18 '16 at 08:05

1 Answers1

0

Using Selenium Webdriver 2.47, we can automate safari on windows platform. Source from here.

Community
  • 1
  • 1
Sudeepthi
  • 494
  • 4
  • 20