Hi, Thanks, I will pass this info to my testing team. I also wanted to see how to bring up GUI apps as I need to copy and paste text from a GUI app like servername and details from that app to my second GUI and run it. I can use cron to setup the export DISPLAY=:0 and start the app.
*/1 * * * * * * export DISPLAY=:0; /usr/bin/bash start_external.app.bin.bash Since I use goCD as services on CentOS it does not allow me to start a GUI and says GTK waning that it can not open display. There is also an option for starting goCD as console to start it in foreground. I think the developers of goCd wanted to allow goCD to interact with desktop apps(I hope my assumption is correct). But, I can not start service go-agent console on centOS it gves me error. Could anyone please guide me how to start go-agent in foreground so that I can launch Desktop helper apps for CI/CD of my pipeline Thanks, Regards Martin Lourduswamy On Saturday, February 8, 2020 at 1:41:41 AM UTC-5, Aravind SV wrote: > > Ketan mentioned Xvfb. Maybe this helps: > http://elementalselenium.com/tips/38-headless > > Cheers, > Aravind > > On Fri, Feb 07, 2020 at 19:08:01 -0800, Martin Lourduswamy wrote: > > Hi, > > > > Thanks, could you please tell me what tool do you use for running > selenium > > tests on CentOS or Linux? > > Also, for calling GUI apps like firefox or chrome from goCD builds, how > do > > you do that. > > I tried with goCD running as service and it says it can not open DISPLAY > to > > run the GUI apps > > > > Thanks, > > Regards, > > Martin Lourduswamy > > > > On Friday, February 7, 2020 at 7:51:29 PM UTC-5, Ketan Padegaonkar > wrote: > > > > > > GoCD builds themselves use xvfb for running selenium bases tests. > > > > > > We don't use vnc because nobody on the team needs to login to the > server > > > to see the tests running. > > > > > > This setup has worked well for us for several years now, without a > hitch. > > > > > > On Sat, 8 Feb, 2020, 03:12 Martin Lourduswamy, <[email protected] > > > <javascript:>> wrote: > > > > > >> Hi, > > >> I am new to goCD, I would like to know if anyone has used VNC to > bring up > > >> GUI applications or test GUI applications from goCD > > >> https://docs.gocd.org/current/advanced_usage/ui_testing.html > > >> > > >> VNC is slow sometimes and I do not want to rely on VNC for my > testing, I > > >> would rather let the default desktop to handle it, > > >> Please let me know your thoughts and suggestions and your experience, > > >> > > >> Thanks, > > >> > > >> Regards > > >> Martin Lourduswamy > > >> > > >> -- > > >> You received this message because you are subscribed to the Google > Groups > > >> "go-cd" group. > > >> To unsubscribe from this group and stop receiving emails from it, > send an > > >> email to [email protected] <javascript:>. > > >> To view this discussion on the web visit > > >> > https://groups.google.com/d/msgid/go-cd/2ae7c06f-7c45-49a7-85ad-02ec15613074%40googlegroups.com > > > >> < > https://groups.google.com/d/msgid/go-cd/2ae7c06f-7c45-49a7-85ad-02ec15613074%40googlegroups.com?utm_medium=email&utm_source=footer> > > > > >> . > > >> > > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "go-cd" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/go-cd/b7c23639-1fc0-4722-93b3-853cbc3b04d2%40googlegroups.com. > > > > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/5f16e1f7-7b45-44d0-a699-435f191a8f7c%40googlegroups.com.
