On this page, you can find some common errors related to GXtest objects and how you can fix them quickly.
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 over the Internet Explorer browser, the browser must be opened by the CI server. That is because If you have Jenkins as a service, tests are running under "SYSTEM" which has different security settings than your Administrator account. To solve this Jenkins must be executed from the command line and not as a service. Information regarding this topic is here.
Note: 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.
In .Net Environments, .Generator Property 'Build Mode' must be set to "MSBuild".
To be able to run UI tests in iOS you need to install the library xcpretty in addition to Apple Requirements.