How to launch and run script against safari using selenium webdriver

I am trying to launch and run my selenium webdriver script using safari but its launching safari but not running script. Its throwing belwo error message..
org.openqa.selenium.remote.UnreachableBrowserException: Failed to connect to SafariDriver after 50052 ms
Build info: version: '2.33.0', revision: '4e90c97', time: '2013-05-22 15:33:32'
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_25'
Driver info: driver.version: SafariDriver
    at org.openqa.selenium.safari.SafariDriverCommandExecutor.start(SafariDriverComman dExecutor.java:113)
    at org.openqa.selenium.safari.SafariDriver.startClient(SafariDriver.java:112)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:115)
    at org.openqa.selenium.safari.SafariDriver.<init>(SafariDriver.java:83)
    at org.openqa.selenium.safari.SafariDriver.<init>(SafariDriver.java:73)
    at LinkText.setUp(LinkText.java:38)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.jav a:47)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java :12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java: 44)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:7 0)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:5 0)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestRefere nce.java:50)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunne r.java:467)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunne r.java:683)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.jav a:390)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.ja va:197)

Hey Reese
You bailed me out, dude! Apparently, my difficulties stemmed from me trying to directly edit /var/cron/tabs/root with pico. Never seemed to bother the other stuff, but it did this time. I am totally inept with vi, the default editor for crontab -e, which is why I had cheated before, and directly edited the /var/cron/tabs/root, el.al., so I had to find out how to
export EDITOR='pico'
in my .bashrc
After having done that, no problem, except for a latent programming logic bug that has reared its ugly head (my script is doing some date manipulation with today's and yesterday's date, and my script crashed and burned on the month change and with stuff related to single-digit date sequence numbers <10).
But, hey, I learned how to reset my default editor, so as to make life easier for me when it comes time to dorking with crontab files, and I learned that when the crontab file says "DO NOT EDIT THIS FILE - edit the master and reinstall," it means it!
Thanx for the troubleshooting hint.

Similar Messages

  • How to compile and run a Java servlet using the BEA weblogic server

              Hi,
              Could you help me out as to how to compile a servlet using Web Logic server.I have written a Servlet program and have also set up the environment in the "c:\bea\wlserver6.0\config\examples" folder by giving the command setExamplesEnv.cmd.
              I have stored my GreetingServlet.java file in "c:\bea\wlserver6.0\samples\examples\servlets" folder.
              How do I compile my servlet now?
              Vid
              

    Hello,
    1. The .form file was used by Netbean's GUI builder to create the .java and is not needed for compilation.
    2..../src # javac -classpath "..." mytool/*.java
    I guess the package mytool was not coped with.
    Alternatively it is worth to use the ant build tool also used by Netbeans.
    Then you can make a jar from the class files, indicate in the manifest.mf file:
    1. the main class
    2. the library jars

  • How to develop and run skripts agains fusion middleware managed servers, eg. MDS

    Hi!
    Is it possible to write and run scripts against fusion middleware home's?
    How can I change to the correct wlst in this case?
    I have declared my server.
    I think it should call $ORACLE_HOME/oracle_common/common/bin/wlst.sh on my server instead of an local wlst.cmd in my OEPE workspac.
    Eg. I try to export MDS with wlst from one server as described in:
    13 Managing the Metadata Repository (12g Release 1 (12.1.2))http://docs.oracle.com/middleware/1212/core/ASADM/repos.htm#CIHHFEAJ
    If I write my script, then for the keyword exportMetadata is shown an error in the gutter:
    Undefined variable: exportMetadata
    If I run this I get:
    Problem invoking WLST - Traceback (innermost last):
    File "C:\Oracle\JDEV11~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 237, in exportMetadata
    Kind regards

    Sorry, this seems to be working now. I just have to close all applications in order for the memory to call the actual BPEL process

  • Applescript  to launch and run an iPhoto Slideshow - needed

    How do I make an applescript that will launch and run an iphoto Slideshow for
    my dementia Mama.
    She can read email, but iPhoto is too much for her.
    Also, can iPhoto slideshows play just a specified album
    Thanks!

    Welcome to this forum.
    The following script should launch a slideshow from the choosen iPhoto album, using the predefined slideshow settings. Just press the Escape key to end the slideshow.
    *tell application "iPhoto"*
    activate
    *set R to choose from list (get name of albums 9 through -1) with prompt "Please choose an album:"*
    *if R is false then return* -- user canceled
    *set theAlbum to (album 1 whose name is item 1 of R)*
    *select theAlbum*
    *select photo 1 of theAlbum*
    *start slideshow*
    *end tell*
    Hope it can help.

  • How to deploy and run  EJB in eclipse without XDoclet

    Hi Friends
    I am new in j2ee.In my academic project i want to do some ejb programming.
    For that purpose i want to write some ejb's.I have written all required class for ejb,created ejb-jar.xml file manually,weblogic .xml file manually. I am using weblogic8 as an server for deployment.
    I know deployment with xdoclet but i want to know hoe to deploy ejb without xdoclet.
    If u have saple code or useful link regarding this please send it as soon as possible.
    Thanks in advance
    How to deploy and run EJB in eclipse without XDoclet

    HI Welcome to J2ee...
    I am also new to this...But i ll share my ideas with you...
    In EJB 3.0 No need of any Deployment Descriptors....
    And If you are using Eclipse You can Deploy(as jar) using Export in File tab...
    XDoclet is not mandatory...
    Gopal V

  • I have downloaded Firefox 5.0 at least three times and saved file, but I don't know how to install and run. It keeps asking me to download new version and Save file. I'm in a never ending loop, it keeps downloading same exe & does not install Please Help

    Please tell me how to install and run new Firefox 5.00 after I have downloaded the new version and chosen Save File. I just go into Loop and screen says new version available and download again !

    Did you ever resolve the iCloud problem.I am in the same position and its driving me mad!!! If you have a link to an solution I would appreciate it.

  • Where can I find info on how to install and run Snow Leopard Server as virtual machine inside Mountain Lion

    Where can I find info on how to install and run Snow Leopard Server as virtual machine inside Mountain Lion

    Here is the short answer:
    Installing Snow Leopard Server into Parallels 10 for DUMMIES:
    http://forums.macrumors.com/showpost.php?p=17285039&postcount=564

  • How to compile and run java files on a mac using command line?

    can someone tell me or link me to some article on how to compile and run java files from command line on a mac? I have mac OS X leopard

    What do you mean by "where to put them" ? What do you want to put anywhere ?
    Have you read Peter's comment in brackets ? Perhaps you have a classpath problem ?
    Edited by: Michael_Knight on Aug 31, 2008 4:23 AM

  • How to compile and run package programs in Java

    Hi,
    I want to know how to compile and run the package programs in Java using -d. instead of creating the package folder manually.
    eg:
    package Test;
    class test1
    public void disp()
    //Any code;
    I want to compile this without creating the folder ' Test ' manually. that is if we use -d with javac the Test folder will be created automatically. I need the format of -d
    could anyone please help me.
    Thanks in Advance ,
    Ambika

    My program Test.java in F:\Tomcat5\webapps\Ambika\WEB-INF\Classes. I compiled in the format below. I got like this. What should I do for this? But yesterday I compiled like this only, It compiled and the folder com\cert\Test.class is created. Today again I compiled the pgm after deleting the already created folder 'com\cert', I got the error like this.
    I've given my pgm and the thing I've got when I compiled it.
    Test.java
    package com.cert;
    public class Test
         public void display()
              System.out.println("Hai");
    F:\Tomcat5\webapps\Ambika\WEB-INF\Classes>javac -d F:\Tomcat5\webapps\Ambika\WEB-INF\Classes\Test.java
    javac: no source files
    Usage: javac <options> <source files>
    where possible options include:
    -g Generate all debugging info
    -g:none Generate no debugging info
    -g:{lines,vars,source} Generate only some debugging info
    -nowarn Generate no warnings
    -verbose Output messages about what the compiler is doing
    -deprecation Output source locations where deprecated APIs are u
    sed
    -classpath <path> Specify where to find user class files
    -cp <path> Specify where to find user class files
    -sourcepath <path> Specify where to find input source files
    -bootclasspath <path> Override location of bootstrap class files
    -extdirs <dirs> Override location of installed extensions
    -endorseddirs <dirs> Override location of endorsed standards path
    -d <directory> Specify where to place generated class files
    -encoding <encoding> Specify character encoding used by source files
    -source <release> Provide source compatibility with specified release
    -target <release> Generate class files for specific VM version
    -version Version information
    -help Print a synopsis of standard options
    -X Print a synopsis of nonstandard options
    -J<flag> Pass <flag> directly to the runtime system
    F:\Tomcat5\webapps\Ambika\WEB-INF\Classes>
    Plz help me.
    thanks in advance
    Ambika

  • How to compile and run a .java file from another java program

    hello,
    can any one tell me how to compile and run a *.java* file from another java program which is not in same directory?

    Well a smarter way of implementing this is by using a solution provided by Java Itself.
    If you are using J2SE 6.0+ there is an in built solution provided along with JDK itself and inorder to go ahead with solution the below are set of API which you;d be using it for compiling Java Programs (Files)
    http://java.sun.com/javase/6/docs/api/javax/tools/package-summary.html
    How do i do that ??
    Check out the below articles which would help you of how to do that
    http://www.ibm.com/developerworks/java/library/j-jcomp/index.html
    http://www.javabeat.net/javabeat/java6/articles/java_6_0_compiler_api_1.php
    http://books.google.com/books?id=WVbpv8SQpkEC&pg=PA155&lpg=PA155&dq=%22javax+tools%22+compiling+java+file&source=web&ots=XOt0siYe-f&sig=HH27ovuwvJgklIf8omTykUmy-eM
    Now once we are done with compilation.In order to run a Specific class all you ought to do is create an object and its specific methods of a specified class included in the CLASSPATH which you can manage it easily by usage little bit reflections.
    Hope that might help :)
    REGARDS,
    RaHuL

  • How to import and run little movies made on my primarily still camera?

    Camera: Sony DSC-N2
    Makes besides photo's (jpeg) also mpeg movies (mov)
    Could somebody tell me how to import and run them on my iPad2 ?

    Hello,
    If you want to import them into your iPad without using iTunes you can get an Apple iPad Camera Connection Kit. Otherwise you can first import them into your computer then from your computer to your iPad using iTunes.  Once they are on your iPad you can run them from the Videos app on your iPad.

  • How to start and run osgi.jar and bundles into it programmatically

    I want to launch and run osgi.jar programmatically(at runtime) from a simple java program.
    Then load and run a osgi bundle into the osgi framework from the same program
    Could anyone help me in this regard
    thanks in advance

    I want to launch and run osgi.jar programmatically(at
    runtime) from a simple java program. I have no idea what osgi.jar is... if you want to execute it, find the main-class and simply call its main() method.
    Then load and run a osgi bundle into the osgi
    framework from the same program No idea what you're talking about. Read the documentation or call their support.

  • How to attach and run std payslip available through tcode HRFORMS

    Hi all,
    Need to have much data along with graphics on the payslip. This includes Leave data(days paid, LOP, Payroll days, etc.), gross salary break-up, Year-to-date details, Tax details(line items), Standard Salary components, company logo, custom messages, etc. on the payslip. We are running India Payroll on SAP 4.7.
    <b>Wanted to know how to attach and run standard payslip available with tcode HRFORMS in place of the one we have with tcode PE51?</b>
    Your help will be <u>gratefully appreciated and rewarded</u>.
    Thanks in advance

    can u tell me how u manage to do this

  • How to modify and Run Dashboards

    Hi Friends,
    As per the requirement I have to do small modifications and run dashboards , I never work with dashboards.
    Kindly suggest me how to modify and run dashboards
    Regards
    Anjali

    Hi Anjali,
    We can definitely create dashboards using WAD. We are so involved with BO now a days that I forgot about this option :).
    Anyways, there is an article which gives a lot of ideas regarding how we proceed using WAD to create dashboard -
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60af3f6c-8501-2c10-57bc-e11d9f6d69b6?QuickLink=index&overridelayout=true]
    Hope this helps.
    Regards,
    RahulM

  • How to compile and run java program at command console

    hi there
    can anyone tell me how to compile and run a java program at command console? I have installed JRE 1.3.1, and also have installed JBuilder 5 if it helps.

    try this
    System.out.println("Enter your Name : ");
    BufferedReader console = new BufferedReader( new InputStreamReader( System.in ) );
    String s = console.readLine();
    System.out.println("Hello : "+ s+" !" );

Maybe you are looking for

  • 3 finger reset- how to get back my store and maps?

    I did a 3 finger reset to get rid of the problem with social and Nokia maps check in app. As a result I lost Nokia store and Nokia maps (along with several other apps which I can easily install again) altogether. Several of my attempts to re download

  • SSD based on ATP rule is not coming correctly

    HI, We have issue with one of the item for which Sheduled ship date based on ATP is going out of planning horizon, eventhough we have supplies available for it. Issue in details: 1. We are creating manual IR and ISO for that item, by giving need by d

  • Calling ABAP Class with Javascript (Example?)

    Can anyone provide an example of calling an ABAP class with Javascript?  I'm looking to retrieve a variable value from a Web Application Thanks

  • Will Infoset Query work for Function Module

    HI Can someone let me know will a Infoset wuery works for Function module or not. I have 3 tables which i need to extract on, i am building a Infoset Query on 2 tables and using this in my Function Module to join on 3rd table. I have some conditions

  • Too many static methods?

    Hello, I am using Oracle 9iAS 9.0.3. My app uses stateless session beans for data access. Does anyone have opinions about using static methods in ejb's, specifically there impact on performance under high load? Can a bottleneck be caused by a call to