Giter Site home page Giter Site logo

top-q / jsystem Goto Github PK

View Code? Open in Web Editor NEW
45.0 45.0 48.0 2.83 MB

JSystem is a professional open-source framework for writing and managing automated system tests.

Home Page: http://www.jsystem.org/

License: Apache License 2.0

Java 98.54% Shell 0.23% HTML 0.39% JavaScript 0.35% Python 0.08% CSS 0.07% Batchfile 0.34%

jsystem's People

Contributors

anhermon-zz avatar assafmashal avatar ben-mark avatar dependabot[bot] avatar hadare avatar hengoldburd avatar itaiag avatar itaior avatar itaitopq avatar lielran avatar nirarmon avatar oziransky avatar yossilab 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

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

jsystem's Issues

GenericObjectParameterProvider doesn't show complex enums

Reported by: yuval.ohayon
Opened 18 months ago
I think that we have bug in the GenericObjectParameterProvider?
it's not showing complex enums
for example
it shows this enum
public enum BudgetType? {
DAILY, MONTHLY;
}
but it's not showing this enum
public enum BooleanEnum? {
empty("",null),True("True",Boolean.TRUE),False("False",Boolean.FALSE);
private String toString;
private Boolean value;
private BooleanEnum?(String toString,Boolean value) {
this.toString = toString;
this.value = value;
}
public Boolean getValue() {
return value;
}
public String toString() {
return toString;
}
}

Agent Log, different behaviors when pressing different log b

Reported by: dan.hirsch
Opened 21 months ago
if not working in distributed mode and connecting to only one agent using the toolbar, pressing the Log button under the Reporter tab opens the log of the local URL(the client),
if pressing the log button on the upper panel in JSystem it opens the remove (Agent) log URL

Can't create jsystem project in with the eclipse plugin

When the jsystem is not installed on the deafult direcotry
Reported by: yuval.ohayon
Opened 19 months ago
c:\jsystem
the eclipse can't create jsystem project.
I installed jsystem on drive e
and when I tried to create jsystem project on the eclipse
I have got this message :
project could not be created
reason : error importing : folder : c:\Jsystem\runner does not exist

Goto fixture doesn't write steps to reports.0.xml

Reported by: dan.hirsch
Opened 12 months ago
if selecting a fixture to go to with steps in the setup and teardown fixtures, only navigating to the fixture doesn't write to the steps attribute of reports.0.xml test target for the fixture.
only when actually running a test that is not a fixture, that's in the scenario does it get written to reports.0.xml as part of the test's run

Synchronizing agent when test aren't checked.

Reported by: itai.agmon
Opened 18 months ago
If synchronizing agents is done when no tests are checked in the scenario tree, when trying to run the synchronized scenario an error dialog with no explanation is opened and the process fails.

SUT Planner for a system object that has a enum attribute

Reported by: ezra.genuth
Opened 18 months ago
Subject: Problem when using SUT Planner for a system object that has a enum attribute
I have a SO which has a enum attribute
I add the SO to the SUT using the SUT planner
The enum attribute behaves like it was a regular String - problem!
Then
I press save on the SUT planner
I reopen the SUT using the SUT planner
This time the enum attribute shows me the enumeration options - correct behavior!

Unable to change the default port number in FTPFileTransfer

Reported by: daniel.zapata
Opened 19 months ago
Subject: Unable to change the default port number when running FTPServer through FTPFileTransfer
Jsystem version 5.4
Even though I pass in the port number to FTPFileTransfer, it does not pass it on to the FTPServer:
FTPFileTransfer fileTransfer = new FTPFileTransfer(connection);
fileTransfer.setProtocol("ssh");
fileTransfer.setOperatingSystem("linux");
fileTransfer.setPort(2121);
fileTransfer.init();
FTPFileTransfer.init() shows:
ftpServer = new FTPServer();
ftpServer.init();
ftpServer.startServer();
FTPFileTransfer.init() only sets the port for this object:
remoteHostClient.setPort(getPort());

endTest is triggered before the @AfterClass method is run

Reported by: ben.douglas
Opened 17 months ago
Mail Conversation with Golan:
Ok, I have a better understanding now of your problem.
I gave a quick thought to the afterclass issue, and indeed the end test event should come after the afterclass
is executed.
There is not much demand at this stage for this refinement and since this requires some digging into junit4 runner
I'm not planning to do it right away.
Please submit a bug on this issue.
As I suggested in my previous mail, your workaround for now can be to identify the after class yourself by putting a report.report in it and identifying it in your listener. It is a little bit ugly, but it will do the work.
Thanks,
On Tue, Aug 11, 2009 at 8:45 AM, Ben Douglas bdouglas@… wrote:
Hey Golan,
Sorry for not getting back to you yesterday.
Yes -- I do see the report messages from the afterClass method in the default LevelHtmlReporter?, however -- when working with my listener, I'm using the "endTest" method to signify that the test ended -- however, that method is called before the afterClass() is called. So the first issue is that the afterClass report calls aren't put in the "testcase" output (when I keep track of them).
The issue about comments in the afterClass not getting published, is because of the endTest issue above. I write my index.html file when endTest is called, so the report.report calls create new report objects, but are never written to the index file before it's published to the JReport system. ie.
endTest --> write to index.html
afterClass() --> call report.report
publish report Misses any report.report calls from the afterClass()
Golan Derazon wrote:
Okay, I looked at this issue, and from what I see, report messages that are reported in the afterClass method,
appear after the test end messages, but are still associated with the relevant test. I'm not sure I understand what you are trying to do however,
If you want to hook the after class event, the best thing I can offer at this stage is to perform a report.report with identifiable message (i.e "AFTER CLASS"), and identify the message in your listener.
Last, I don't understand why do you mean by "... data isn't getting into the index file after the ...". an example will help here.
On Fri, Aug 7, 2009 at 4:17 PM, Ben Douglas bdouglas@…> wrote:
Cool -- thanks...
I'm hitting the issue that the publisher (or whatever gathers
files to be published) is missing the last set of data in the
afterClass() call.
I'm working with my own listener, but it still doesn't make much
sense as to why the data isn't getting into the index file after
the afterClass().
Thanks,
Ben
Golan Derazon wrote:
No there isn't (at least, not something that was created on
purpose)
I never gave this issue a thought, I will have a better
opinion on this after I look at it on Monday.
On Fri, Aug 7, 2009 at 3:32 PM, Ben Douglas
bdouglas@… bdouglas@…>> wrote:
Hey Golan,
I seemed to have found an area in the run that doesn't fall
during
a "startTest / endTest" area (ie in between two tests).
Anything
in the afterClass() gets put there even though I want to
have it
put in the current test as some cleanup. Is there another
listener method for after the @afterclass is called that
you know of?
Thanks,
Ben

-- \ Golan Derazon

\ Golan Derazon

\ Golan Derazon

Need to upgrade ftpserver to run the ftpserver on Linux

Reported by: daniel.zapata
Opened 19 months ago
Jsystem version 5.4
I am trying to run an ftpserver on linux, but it hangs when executing any command.
The ftp server log shows:
INFO: Login success - aqua
Jun 16, 2009 4:02:14 PM sun.reflect.NativeMethodAccessorImpl? invoke0
WARNING: FtpDataConnection?.getDataSocket()
java.net.BindException?: Address already in use
at java.net.PlainSocketImpl?.socketBind(Native Method)
at java.net.PlainSocketImpl?.bind(PlainSocketImpl?.java:359)
at java.net.Socket.bind(Socket.java:565)
at java.net.Socket.(Socket.java:364)
at java.net.Socket.(Socket.java:267)
at org.apache.ftpserver.FtpDataConnection?.getDataSocket(FtpDataConnection?.java:205)
at org.apache.ftpserver.FtpRequestImpl?.getDataOutputStream(FtpRequestImpl?.java:332)
at org.apache.ftpserver.command.LIST.execute(LIST.java:66)
at org.apache.ftpserver.RequestHandler?.service(RequestHandler?.java:277)
at org.apache.ftpserver.RequestHandler?.run(RequestHandler?.java:242)
at java.lang.Thread.run(Thread.java:619)
The client just hangs here:
150 File status okay; about to open data connection.
I believe this is caused by http://issues.apache.org/jira/browse/FTPSERVER-111
The solution would be to upgrade the ftp server to the latest version. I made an attempt at this, but the ftpserver apis have changed enough to not make it a drop-in fix.

Missing JReporter link in run.properties in ANT running

Reported by: yuval.ohayon
Opened 9 months ago
Subject: Missing JReporter link string in run.properties when running from ANT
when running jsystem from ant, and publishing it doesn't write the run.properties files the link of the current publish in the reports server

corrupt sut, test gets stuck

By Dan Hirsch 21 months ago
when running a test with a corrupt sut, the test doesn't receive the endTest and gets stuck, and finally fails.
this is the runner output stack trace.
to recreate run a test when sut is corrupt and it will reoccur.
Mar 26, 2009 9:19:20 AM jsystem.extensions.report.html.HtmlTestReporter? endTest
WARNING: End test notification fail
java.lang.NullPointerException?
at jsystem.extensions.report.html.HtmlWriter?.endTest(HtmlWriter?.java:404)
at jsystem.extensions.report.html.HtmlTestReporter?.endTest(HtmlTestReporter?.java:269)
at jsystem.extensions.report.html.HtmlTestReporter?.endTest(HtmlTestReporter?.java:286)
at jsystem.framework.report.RunnerListenersManager?.fireEndTest(RunnerListenersManager?.java:509)
at jsystem.framework.report.RunnerListenersManager?.endTest(RunnerListenersManager?.java:455)
at jsystem.framework.report.RunnerListenersManager?.startTest(RunnerListenersManager?.java:533)
at jsystem.runner.remote.RemoteExecutorImpl?$ReaderThread?.run(RemoteExecutorImpl?.java:344)
Mar 26, 2009 9:19:20 AM jsystem.extensions.report.xml.Reader endTest
WARNING: Unable To Perform 'endTest' :current test ==null
Test: CountTextText?.testSimpleCount
(1)Steps in test: CountTextText?.testSimpleCount :
Parameters:
jsystem.uuid=233aae80-32df-4475-8be2-923ab5beacbf
jsystem.parent.name=${jsystem.parent.name}.${ant.project.name}
jsystem.parent.uuid=${jsystem.parent.uuid}.${jsystem.uuid}
Parameters end.
[jsystem] Mar 26, 2009 9:19:20 AM junit.framework.SystemTestCaseImpl? jsystemTestPreExecution
[jsystem] INFO: Running test: testSimpleCount

Test parameters values disappear

Reported by: yehudit.nadav
Opened 9 months ago
Description: From time to time tests parameters values (in Jsystem GUI) are reset.
Change History:
Changed 9 months ago by nizan.freedman
Fixes were done by Ezra to some parts in the parameters area.
not committed yet.
Changed 9 months ago by nizan.freedman
priority changed from major to critical
Changed 8 months ago by nizan.freedman
status changed from new to closed
resolution set to fixed
Changed 7 months ago by yoram.shamir
status changed from closed to reopened
resolution deleted
Changed 7 months ago by yoram.shamir
owner changed from ezra.genuth to yoram.shamir
status changed from reopened to reviewing

Even when fixture fails, it looks like the runner succeeded.

By Ezra 23 months ago
When fail to go to a fixture via runner, it still looks like the runner managed to go to it
I set the runner to be in the root fixture.
I ask the runner to "go to" a fixture, which has a fail report in its "setUp".
The runner tries to navigate to that fixture but tells me it failed.
The runner still marks the target fixture as its current Location.
When refreshing the runner, the location gets the "rootFixture" back.

prepare stations package for open source release

Opened by Golan Derazon 2 years ago
The goal of the task is to take what we currently have, organize it, make necessary complements for linux, document it and write examples. This is what we currently have: The stations package is a set of system objects which assist in remote management of windows/linux stations through our CLI package. One of the goals of the package is to expose a unified interface for managing windows/linux. Currently the package includes the following system objects: 1. File transfer - handles transfer of files from/to local machine 2. Pinger - ping utility 3. Network adapter API - API for manipulating remote machine network adapters 4. Process,services,users,performance,drives management (only windows)

runAutoItAgent does not work as provided

Reported by: adrian.wyssmann
Opened 9 months ago
I currently get an NoClassDefFoundError? excpetion if executing the runAutoItAgent.bat as provided.
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xmlrpc/WebServer
at com.jsystem.j2autoit.AutoItAgent.startAutoItWebServer(AutoItAgent.java:665)
at com.jsystem.j2autoit.AutoItAgent.main(AutoItAgent.java:348)
Caused by: java.lang.ClassNotFoundException: org.apache.xmlrpc.WebServer
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
I had to modify it accordingly to get it working:
@echo OFF
rem Runs AutoIt agent
set current_dir=%~dp0
set current_drive=%~d0
%current_drive%
cd %current_dir%
setlocal ENABLEDELAYEDEXPANSION
set CLASSPATH=.\thirdparty\lib\ FOR /R .\lib %%G IN (.jar) DO set CLASSPATH=!CLASSPATH!;%%G
FOR /R .\thirdparty\commonLib %%G IN (.jar) DO set CLASSPATH=!CLASSPATH!;%%G
FOR /R .\thirdparty\lib %%G IN (*.jar) DO set CLASSPATH=!CLASSPATH!;%%G
echo The Classpath definition is %CLASSPATH%
java -classpath "%CLASSPATH%;." com.jsystem.j2autoit.AutoItAgent 8888
rem Make sure that we see the output
@echo ON
pause

Problem with NullPointer in HtmlTestReporter.ZipDeleteLogDir

Reported by: ben.douglas
Opened 17 months ago
I'm over-riding the ZipDeleteLogDirectory? in HtmlTestReporter?, since I'm creating a new Listener similar to the Level listener, but it's still called, causing a NullPointer? exception. The offending line is line 611... I think the logic here (lines 610-621) is backwards:
if (oldPath == null) {
dest = new File(oldDir.getPath()

  • File.separator
  • "setup-"
  • setup
  • File.separator
  • "version-"
  • Summary.getInstance().getProperties().getProperty(
    "Version"));
    } else {
    dest = findTreePath(oldDir, oldPath);
    }

j2Autoit jar has a bug

Reported by: ezra.genuth
Opened 13 months ago
in AutoItClient:137
Object returnedObject = agent.runScript(script, workDir, autoItLocation, timeout * 1000);
When
script = Run("matlab -r main('C:\audio_tester\Runs\Run0.xml')")
workDir = c:\jsystem\runner
autoItLocation = c:\jsystem\runner
timeout = 30
we get:
java.lang.NullPointerException?
at com.jsystem.j2autoit.AutoItClient?.runRemoteScript(AutoItClient?.java:137)
Using an old jar in works (5.6.11 release)

Poor performance on scenario editing operations

Reported by: eitan.kovacs
Opened 9 months ago
Description :
performance is poor in operations like - delete/copy/paste/up/down etc.
Change history:
Changed 9 months ago by nizan.freedman
Yuval:

  1. performance is very slow, it uses the disk and the cpu to much when selecting different node in the scenario tree.
  2. When delete element from tree it refresh the tree several times instead one. it takes too much time
  3. when try to remove (change location) of building block it takes too much time
    Changed 9 months ago by nizan.freedman
    priority changed from major to critical
    Changed 9 months ago by nizan.freedman
    Shahar: increasing memory consumption
    Changed 9 months ago by nizan.freedman
    Hovav: very slow in scenario editing and there is a drop in performance comparing to previous versions
    Changed 8 months ago by nizan.freedman
    priority changed from critical to minor
    Investigation only - multiple scenarios execution is currently the workaround
    Changed 8 months ago by nizan.freedman
    owner set to nizan.freedman
    status changed from new to accepted
    Changed 7 months ago by yoram.shamir
    status changed from accepted to new
    milestone changed from jsystem 5.6 to Fut

Move special tests handling to ListenerstManager

Reported by: nizan.freedman
Opened 20 months ago
There are several special tests currently supported:

  1. Scenario as test.
  2. Test marked as known issue.
  3. Test marked as negative test.
    These special cases are currently handled in the RunnerListenersManager class because all the handlings till now were Gui related.
    In order to support project listeners and other limitations specified below, the code should be moved to the ListenerstManager.
    In addition, the scenario hierarchy is currently constructed backward from the tests indication up. since we have added code inside the Ant flow elements, we can also pass on notifications on containers without trying to back-track the structures by only receiving the tests indications.
    the issues that needs solving are:
  4. Limitation in Scenario hierarchy when using a loop with a flow element inside as the first son (no test as first son), HTML hierarchy presentation is incorrect.
  5. Scenario as test doesn't work with inner test which is marked as a known issue\Negative, inner test marking is ignored.
  6. Scenario as test - EndTest? and StartTest? indications are notified on each step, should be on Scenario start and end only!
    All these would be solved when code is moved to the ListenerstManager

Problem in relative paths when running from the exported JS

Reported by: yuval.ohayon
Opened 14 months ago
Subject : problem in relative paths when running from the exported jsystem
my resource directory in under the root directory.
which means that it's sister of tests and src directories.
I use it as relative path
resources\pics\png.png
the problem is that when I export the project to zip file,
it still uses the relative path but it can't find the file.
because the src, tests and resources directories are under "project" directory ....
so it search it at (for example)
c:\documents and settings\sanity\desktop\tas\resources\pics\png.png
but the file is in
c:\documents and settings\sanity\desktop\tas\project\resources\pics\png.png
after I talked with Nizan. it seems that the bug is in the current working directory. It seems that when running jsystem from zip file the current working directory is user.dir instead of the project directory.

ScenarioHelpers.abortCurrentScenario() is not working in 5.6

Reported by Tomer Levy
I use the ScenarioHelpers?.abortCurrentScenario() method in order to stop executing a running scenario.
This method worked fine in version 5.6.31 and not working in the 5.6.63 nightly version.
I don't get any error message while executing that method.

Agent on Linux

Reported by: golan.derazon
Opened 20 months ago
When using agents on a Linux station, need to edit the /etc/hosts file to make hostname to be resolved to the LAN ip address of the nic of the agent.
Should be added tpo release notes

Documenation: Chapter 6

By Michael
The result of the next '${random:("C:/Jsystem";"C:/Automation)}' Is
"C:/Jsystem" or "C:/Automation and not as expected
C:/Jsystem or C:/Automation (w/o the inverted commas)
The fix should be in 6.2.4.4.2 Code Example part
Change from ${random:("C:/Jsystem";"C:/Automation)}
to ${random:(C:/Jsystem;C:/Automation)}

JSystem properties file overriden in installation

Reported by: nizan.freedman
The jsystem.properties file is overriden when installing a new JRunner on an old one.
this requires the user to back it up or rename it and then restore it.
this can be handled in the Installation, by identifying an old installation and either skipping this file or asking the user if he wishes to override.

Show reference Recursively problem

Reported by: tomer.levi
Opened 13 months ago
I creates scenario s1 that contained a test t1 that used scenario parameter sp1.
I created scenario s2 and insert s1 to it.
I used the Show Parameter and Show Reference Recursively.
The scenario parameter of s1 was displayed at s2 scenario parameters tab as expected .
I added a test t2 to s2 (after s1).
t2 used the same sp1 parameter.
while executing s2,t2 got null instead of sp1 value.
If I modify the name of the scenario parameter of t2 to sp2
and than change it back to sp1 the reference of sp1 is correct for both t1 and t2.

Define XML Editor

Reported by: michael.oziransky
Opened 12 months ago
Unable to define XML editor through JSystem properties GUI dialog.
If the editor is configured manually, it will appear in the the GUI.

isPass() doesn't work in SystemTestCase4 tests

Reported by: nizan.freedman
Opened 13 months ago
A test with report fail, appears as passed in the tearDown.
History:
status changed from new to closed
resolution set to fixed
Fixed by adding a getSystemTest to JSystemJunit4ClassRunner.TestInfo?, which is used as currentTest in DefaultReporter?
Changed 7 months ago by yoram.shamir
status changed from closed to reopened
resolution deleted
Changed 7 months ago by yoram.shamir
owner changed from nizan.freedman to yoram.shamir
status changed from reopened to reviewing

FTPServer ignores port set in res/​conf/​ftpd.properties

Reported by: daniel.zapata
Opened 19 months ago
Jsystem version 5.4
FTPServer.getConfiguration() does not allow you to override the port number with one set in the ftpd.properties file:
private Configuration getConfiguration() throws Exception {
InputStream? stream = getClass().getClassLoader().getResourceAsStream(
"res/conf/ftpd.properties");
String bindName = getBindName();
if (bindName != null){
report.report("FTP Server is listening on " + bindName + " port: " +getPort() + " ip address is " + InetAddress?.getByName(bindName));
}else {
report.report("FTP Server is listening on all ips. port: " +getPort());
}
try {
Properties props = new Properties();
props.load(stream);
props.setProperty("config.socket-factory.port", "" + port);
As you can see, even though the port property is loaded, it gets overridden by the local 'port' variable. Also, the port number is reported before the properties are loaded. I hacked it locally this way:
InputStream? stream = getClass().getClassLoader().getResourceAsStream(
"res/conf/ftpd.properties");
String bindName = getBindName();
try {
Properties props = new Properties();
props.load(stream);
//only set if the config file didn't specify it
props.setProperty("config.socket-factory.port", props.getProperty("config.socket-factory.port", Integer.toString(port)));
//props.setProperty("config.socket-factory.port", "" + port);
//sync up ports
setPort(Integer.parseInt(props.getProperty("config.socket-factory.port")));
if (bindName != null){
report.report("FTP Server is listening on " + bindName + " port: " +getPort() + " ip address is " + InetAddress?.getByName(bindName));
}else {
report.report("FTP Server is listening on all ips. port: " +getPort());
}

When using agents, Init reporters confirmation is annoying

By Nizan Freedman 21 months ago
subject: when using agents, Init reporters confirmation dialog is annoying
When the agents list is populated, the user gets a confirmation dialog on each init reports action from the main init reports button.
the only way to get rid of this dialog is deleting the entire Agent list. this is rather annoying.
The fact that the agents list is populated doesn't mean the runner is connected to all or should init all their logs.
There should be a jsystem property\ another flag to signal the confirmation off if no Agent is actually used.

endTest is triggered before the @AfterClass method is run

eported by: ben.douglas
Opened 17 months ago
Mail Conversation with Golan:
Ok, I have a better understanding now of your problem.
I gave a quick thought to the afterclass issue, and indeed the end test event should come after the afterclass
is executed.
There is not much demand at this stage for this refinement and since this requires some digging into junit4 runner
I'm not planning to do it right away.
Please submit a bug on this issue.
As I suggested in my previous mail, your workaround for now can be to identify the after class yourself by putting a report.report in it and identifying it in your listener. It is a little bit ugly, but it will do the work.
Thanks,
On Tue, Aug 11, 2009 at 8:45 AM, Ben Douglas bdouglas@… wrote:
Hey Golan,
Sorry for not getting back to you yesterday.
Yes -- I do see the report messages from the afterClass method in the default LevelHtmlReporter?, however -- when working with my listener, I'm using the "endTest" method to signify that the test ended -- however, that method is called before the afterClass() is called. So the first issue is that the afterClass report calls aren't put in the "testcase" output (when I keep track of them).
The issue about comments in the afterClass not getting published, is because of the endTest issue above. I write my index.html file when endTest is called, so the report.report calls create new report objects, but are never written to the index file before it's published to the JReport system. ie.
endTest --> write to index.html
afterClass() --> call report.report
publish report Misses any report.report calls from the afterClass()
Golan Derazon wrote:
Okay, I looked at this issue, and from what I see, report messages that are reported in the afterClass method,
appear after the test end messages, but are still associated with the relevant test. I'm not sure I understand what you are trying to do however,
If you want to hook the after class event, the best thing I can offer at this stage is to perform a report.report with identifiable message (i.e "AFTER CLASS"), and identify the message in your listener.
Last, I don't understand why do you mean by "... data isn't getting into the index file after the ...". an example will help here.
On Fri, Aug 7, 2009 at 4:17 PM, Ben Douglas bdouglas@…> wrote:
Cool -- thanks...
I'm hitting the issue that the publisher (or whatever gathers
files to be published) is missing the last set of data in the
afterClass() call.
I'm working with my own listener, but it still doesn't make much
sense as to why the data isn't getting into the index file after
the afterClass().
Thanks,
Ben
Golan Derazon wrote:
No there isn't (at least, not something that was created on
purpose)
I never gave this issue a thought, I will have a better
opinion on this after I look at it on Monday.
On Fri, Aug 7, 2009 at 3:32 PM, Ben Douglas
bdouglas@… bdouglas@…>> wrote:
Hey Golan,
I seemed to have found an area in the run that doesn't fall
during
a "startTest / endTest" area (ie in between two tests).
Anything
in the afterClass() gets put there even though I want to
have it
put in the current test as some cleanup. Is there another
listener method for after the @afterclass is called that
you know of?
Thanks,
Ben

-- \ Golan Derazon

\ Golan Derazon

\ Golan Derazon

If BB is incorrect all BB's that comes after it are ignored

Reported by: shahar.sheinfeld
Subject: if some BB is signed or not signed and has incorrect parameters than all the BB that comes after it are ignored
if some BB is signed or not signed and has incorrect parameters than all the BB that comes after it are ignored. In the console there is a massage "BUILD FAILED"
the attached screen shot shows my scenario witch has "Handset" test with some incorrect parameters and an if condition after it. Even if the "Handset" test is unmapped, the next tests are ignored.

Undo test parameter to default blank

By Ezra - 23 monthes ago
undo test parameter to a default value doesnt work if the default value is blank
If the test definition is:
String ezra;
and the user changes it via the runner, it is impossible to undo back to default value (which is a blank String)

SUT is not synchronized between runner and file system

By Ezra 22 months ago
I'm performing changes on the SUT via the SUT planner in the runner.
I see that the SUT file as shown in eclipse editor under tests->sut (not classes!!!) is still in a old version.
Using (5.4.7)
The problem is that when the runner can't change the SUT file located in the tests folder, it doesn't alert the user.

installer mis behavior

Reported by: dan.hirsch
Opened 17 months ago
when installing the JSystem and giving an existing eclipse root dir that already has the jsystem plugin it gives you an option to overwrite. if you choose not too it opens an error window saying the copy operation failed.
it should be a more friendly message or none at all.

excpetion when setting enum type variable in class provider

Reported by: yuval.ohayon
Opened 17 months ago
Hi
I have test with string parameters and one class (class provider)
the classes provider has few string parameters and one enum parameter.
the class parameter name is MsnAd?
when I set the enum parameter on this class the jsystem gives me this message :
(note - ${summary:ProfileName} is value of another parameter in the test and I didn't set it in the class provider)
Faild to set parameter : MsnAd? with value ${summary:ProfileName}
java.lang.IllegalArgumentException?: No enum const class com.kenshoo.tools.CommonEnums?$PageType?.https://
at java.lang.Enum.valueOf(Enum.java:196)
at jsystem.utils.beans.BeanUtils?.invoke(BeanUtils?.java:234)
at jsystem.utils.beans.BeanUtils?.propertiesToObject(BeanUtils?.java:201)
at jsystem.extensions.paramproviders.GenericObjectParameterProvider?.getFromString(GenericObjectParameterProvider?.java:108)
at jsystem.treeui.params.ParameterTableUserDefine?.getField(ParameterTableUserDefine?.java:108)
at jsystem.treeui.params.ParametersPanel?.stopEditing(ParametersPanel?.java:218)
at jsystem.treeui.TestInformationTab?.parameterChanged(TestInformationTab?.java:433)
at jsystem.treeui.params.ParametersPanel?.focusLost(ParametersPanel?.java:783)
at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:213)
at java.awt.Component.processFocusEvent(Component.java:6155)
at java.awt.Component.processEvent(Component.java:6019)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.KeyboardFocusManager?.redispatchEvent(KeyboardFocusManager?.java:1848)
at java.awt.DefaultKeyboardFocusManager?.typeAheadAssertions(DefaultKeyboardFocusManager?.java:889)
at java.awt.DefaultKeyboardFocusManager?.dispatchEvent(DefaultKeyboardFocusManager?.java:562)
at java.awt.Component.dispatchEventImpl(Component.java:4502)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue?.dispatchEvent(EventQueue?.java:599)
at java.awt.SentEvent?.dispatch(SentEvent?.java:55)
at java.awt.DefaultKeyboardFocusManager?$DefaultKeyboardFocusManagerSentEvent?.dispatch(DefaultKeyboardFocusManager?.java:183)
at java.awt.DefaultKeyboardFocusManager?.sendMessage(DefaultKeyboardFocusManager?.java:210)
at java.awt.DefaultKeyboardFocusManager?.dispatchEvent(DefaultKeyboardFocusManager?.java:627)
at java.awt.Component.dispatchEventImpl(Component.java:4502)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue?.dispatchEvent(EventQueue?.java:599)
at java.awt.SequencedEvent?.dispatch(SequencedEvent?.java:101)
at java.awt.EventQueue?.dispatchEvent(EventQueue?.java:597)
at java.awt.EventDispatchThread?.pumpOneEventForFilters(EventDispatchThread?.java:269)
at java.awt.EventDispatchThread?.pumpEventsForFilter(EventDispatchThread?.java:184)
at java.awt.EventDispatchThread?.pumpEventsForFilter(EventDispatchThread?.java:178)
at java.awt.Dialog$1.run(Dialog.java:1045)
at java.awt.Dialog$3.run(Dialog.java:1097)
at java.security.AccessController?.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1095)
at java.awt.Component.show(Component.java:1563)
at java.awt.Component.setVisible(Component.java:1515)
at java.awt.Window.setVisible(Window.java:841)
at java.awt.Dialog.setVisible(Dialog.java:985)
at jsystem.treeui.error.ErrorDialog?.init(ErrorDialog?.java:127)
at jsystem.treeui.error.ErrorPanel?.showErrorDialog(ErrorPanel?.java:123)
at jsystem.treeui.error.ErrorPanel?.showErrorDialog(ErrorPanel?.java:149)
at jsystem.treeui.params.UserDefinedCellEditor?.getCellEditorValue(UserDefinedCellEditor?.java:29)
at jsystem.treeui.params.RowEditor?.getCellEditorValue(RowEditor?.java:60)
at javax.swing.JTable.editingStopped(JTable.java:4720)
at javax.swing.AbstractCellEditor?.fireEditingStopped(AbstractCellEditor?.java:125)
at javax.swing.AbstractCellEditor?.stopCellEditing(AbstractCellEditor?.java:68)
at jsystem.treeui.params.RowEditor?.stopCellEditing(RowEditor?.java:67)
at javax.swing.plaf.basic.BasicTableUI$Actions.actionPerformed(BasicTableUI.java:475)
at javax.swing.SwingUtilities?.notifyAction(SwingUtilities?.java:1636)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
at javax.swing.JTable.processKeyBinding(JTable.java:5256)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2897)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
at java.awt.Component.processEvent(Component.java:6040)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.KeyboardFocusManager?.redispatchEvent(KeyboardFocusManager?.java:1848)
at java.awt.DefaultKeyboardFocusManager?.dispatchKeyEvent(DefaultKeyboardFocusManager?.java:704)
at java.awt.DefaultKeyboardFocusManager?.preDispatchKeyEvent(DefaultKeyboardFocusManager?.java:969)
at java.awt.DefaultKeyboardFocusManager?.typeAheadAssertions(DefaultKeyboardFocusManager?.java:841)
at java.awt.DefaultKeyboardFocusManager?.dispatchEvent(DefaultKeyboardFocusManager?.java:668)
at java.awt.Component.dispatchEventImpl(Component.java:4502)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue?.dispatchEvent(EventQueue?.java:599)
at java.awt.EventDispatchThread?.pumpOneEventForFilters(EventDispatchThread?.java:269)
at java.awt.EventDispatchThread?.pumpEventsForFilter(EventDispatchThread?.java:184)
at java.awt.EventDispatchThread?.pumpEventsForHierarchy(EventDispatchThread?.java:174)
at java.awt.EventDispatchThread?.pumpEvents(EventDispatchThread?.java:169)
at java.awt.EventDispatchThread?.pumpEvents(EventDispatchThread?.java:161)
at java.awt.EventDispatchThread?.run(EventDispatchThread?.java:122)
Fail to get value
java.lang.IllegalArgumentException?: No enum const class com.kenshoo.tools.CommonEnums?$PageType?.http://
at java.lang.Enum.valueOf(Enum.java:196)
at jsystem.utils.beans.BeanUtils?.invoke(BeanUtils?.java:234)
at jsystem.utils.beans.BeanUtils?.propertiesToObject(BeanUtils?.java:201)
at jsystem.extensions.paramproviders.GenericObjectParameterProvider?.getFromString(GenericObjectParameterProvider?.java:108)
at jsystem.treeui.params.ParameterTableUserDefine?.getField(ParameterTableUserDefine?.java:108)
at jsystem.treeui.params.UserDefinedCellEditor?.getCellEditorValue(UserDefinedCellEditor?.java:27)
at jsystem.treeui.params.RowEditor?.getCellEditorValue(RowEditor?.java:60)
at javax.swing.JTable.editingStopped(JTable.java:4720)
at javax.swing.AbstractCellEditor?.fireEditingStopped(AbstractCellEditor?.java:125)
at javax.swing.AbstractCellEditor?.stopCellEditing(AbstractCellEditor?.java:68)
at jsystem.treeui.params.RowEditor?.stopCellEditing(RowEditor?.java:67)
at javax.swing.plaf.basic.BasicTableUI$Actions.actionPerformed(BasicTableUI.java:475)
at javax.swing.SwingUtilities?.notifyAction(SwingUtilities?.java:1636)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
at javax.swing.JTable.processKeyBinding(JTable.java:5256)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2897)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
at java.awt.Component.processEvent(Component.java:6040)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.KeyboardFocusManager?.redispatchEvent(KeyboardFocusManager?.java:1848)
at java.awt.DefaultKeyboardFocusManager?.dispatchKeyEvent(DefaultKeyboardFocusManager?.java:704)
at java.awt.DefaultKeyboardFocusManager?.preDispatchKeyEvent(DefaultKeyboardFocusManager?.java:969)
at java.awt.DefaultKeyboardFocusManager?.typeAheadAssertions(DefaultKeyboardFocusManager?.java:841)
at java.awt.DefaultKeyboardFocusManager?.dispatchEvent(DefaultKeyboardFocusManager?.java:668)
at java.awt.Component.dispatchEventImpl(Component.java:4502)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue?.dispatchEvent(EventQueue?.java:599)
at java.awt.EventDispatchThread?.pumpOneEventForFilters(EventDispatchThread?.java:269)
at java.awt.EventDispatchThread?.pumpEventsForFilter(EventDispatchThread?.java:184)
at java.awt.EventDispatchThread?.pumpEventsForHierarchy(EventDispatchThread?.java:174)
at java.awt.EventDispatchThread?.pumpEvents(EventDispatchThread?.java:169)
at java.awt.EventDispatchThread?.pumpEvents(EventDispatchThread?.java:161)
at java.awt.EventDispatchThread?.run(EventDispatchThread?.java:122)

Problem in select/create SUT

By Golan
I found a bug in the runner when you try to create a new SUT file
you can press create new SUT. then it would ask for a file name. press cancel.
then press the pencil icon and edit the file. it would let you edit a file with no name and wont save it

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.