Test execution in Linux RedHat7 env not work

hi, I am faced this issue when trying to execute testsuite in Linux RedHat7 env

[xxxxxx]$ export DISPLAY=:1
[xxxxxx]$ ./katalon -noSplash -runMode=console -projectPath=“/home/ptest/Katalon/KatalonTestsPOC/Admin-Web.prj” -retry=0 -testSuitePath=“Test Suites/OneVisa” -executionProfile=“default” -browserType=“Chrome (headless)”

** (katalon:19474): WARNING **: Couldn’t register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

and starting my chrome browser as next

System.setProperty(“webdriver.chrome.driver”,
“/usr/bin/google-chrome-stable”)

ChromeOptions
options = new ChromeOptions();

options.addArguments(“–headless”);

options.addArguments(“–no-sandbox”);

ChromeDriver
driver = new ChromeDriver(options);

#DesiredCapabilities
capabilities = new DesiredCapabilities();

#capabilities.setCapability(ChromeOptions.CAPABILITY,
options);

#ChromeDriver
driver = new ChromeDriver(capabilities);

DriverFactory.changeWebDriver(driver)

WebUI.openBrowser(baseUrl)

Timo Kuisma said:

hi, I am faced this issue when trying to execute testsuite in Linux RedHat7 env

[xxxxxx]$ export DISPLAY=:1
[xxxxxx]$ ./katalon -noSplash -runMode=console -projectPath="/home/ptest/Katalon/KatalonTestsPOC/Admin-Web.prj" -retry=0 -testSuitePath=“Test Suites/OneVisa” -executionProfile=“default” -browserType=“Chrome (headless)”

** (katalon:19474): WARNING **: Couldn’t register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

Hi,

got it to work when started dbus as a root

service
dbus start