Yes. You can use GeneXus debugger and run tests in a "step by step" mode.
No. Test objects are not referenced by any other object in the KB, which means that running a "Build All" or "Rebuild All" process in your KB will not generate test-related binaries in your working copy or deploy.
Yes. Unit testing capabilities enable to test batch process.
GXtest 4 is released officially inside GeneXus 16 upgrades.
If you want to install the latest version of GXtest in a custom GeneXus version, you can download and install it on top.
GXtest channel is released over AWS S3 with a "key" version.
You can get the version number using https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGETtagging.html
Unit Tests are special GeneXus procedures that need to be generated, so each time you run a test GeneXus check if the tests have modifications.
Only if the test itself has changed or one of its dependencies (generated test SDT, test DataProvider, and objects) has changed, then it forces to build the test case object. This means that objects in the KB will not be generated unless they are referenced by tests that have references pending to be built.
No. They are isolated objects that don't change other object behavior.
You can change the default browser on your KB properties or just do it explicitly on your test using the Browsers' domain. I.e.:
GXtest 4 supports Selenium / WebDriver architecture. You will need to have a Selenium node listening for running tests over some IP/port. Then, just use it on your test:
There are 2 ways to do this since the UI test will start running after the Go command.
1- Using the Go command to navigate to different environments:
2- Or using the "Base URL" property on your KB/Environment in GeneXus IDE, plus using the Go() command with relative paths, like:
When simulating user actions over HTML controls, commands need the right target to run against.
Use GXtest Recorder and after recording a test case, you will be able to use command locators in the Target section:
In older versions of GXtest, there were special commands used to interact with custom HTML elements and JS when was not possible using native commands.
This is no longer needed since GXtest 4 can interact with any HTML element on a webpage, even if they are not GeneXus native web controls.
Use Assertions: when recording a test, by right-clicking over an HTML control:
You can use a For in the test over a DataProvider or other Data sources to add different interactions.
Yes. You can run on any browser supported by WebDriver technology.
To do so, use the SetRemoteWebDriver function to launch your test using a remote browser.