Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON File Output forwarder #274

Closed
toschneck opened this issue Sep 5, 2017 · 5 comments
Closed

JSON File Output forwarder #274

toschneck opened this issue Sep 5, 2017 · 5 comments

Comments

@toschneck
Copy link
Contributor

toschneck commented Sep 5, 2017

To be able to read out the Sakuli test results from the admin UI, write out the resulsts as Json to log.folder/result_<timestamp>.json. It be should be enabled by default

Also add all Sakuli/Sahi action to the json (maybe as sorted sublist in TestSteps, see RhinoAspect.java)
Bsp Log: Region.waitForImage() - wait for image for x seconds with arg(s) [gedit.png, 10]
Json vorschlag:

{
  "object": "Region",
  "method": "waitForImage",
  "arguments": ["gedit.png", 10],
  "message":"wait for image for x seconds",
  "documentation":"http://consol.github.io/sakuli/v1.1.0-SNAPSHOT/index.html#Region.waitForImage"
}

Modify the log output maybe to: Region.waitForImage(gedit.png, 10) - wait for image 'gedit.png' for 10 seconds

@simonmeggle simonmeggle changed the title JSON File Output JSON File Output forwarder Sep 5, 2017
@ghost ghost assigned joroboro Sep 15, 2017
@ghost ghost added the IN PROGRESS label Sep 15, 2017
@tnobody
Copy link
Contributor

tnobody commented Sep 21, 2017

More information about usage:
ConSol/sakuli-ui#3
ConSol/sakuli-ui#5

@toschneck
Copy link
Contributor Author

toschneck commented Sep 28, 2017

@joroboro should be merged in dev AFTER release #267. Will be feature for the version 1.2.0

@ghost ghost removed the IN PROGRESS label Sep 28, 2017
@toschneck toschneck reopened this Sep 28, 2017
@toschneck toschneck added this to the rel-v1.2 milestone Sep 28, 2017
joroboro pushed a commit that referenced this issue Oct 4, 2017
…tions to test step moved to TestCaseAction.
joroboro pushed a commit that referenced this issue Oct 4, 2017
joroboro pushed a commit that referenced this issue Oct 5, 2017
@tnobody
Copy link
Contributor

tnobody commented Oct 5, 2017

currently Dateformats aren't unified:

creationDate: "2017-10-04T15:49:31.689Z"

but stopDate or startDate:

"Oct 4, 2017 3:49:56 PM"

also the dateformat in filenames is different (but thats ok for me).
Using ISO-Dates everywhere would be nice since it's pretty easy to use in Javascript :)

@toschneck
Copy link
Contributor Author

@joroboro can you change this?

@toschneck
Copy link
Contributor Author

Issue with method dragAndDrop if arg is an Region object itself

toschneck pushed a commit that referenced this issue Dec 19, 2017
@toschneck toschneck self-assigned this Jan 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants