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
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?
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.
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.
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
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.
Hello,
Since the latest release of twist 2.3.1, there is a prerequisite for Eclipse 3.7 now.
Unfortunately it may be hard to upgrade on 3.7 at the moment. Is there any update site for 2.3.0 so we could install Twist on Eclipse 3.6?
Thank you,
I am just trying to follow the getting started tutorial and have run into some unexpected issues while creating a simple scenario on Mac OSX.
I created a project and was following the example for creating a simple scenario (google search on "Pablo Picasso".) I got through steps 1 & 2 (inserting & renaming business workflow) with no problem.
Step 3 (implement workflow) initially gave me some trouble, as the provided documentation has some incorrect information in this step. The instructions call for the user to press "Crtl+1", but on a Mac it should be "Cmd+1". Is the documentation bundled with the demo version of Twist OS-specific to the version that I chose to download?
However, it was in steps 4 & 5 that I really got stuck. Upon clicking Cmd+1 on the individual workflow steps I was given a choice of creating or recording; I assumed that creating was the correct choice (there was no mention of this option in the tutorial.) Then, I copied and pasted the code supplied in the tutorial, as instructed. The result is code that would seem to have multiple markers that need to be resolved for each line. (As an aside, I am not a scripter. I am approaching this evaluation from more of the business user perspective. However, I would like to think that I can follow the instructions given in the turorial with no problems provided that I am supplied with the requisite code.)
I have provided a screen shot displaying the code and the associated warning messages. The image should also show the expanded warning message for the first line of offending code. Any help that can be provided would be greatly appreciated.
Hi,
I have followed the instructions on how to install the Minglyn plugin for Eclipse and adding a new Task Repo, etc. I am trying to add a new Query to pull in mingle cards but I keep getting the following error:
"Could not perform a query on mingle."
What could possibly be causing that error? My credentials are correct as they were validated when the task repo was added. I've tried as both a regular user and an admin user.
My environment:
Windows XP
Twist version - 1.1.0.7169
Mingle Info:
Version: 2_3_1
Revision: 14492
Ruby platform: java
Java version: 1.6.0_02-b05
Operating system: linux
P.S. It took me 20 min to figure out how to post something on this forum. I just wanted to mention that so you guys are aware of it :)
I'm trying out Twist and would like to configure it to run on a remote server (running on a VM). I have installed the Twist plugin for Eclipse and have been following the steps listed here to provide my remote server settings:
http://studios.thoughtworks.com/twist-agile-test-automation/1.0/help/how_do_i_use_other_selenium_versions_with_twist.html
I am not sure where the src folder is for Twist to put SeleniumDriverFactory.java into. Or is this just the src folder for the Twist project? If anyone has been successful in setting this up, I would like to know how you did it. Thanks!