Blog

Compiling JSystem to Java 7

Compiling JSystem to Java 7  Check out the project JSystem can run with Java 7 JRE or JDK, but it is compiled with the compliance level of Java 6. That means that you can’t run JSystem automation projects that were compiled with Java 7 compliance level so you […]

Read more

Compiling JSystem from Sources

Compiling JSystem from Sources Install Java JDK Windows JSystem is a pure Java framework and it needs Oracle JVM for running. Download Java from Oracle site . Since you are compiling from sources you can select any JDK flavor.  After installing the JDK, add JAVA_HOME environment variable to your […]

Read more

Working with GPIB interfaces

GPIB is a standard interface when working with basic electronics devices. These devices are common in the testing environment and therefore sometime should be integrated into the JSystem. The target of this post is to explain how this type of integration should be done.

Read more

JSystem Agent with Linux and Vista

Here are some steps which will make the JSystem Agent run on Linux and Vista
This post assumes that you are familiar with JSystem Agent, and that you have managed to run it on XP.

Vista

Working with the JSystem agent on Vista is similar to working on XP, with these two issues:

Read more

Approaches to controlling remote machines

A common requirement in system testing is to remotely control
Linux/Windows machines (copy files, run processes, perform advanced searched and analysis on the remote machine etc’)

This challenge can be approached in two ways using jsystem:

Read more

Testing Swing based applications with JSystem

Overview

This article describes how to test Java Swing based desktop applications with JSystem “swing” package.
The fundamental problem that we have to deal with is how to emulate user operation on the application.
After reading this article you will be able to write a simple JSystem test project that emulates user operations on your application and analyzes application state (text in the windows etc’)

Read more

System object project VS tests project

Following is a question sent by one of our users, I think it will interest other users.

”I have a question that confuses me for a long time when I use the JSystem Framework.

When I create a new JSystem Project in Eclipse, there are two choices under the JSystem item: “JSystem System Object” Project and “JSystem Test Project”. Can you tell me whether there are differences between them? “

 

Answer:

Read more

J2AutoIt updates

The use of the AutoIt (http://www.autoitscript.com/autoit3/ ) as automation tool, forwarding the JSystem to extend the support in the tests.
Therefore we extends the JSystem framework to support in the AutoIt tool.
In the last J2AutoIt update you may found some useful AutoIt commands :
1. Windows Registry handling:
a. ‘RegEnumKey’.
b. ‘RegEnumVal’.
c. ‘RegRead’.
d. ‘RegWrite’.
e. ‘RegDelete’.
2. Clipboard support:
a. ‘ClipPut’.
b. ‘ClipGet’.
3. Application handling:
a. ‘WinKill’.
b. ‘WinGetTitle’.
c. ‘WinWait’ (with timeout argument).
d. ‘ControlSetText’.

Read more

Upgrading JSystem from old version

Upgrading the JSystem environment is pretty basic, though requires some work for old versions.

Currently, two issues affect the upgrade:
1) Scenario as Ant file.
As of JSystem 4.8, the scenario file was converted to Ant format.
All older scenarios will be converted to Ant format on JRunner detection.
Note: this operation is not reversible!

2) Jars changes
As of JSystem 5.0 there were several jars changes in the JRunner libraries.
* The runner\lib\jsystem.jar was replaced with jsystemCore.jar and jsystemCommon.jar.

Read more

Integrating Java and COM

The main challenge I faced was to integrate Java with COM objects. I tried few java2com bridges but I was not satisfied with the solutions. It was too completed and tend to break at the edges.

I decided to use vbscript. It is very simple to work with and it (obviously) has very good COM integration. The problem with vbscript is that it missing very impotent feature, it don’t have the option to work as an interpreter. I need this flexibility to build the vbscript dynamically as the Java code is executed.

Read more
Page 2 of 512345
Fork me on GitHub