Troubleshooting

Articles to help with common installation issues and questions

This is a public Discussion Area  publicRSS

Welcome Guest

Log in if you have an account.

Otherwise, register for an account.

For more details, please visit the How This Site Works page.

Forums

Troubleshooting Recent Posts

  • Adrian S.
    Getting started with twist: Can't get the Recorder...2
    Post last edited 5:01 AM by Adrian S.

    Hi guys,

    Tried googling it and browsed the site (videos, introductory posts, blog and this troubeshoot section) and can't figure out how to make Twist work for basic scenarios.

    I installed a trial version (as I want to evaluate if I can use Twist on some basic use-cases).

     *  MacOSX 10.7.3 (x64)

     *  Twist 2.4.0 (used to license provided via email)

     *  Project config: Selenium 2 / Firefox (internal or external, for external, a specific firefox profile is given in parameters)

     *  Mac firewall is disabled

    And then started the first video tutorial. All worked fine until reaching the Recording step - it just won't work (now I'm starting to think that the problem is not just with recording). i tried changing Twist's file rights in Applications with no effect.

    On Mac and on a Windows 7 VM, this is what I get:

    Apr 30, 2012 2:52:31 PM net.sf.sahi.ssl.SSLHelper getKeyManagerFactoryForRemoteFetch
    INFO: No SSL Client Cert specified

     

    ----

    More details:

       1. create new scenario (or use template)

       2. write "Step One:" and hit Enter

       3. a bullet point list item is automatically create, input some text and hit Record (from GUI, or press CMD+1 and select Record)

       4. a java app is opened in background, Twist recorder window is opened with all butons disabled

       5. a browser window is opened, while in twist the following warning is printed in console:

    Apr 30, 2012 3:13:33 PM net.sf.sahi.ssl.SSLHelper getKeyManagerFactoryForRemoteFetch
    INFO: No SSL Client Cert specified
    Apr 30, 2012 3:13:36 PM net.sf.sahi.RemoteRequestProcessor getResponse
    INFO: Using streaming response for contentType: video/webm
    org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: [...]

       6. ok, so now i'm browsing for what needs to be configured and can't find nothing useful. I also checked the port:

             "lsof -i:7055" and its free

    ----

    This is weird, I also got this on Windows VM. So its something I'm not configuring, a problem with latest version or this is just unsupported on a trial version?

    This seems pretty basic and I don't think I did anything different than what I found on this link:

    http://www.thoughtworks-studios.com/docs/twist/2.3/help/basic_twist_scenario.html

    Recent Comments (2 of 2)

    • 5:01 AM by Adrian S.: Why would FF version matter when choosing to use the internal version?...
    • 2:56 AM by sdqali: What version of Firefox are using? This error could happen if you are...
  • azuniga
    Tests won't run with ant outside project directory....Answered2
    Post last edited Yesterday by azuniga

    I am currently running on RHEL 5.4 with Twist and using image based testing with the Sikuli driver, sikuli-script.jar file. My goal is to jar up my project and have the tests executed in the deployment environment. Now at the moment I am jarring everything except my source code. This means I include the bin, libs, twist-libs, scenarios and images folders. I can successfully run my tests with the Twist IDE and through ant from within the project directory. When I jar up the project and unjar the file in a different location I get errors. I posted the stack trace in the section below. My project contains scenarios and uses Contexts from another project in a different folder as common code that my coworkers and I use. Is there anything I need to do or include in the jar file that may be the cause of this? I'm just unjarring the file and trying to run the tests and they fail. Also, is there a report that is printed after the execution of the tests? Is this configurable?

    Recent Comments (2 of 2)

  • qadude12
    Kill A Workflow1
    Post last edited February 17, 2012 by qadude12

    We seem to be experiencing an issue where once we have started running a workflow if one of the steps doesn't work we have to close out twist entirely in order to get it to stop trying. Is there a way to kill the workflow once it's started without closing the entire application.

    Recent Comments (1 of 1)

  • qadude12
    Can't Record Second Step1
    Post last edited February 17, 2012 by qadude12

    I'm a complete Twist newb so sorry if I'm missing something obvious.

    I can record and execute the first step in my workflow with Sahi in Twist but when I try to record the second one the twist recorder just sits on the the playback of the first step and I can't seem to get the Sahi recorder to come up at all. I guess I'm wondering if there's some common step in the setup that I'm missing. I don't see any errors coming up and the twist recorder just says the status is playing back.

    Recent Comments (1 of 1)

  • Alexey Rytenkov
    issue with twist 2.3.1 and spring 3.02
    Post last edited February 9, 2012 by Alexey Rytenkov

    Hi,

    As far as I understand twist uses spring 2.5.4 internally and it is in classpath of the test code. My test code heavily depends on spring 3.0 and having older spring version in classpath causes it to fail.

     

    Is there any way to remove spring 2.5.4 from my test code classpath when it's executed in twist or can you please suggest any other workaround for this issue?

     

    Thanks,

    Alexey

    Recent Comments (2 of 2)

  • Sarita Pol
    Problem : Twist2.3.1 scenarios not running using apache ant...2
    Post last edited February 9, 2012 by Sarita Pol

    I have installed twist2.3.1 as standalone application. I have migrated the project(created in twist2.3.0) to current version of twsit which is 2.3.1. When I run the twist scenarios using the apache ant for Firefox6.0.2 browser, it opens the firefox browser but the URL(http://www.google.com) is not getting opened. Blank URL is displayed. But it works absolutely fine for IE8. Also, If I run the twist scenarios through Twist it works fine. It gives exceptions only when I run through apache ant.

    The exception is :

    [twist.runner] org.openqa.selenium.firefox.NotConnectedException: Unable to connect to hos
    t localhost on port 7055 after 45000 ms
    [twist.runner]  at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.star
    t(NewProfileExtensionConnection.java:98)
    [twist.runner]  at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.jav
    a:148)
    [twist.runner]  at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:
    86)
    [twist.runner]  at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:127
    )
    [twist.runner]  at com.thoughtworks.webdriver.recorder.StandaloneDriverFactory.createFireF
    oxDriver(StandaloneDriverFactory.java:126)
    [twist.runner]  at com.thoughtworks.webdriver.recorder.StandaloneDriverFactory.createWebdriverBrowser(StandaloneDriverFactory.java:126)

    But If I create a new project and run through apache ant it works fine for firefox browser. I am running the twist scenarios externally.

    My environment:

    Windows XP

    Firefox 6.0.2
    Twist version - 2.3.1.11290
    JDK: 1.6
    Apache ant:1.8.2
    Operating system: Windows XP

    Any help in this regards will be appreciated.

    Thanks,

    Sarita.

    Recent Comments (2 of 2)

Recent Comments

Recent Participants

  • Morag Keirns
  • srinivasa
  • Kurt
  • Ben Butler-Cole
  • Mike
  • Melissa Doerken
  • Ron
  • LeeBenhart
  • Adrian S.
  • Lisa
  • goley
  • sdqali
  • Scott
  • Suzie Prince
  • Anshika
  • sweety rai
  • Huimin Li
  • Adam Monago
  • Santosh
  • azuniga

Search this Forum

Keyword Search

Filter Posts with Tags