Giter Club home page Giter Club logo

redwoodhq's People

Contributors

1234blahblah avatar denisnm avatar dmolchanenko avatar octoocto1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

redwoodhq's Issues

Incorrect dependencies in Ivy.xml

Original ivy.xml with v2.5 came like this...
<dependencies> <dependency org="junit" name="junit" rev="latest.release"/> <dependency org="org.testng" name="testng" rev="6.10"/> <dependency org="org.webbitserver" name="webbit" rev="latest.release"/> <dependency org="org.seleniumhq.selenium" name="selenium-java" rev="latest.release"/> <dependency org="net.jcip" name="jcip-annotations" rev="latest.release"/> <dependency org="org.seleniumhq.selenium" name="selenium-server" rev="latest.release"/> </dependencies>

This is not compilable in Windows OS.

Its missing selenium-support dependency. Final ivy.xml should be...
<dependencies> <dependency org="junit" name="junit" rev="latest.release"/> <dependency org="org.testng" name="testng" rev="6.10"/> <dependency org="org.webbitserver" name="webbit" rev="latest.release"/> <dependency org="org.seleniumhq.selenium" name="selenium-support" rev="latest.release"/> <dependency org="org.seleniumhq.selenium" name="selenium-java" rev="latest.release"/> <dependency org="net.jcip" name="jcip-annotations" rev="latest.release"/> <dependency org="org.seleniumhq.selenium" name="selenium-server" rev="latest.release"/> </dependencies>

Adding capabilities to Launcher

Hi @denisnm
We are using Redwood internally and wanted to add a couple to capabilities to it.

The feature I was adding is the support for return values in other steps as well, I checked the code and decided that we need to add some code to launchers to support this.

It was done for Python launcher easily but when I did the same for Groovy/Java launcher, I hit some roadblocks.
I did the change and created a Lancher.jar using intellij but when I use this jar I am getting this error

java.lang.IncompatibleClassChangeError
java.lang.Class does not implement the requested interface groovy.lang.GroovyObject.

Do you know what could be causing this?

Error after the last script in a folder is deleted.

After the last script in a folder is deleted, then when a new script is created in that folder, an error message is displayed, "ENOENT: no such file or directory, open 'C:\Program Files\RedwoodHQ\public\automationscripts\Sample\admin\src\xyz\GroovyAction.groovy'. This is in Windows 7.

The underlying problem seems to be that after the last script in a folder is deleted, the folder is deleted from the underlying file system, but the folder remains in the UI for Redwood HQ.

To reproduce the problem:

  1. Go to the scripts tab and right click on the src folder and select New, Folder
  2. Name the folder xyz
  3. Open windows explorer and verify that the xyz folder was created
  4. In Redwood, right click on the xyz folder and choose New, Groovy Action
  5. Accept the default name for the action and click save
  6. In Redwood, right click on GroovyAction.groovy and click delete, then click yes to confirm
  7. Note that the folder xyz still exists in Redwood
  8. Click on windows explorer and verify that folder xyz no longer exists in the file system. Note that the expected behavior here would be for the folder xyz to remain in the file system and not be deleted. Another acceptable behavior here would be to delete the folder in both places, although that is not as good as the expected behavior.
  9. Repeat steps 4 and 5. Note the above stated error message.

Do not expire user's cookies

While running test cases via REST API we saw an issue where one run aborts due to user's cookies expiration when a new run is triggered.
Can we have multiple parallel test runs with the same user via Redwood's REST API?

How to run RedwoodHQ from source code?

Hi,
I got a strange error when I try to start RedwoodHQ from the latest source code.
When I run node ./app.js then I got an strange error.

error in store.js at line 35

TypeError: Cannot read property 'prototype' of undefined
    at Object.<anonymous> (c:\GIT\RedwoodHQ\node_modules\socket.io\lib\store.js:35:41)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (c:\GIT\RedwoodHQ\node_modules\socket.io\lib\manager.js:16:13)
    at Module._compile (module.js:569:30)

I have installed node.js version 8.0 (last release) and execute nmp install previous.

Unfortunatelly I also can't find any further information how to run the framework from source code.
Also I can't find a requirement list for a dev environment.

Could you please help me?

Regards
Damien

How to run Appium testcases in Redwood HQ

I want to use Redwood HQ with Appium environment. I am unable to find out any simple and easy guide to setup run Appium test in Redwood HQ. Please help me out.
Thanks, in advance

SMTP Emails are not working after an upgrade from 2.3 -> 2.4

Sending email with Test Result link does not work on a system that had 2.3 installed and then was upgraded to 2.4
The following is displayed in the server log:
{"message":"101057795:error:14082174:SSL routines:ssl3_check_cert_and_algorithm:dh key too small:openssl\ssl\s3_clnt.c:3615:\n","stack":"Error: 101057795:error:14082174:SSL routines:ssl3_check_cert_and_algorithm:dh key too small:openssl\ssl\s3_clnt.c:3615:\n\n at Error (native)","stage":"starttls","level":"info","timestamp":"2016-06-23T16:41:11.372Z"}

Did something change in the implementation of SMTP emails between the two versions?

RedwoodHQ PoC

Hi,
I'm trying to run a RedwoodHQ PoC on a virtual desktop. I can get the software installed on the server and download the agent. When I get into the agent, I can see the local and the server in the 'machines' section. However, when I go to run it, it stalls out on 'starting execution' and I never get any further.
I've reviewed the notes, but not seeing anything that I could have missed. What would you recommend trying?
Thank you,
nc

Standalone Java jar/war file should be available to run RedwoodHQ instead of installing using .exe file for windows

Hi ,

Can you please provide standalone jar where users can run the services using java -jar instead of using .exe file for installation .

why I am requesting this because it's difficult to create any POC using this tool in a organization level where usually developers don't have admin access to install any software's on VDI .

This software looks very promising , it should be available in a war file format like Jenkins (Developers can deploy Jenkins using Jenkins war file in any environments ) .

Redwood does not run python scripts on Mac Client

Hi Dmitri

I logged this issue on the PrimaTest Google Group.

I tried the following script:
class PythonAction:
def run(self,params):
print ("I am Python Action")
pass

I went through normal script -> action -> test case -> execution process. During the execution, the test step associated with the action remains in state of 'not_run'.

A runtime folder .../RedwoodHQAgent/agent/executionfiles/1471508853670-3338-10981/does appear. The Lib directory in this runtime folder does contain two zipped python folders: 'pythonLibs.zip' and 'pythonSources.zip'. The folders contain all the python modules and scripts required to run the test.

Unfortunately this does not happen. The test step is perpetually caught in a state of 'not_run'.

I've looked at the logs. I'm not sure if this is the cause of the issue:
{"level":"error","message":"sendFileToAgent problem with request: socket hang up file:C:\Program Files\RedwoodHQ/logs/jar_1471508853670-3338-10981/pythonSources.zip","timestamp":"2016-09-09T08:22:20.028Z"}
{"level":"error","message":"matchFileWithAgent problem with request: Unable to read file:C:\Program Files\RedwoodHQ/logs/jar_1471508853670-3338-10981/pythonSources.zip ","timestamp":"2016-09-09T08:24:50.105Z"}

server and agent logs.zip

Environment:
Server:

  • Windows 2012 R2 (VM in a virtual box on the client machine)
  • RedwoodHQ: Version = 2.40.20
  • Python 2.7.12
    Client:
  • Mac: OSX 10.11.3
  • RedwoodHQAgent version = 2.40.20

When starting the RedwoodHQ Agent on my machine, I get the following output:
info: Agent Started.
info: getExecutionStatus result: Error: invalid json
at Object.exports.error (C:\Program Files\RedwoodHQ\node_modules\express\node_modules\connect\lib\utils.js:44:13)
at IncomingMessage. (C:\Program Files\RedwoodHQ\node_modules\express\node_modules\connect\lib\middleware\json.js:68:73)
at emitNone (events.js:72:20)
at IncomingMessage.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:905:12)
at nextTickCallbackWith2Args (node.js:437:9)
at process._tickCallback (node.js:351:17)
info: execution=null

Please help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.