On this page, you can find some common errors related to GXtest objects and how you can fix them quickly.
Solution 1: force a rebuild of the UITest external object. This can be achieved by
a) modifying the object itself or
b) using the option Test -> Rebuild All Tests.
Solution 2: if you don't use UI Test objects, delete it
A possible cause of this error could be that a KB is being opened with an older version of GXtest.
Solution: Delete Runner object. When you execute a test, it will be created again but with the appropriate version.
These cases could be a typical error that some objects need to be rebuilt. Test objects are not built in a Rebuild All operation because they are not called by any Main object (except some user change it), so the option Rebuild All Tests forces to rebuild test objects and their references.
Solutions: there are two options:
a) Modify the object so is automatically rebuilt by GeneXus in the next execution
b) Run the option Test -> Rebuild All Tests.
In order for web UI tests to work properly, browsers must be opened by the CI server. That is because commands that involve focus over elements (like typing) cannot be performed in some browsers, depending on the particular case.
To achieve this Jenkins must be executed from the command line and not as a service.
If you already have it running as a service you can use the Jenkins.war file in your Jenkins installation folder as follows:
java -jar "C:\Program Files\Jenkins\Jenkins.war" --httpPort=8081
If you have some error like "session not created" or "this version is not compatible" check out the Web UI Tests Compatibility Issues
When you need to download a file in a user interface test executed on Internet Explorer, you will have to manage a download bar that appears in the browser. See the workaround to download a file on IE.