Bug Reports

Use this forum to report problems you are having with Twist and to seek resolution with fellow community members

This is a public Discussion Area  publicRSS

Posts

  • Wim Heemskerk
    Concepts: creating, renaming, copying, extracting2
    Post last edited Yesterday by Wim Heemskerk

    Rename is broken for concepts. Users expect it to have the same effect (active the same refactoring) as the Rephrase, but it doesn't.

    In a scenario where it is used I can rename a concept with Rephrase the step. Likewise when I have opened the concept in the editor, I can use Rephrase the Open Concept. However, when I Rename it in the Concepts view (or some other view like the Package Explorer), the changes are not propagated properly. (Scenarios and concepts using the concept break, the Concepts view resorts it but doesn't rename it. (Etc.?))

    Additionally:

    • It doesn't seem possible to create a new concept, one can only extract it.
    • It isn't possible to use a concept created from an existing one. I.e. when you copy a concept, paste it under a new name and adapt it, it isn't useable. (Doesn't show up in Concepts view, nor autocomple, and even when you type it correctly yourself in a scenario, Twist maintains it still needs to be created.)
    • It isn't possible to extract a single step into a concept. (Workaround: extract two steps, delete one.)
      This is relevant to us, as to us concepts aren't just a bunch of steps for reuse, but also a different layer in the tests. In the scenarios we express business intent, in the concepts the (user) actions needed (like 'press next'), including testing actions ('verify texts') that are not of business value themselves. A functional step may translate into just a single click, but it's still a translation to us.

    Recent Comments (2 of 2)

  • Ahmed Omarjee
    JUnit Runner1
    Post last edited February 9, 2012 by Ahmed Omarjee

    Is there any intention to provide a JUnit Runner to perform test execution, given that almost any IDE and/or build tools supports execution of JUnit tests?

    IntelliJ is my preferred development environment and given that scenarios are simple text files, being able to run scenarios as JUnit tests would make it possible to run the tests without the need for a custom IDE plugin.

    Recent Comments (1 of 1)

  • Ahmed Omarjee
    Maven plugin
    Post posted September 29, 2009 by Ahmed Omarjee

    Is there any intention to provide a native maven plugin with better support for maven folder structures and lifecyle as opposed to using the ant task?

  • Ahmed Omarjee
    Supporting alternative source folder structures (i.e....
    Post posted September 29, 2009 by Ahmed Omarjee

    Is it possible to place the scenarios and any other associated workflow/rules classes in a more maven friendly source folder structure i.e. something like src/main/scenarios and src/main/java etc.

  • Ahmed Omarjee
    Passing VM Arguments when running Frankestein Recorder
    Post posted September 29, 2009 by Ahmed Omarjee

    There seems to be no way to specify additional VM level arguments (in my case I need to specify -Djava.library.path=/some/important.dll) prior to running the recorder.

  • James O'Sullivan
    ERROR: Problem capturing screenshot: null5
    Post last edited February 9, 2012 by James O'Sullivan

    Hi,

    I'm trying to use the selenium captureScreenshot method to get a screenshot at a particular part of a test run. 

    When selenium.captureScreenshot("c:\tmp\test.png") gets executed I get the error below:

    com.thoughtworks.selenium.SeleniumException: ERROR: Problem capturing screenshot: null
        at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:73)
        at com.thoughtworks.selenium.DefaultSelenium.captureScreenshot(DefaultSelenium.java:546)
        at vsm.ReportActions.saveAliquots(ReportActions.java:173)
    C:\Program Files\twist\workspace\VSM\scenarios\Report Released Tissue.scn:13

    Any ideas?

    Thanks

    Recent Comments (3 of 5)

  • stu taylor
    Mingle integration4
    Post last edited February 9, 2012 by stu taylor
    Hi, i just tried to install the Mylyn plugin so i can try mingle integration. However i am unable to install the Mylyn plugin, the error i get is: Mylyn Bridge: Plug-in Development (3.0.3.v20081015-1500-e3x) requires plug-in "org.eclipse.pde.ui (3.4.0)", or later version. I’m running version 1.0.0.4631-shiva Cheers, Stuart.

    Recent Comments (3 of 4)

  • David Mack
    java.lang.OutOfMemoryError: OutOfMemoryError3
    Post last edited February 9, 2012 by David Mack
    Hello, I don’t understand this error at all, I hope someone can explain it. It does not seem to allow the test to end (firefox closes but stop button is still enabled), also the test doesn’t have any errors or fails. Full Error message (If I posted this the wrong way someone help me out): 41342 WARN com.thoughtworks.twist.messaging.RemoteSession – EXCEPTION, please implement com.thoughtworks.twist.messaging.RemoteSession.exceptionCaught() for proper handling:java.lang.OutOfMemoryError: OutOfMemoryError at sun.awt.windows.WRobotPeer.getRGBPixels(Native Method) at sun.awt.windows.WRobotPeer.getRGBPixels(Unknown Source) at java.awt.Robot.createScreenCapture(Unknown Source) at com.thoughtworks.twist.core.execution.ErrorInfo.captureScreenshot(ErrorInfo.java:63) at com.thoughtworks.twist.core.execution.ErrorInfo.<init(ErrorInfo.java:36) at com.thoughtworks.tide.core.binding.java.JavaInstance.notifyTestListener(JavaInstance.java:53) at com.thoughtworks.tide.core.binding.java.JavaInstance.invoke(JavaInstance.java:39) at com.thoughtworks.twist.core.execution.MethodInstance.execute(MethodInstance.java:42) at com.thoughtworks.twist.core.execution.java.Java.executeMethod(Java.java:71) at com.thoughtworks.twist.core.execution.java.Java.access$2(Java.java:67) at com.thoughtworks.twist.core.execution.java.Java$1.run(Java.java:62) at com.thoughtworks.twist.core.execution.PlaybackExecutionContext.run(PlaybackExecutionContext.java:22) at com.thoughtworks.twist.core.execution.java.Java.execute(Java.java:60) at com.thoughtworks.twist.core.execution.DefaultFixtures.execute(DefaultFixtures.java:46) at com.thoughtworks.twist.core.execution.DefaultFixtures.execute(DefaultFixtures.java:42) at com.thoughtworks.twist.core.ListItem.execute(ListItem.java:167) at com.thoughtworks.twist.core.List.execute(List.java:106) at com.thoughtworks.twist.core.AbstractElement.execute(AbstractElement.java:492) at com.thoughtworks.twist.core.Head.execute(Head.java:133) at com.thoughtworks.twist.core.Scenario.execute(Scenario.java:93) at com.thoughtworks.twist.core.execution.ScenarioExecutor.validateAndExecute(ScenarioExecutor.java:54) at com.thoughtworks.twist.messaging.service.remote.DefaultRemoteProcessService.runScenario(DefaultRemoteProcessService.java:74) at com.thoughtworks.twist.messaging.event.PlaybackAcknowledgement.execute(PlaybackAcknowledgement.java:24) at com.thoughtworks.twist.messaging.event.PlaybackAcknowledgement.execute(PlaybackAcknowledgement.java:1) at com.thoughtworks.twist.messaging.event.AbstractEvent.execute(AbstractEvent.java:28) at com.thoughtworks.twist.messaging.RemoteSession.messageReceived(RemoteSession.java:67) at org.apache.mina.common.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:743) at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405) at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40) at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:823) at org.apache.mina.common.IoFilterEvent.fire(IoFilterEvent.java:54) at org.apache.mina.common.IoEvent.run(IoEvent.java:62) at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.runTask(UnorderedThreadPoolExecutor.java:480) at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.run(UnorderedThreadPoolExecutor.java:435) at java.lang.Thread.run(Unknown Source) Thanks,

    Recent Comments (3 of 3)

  • James O'Sullivan
    Selenium web recorder seems to conflict with ASP.NET Ajax4
    Post last edited February 9, 2012 by James O'Sullivan
    I’ve just come across an issue when trying to use the web recorder with a page that uses ASP.NET Ajax. The error I’m getting in the error console is the following: Error: missing ; before statementSource File: http://localhost/VSMDevJJOS/ScriptResource.axd?d=8EHbmBWK30h00qDYjMnaAkpvtXl-y2T6LSTnVAxNSVwMUZd-3ei0pF4tSDSaDuL8hQCjbnd85aRtQYNUie0raluYeFiGitT4uqPN0P88w1U1&t=ffffffffa7353078Line: 2, Column: 1Source Code: The source file reference above refers to the MicrosoftAjax.js script. This is causing my calendar picker and cascading dropdowns not to work, but only through the web recorder. They work fine when accessing the site directly through Firefox. I’m almost positive that this was working through the recorder last week.

    Recent Comments (3 of 4)

  • vemu
    rules table1
    Post last edited February 9, 2012 by vemu
    hi i am actually evaluating twist and when writing test cases i am using the rules table and its not allowing me put in more than 5 rows.Is this a bug or is this limited on beta version

    Recent Comments (1 of 1)

Filter by Date

< < May 2012 > >
S M T W T F S
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Filter by Type

Filter by Tag