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 capabilites enables to test batch process.
GXtest 4 is released officialy inside GeneXus 16 upgrades.
If you want to install 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 needs to be generated, so each time you run a test GeneXus check if the tests have modifications.
Only if the test itself has changes or one of it dependencies (generated test SDT, test DataProvider and objects) has changed, then it force to build the test case object. This means that objects in the KB will not be generated unless they are referenced by tests that has references pending to be built.
No. They are isolated objects that doesn't change other object behavior.
You can change the default browser on your KB properties, or just do it explicitly on your test using 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 "Url Home" property on your KB/Enviroment in GeneXus IDE, plus using the Go () command with relative paths, like:
When simulating user actions over HTML controls, commands needs 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 was special commands used to interact with custom html elements and JS when was not posible using native commands.
This is not longer needed since GXtest 4 can nteract 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 interations.
Yes. You can run on any browser supported by WebDriver technology.
Use SetRemoteWebDriver function to launch your test using a remote browser.