Comments

  • 1-13 of 13
  • sdqali
    posted May 17, 2012 in Twist > Bug Reports

    You could use a character that does not appear in the application data as a separator. May be a utf-8 character that is unlikely to be present in the data.

    I am curious to know why you need a scenario step that can take arbitrary number of variable. I assume it is something specific to the domain you are testing. Could you provide us an example. That would help us make more sense of your problem.

     

    Thanks

    --Sadique 

  • sdqali
    posted May 17, 2012 in Twist > Troubleshooting

    I tried reproducing this on my Mac OS X with Firefox 11 and things work just fine. At this point, I am not sure what is causing this error.

    Coud you please check if recording works on a different browser (may be Google Chrome)?

     

    Thanks

    --Sadique

  • sdqali
    posted May 17, 2012 in Twist > Troubleshooting

    Adrian:

    The Firefox version matters because we wrap the Selenium Webdriver in to our drivers. So if the Webdriver (version 2.15) we have bundled in Twist 2.4 does not support the version of Firefox you are running against, it would cause odd behaviour.

    Could you check again and tell us what the version of FF is? 

    Another thing you might want to check is if the port 7055 where Selenium starts its server is blocked.

    We are planning to push out another release with the latest WebDriver (v 2.21) soon.

  • sdqali
    posted May 17, 2012 in Twist > Bug Reports

    Hi:

    This is something we deliberately do not support. While it makes a lot of sense to have java methods that take unspecified number of arguments, we think scenario steps should not have variable number of arguments.

    It is hard to state something at the domain level assuming that it will have a variable amount of input.

     

    Having said that, you could still achieve this by using a comma separated list of Strings at the Scenario level and split them inside of code and call another method with variable arguments.

     

    --Sadique

  • sdqali
    posted May 16, 2012 in Twist > Troubleshooting

    What version of Firefox are using?

    This error could happen if you are using a version of Firefox not supported by the version of Selenium Webdrier we have (2.15).

  • sdqali
    posted May 15, 2012 in Twist > Troubleshooting

    Hi Alessandro:

    From the error log, it looks like the images. directory could not be found. And your Ant task for jar-ing does not seem to be including the images/ directpry to the jar either.

     

    After this line:

                <fileset dir="." includes="twist-libs/*.jar"/>
    <fileset dir="." includes="build.xml"/>
     
    
    you will have to add something like:
    
                <fileset dir="." includes="images/**/*.png"/>

    This should fix it.
    
     
    
    Cheers
    
  • sdqali
    posted April 25, 2012 in Twist > General Discussion

    Alessandro:

    I tried this on Twist 2.4 and it works fine. My suggestion would be to upgrade.

    Instructions for upgrading can be found here: http://www.thoughtworks-studios.com/docs/twist/current/help/upgrading_twist.html

  • sdqali
    posted April 24, 2012 in Twist > General Discussion

    If I understand correctly, you have written Java code to launch the browser. Could you post the relevant Java code snippet here?

    Adobe reader is installed in /opt/Adobe/Reader9/. The libraries required for running the browser plugin are located at 

    /opt/Adobe/Reader9/Browser/intellinux/nppdf.so

    That is not a standard location for libraries and hence there is a chance that these libraries will not be loaded. A more detailed explanation of this can be found here:  http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html and 

    Could you add this location to the library load path as described here: http://stackoverflow.com/questions/695530/why-do-i-have-to-define-ld-library-path-with-an-export-every-time-i-run-my-appli and then try running the tests again?

     

    Cheers

  • sdqali
    posted April 24, 2012 in Twist > General Discussion

    Hi Alessandro:

    Whch Sikuli driver are you using? Twist does not come bundled with a Sikuli driver, so I am guessing you are using a driver created by someone from the community. If you could point me to the driver code you are using, I will be in a better position to help you.

    Cheers

    --Sadique

  • sdqali
    posted October 12, 2011 in Twist > General Discussion

    Gareth:

    Which driver have you selected for your project? Are you using Selenium 2.0 or Selenium 0.9.2?

    Cheers

    --Sadique

  • sdqali
    posted September 29, 2011 in Twist > General Discussion

    Twist generates black screens for failed tests when the box on which scenarios are executed gets locked. Removing automatic locking and screensavers should solve this.

     

    Cheers

    --Sadique

  • sdqali
    posted April 11, 2011 in Twist > General Discussion

    Hi Dean,

    You can not put the Twist scenarios folder under a sub directory.

    However, if you treat your Acceptance test suite as a separate project, you can put it anywhere and import that project to Twist.

    Cheers

  • sdqali
    posted December 21, 2009 in Mingle > Add-Ons and Extras

    For some reason, this macro fails to render on a Windows machine.

    Anybody have any idea why this happens?