<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Running Cucumber Headlessly</title><link>https://community.appian.com/discussions/f/general/14971/running-cucumber-headlessly</link><description>Hello everyone, Im trying to run my cucumber test in headless mode. When it tries to navigate to my appian URL, the testcases will pass however when it tries to login, cucumber will throw a NullPointerException error. please see below for the stack trace</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Running Cucumber Headlessly</title><link>https://community.appian.com/thread/83486?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 17:08:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:14c58905-d5a2-4883-9ebf-61e20fe3a4b6</guid><dc:creator>Rabiah Khairy</dc:creator><description>&lt;p&gt;hello, sorry super late reply. Im not familiar with Jenkins. Currently im using Bamboo and its working&amp;nbsp;properly there. i dont think it matters what CICD tools u use. And yes its possible to run on local mac. Could share more what exactly u are looking for?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running Cucumber Headlessly</title><link>https://community.appian.com/thread/74110?ContentTypeID=1</link><pubDate>Fri, 15 May 2020 07:01:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e1820413-a8ef-4a7e-850d-6605914c70fa</guid><dc:creator>ajinkyab277</dc:creator><description>&lt;p&gt;Hi Rabiah,&lt;/p&gt;
&lt;p&gt;Thanks for the reply&lt;/p&gt;
&lt;p&gt;1. We are planning to run the test cases from jenkins . and will be moving the cucumber project to jenkin slave&lt;/p&gt;
&lt;p&gt;2. Also is there any way to run this in headless way from local m/c&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ajinkya&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running Cucumber Headlessly</title><link>https://community.appian.com/thread/74109?ContentTypeID=1</link><pubDate>Fri, 15 May 2020 06:59:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ff69c47e-23dd-4d07-9ed6-2e080f86b17f</guid><dc:creator>Rabiah Khairy</dc:creator><description>&lt;p&gt;&lt;span&gt;hello, sorry late reply. Im currently able to dockerized my Cucumber so its running headlessly at the moment. Create your docker environment, and load all the necessary files in the image, u will also have to locate your chrome driver there too. basically mirror whatever&amp;#39;s in your local&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running Cucumber Headlessly</title><link>https://community.appian.com/thread/74108?ContentTypeID=1</link><pubDate>Fri, 15 May 2020 06:59:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cc5e9435-38f6-4381-a075-2a03b27e1b10</guid><dc:creator>Rabiah Khairy</dc:creator><description>&lt;p&gt;hello, sorry late reply. Im currently able to dockerized my Cucumber so its running headlessly at the moment. Create your docker environment, and load all the necessary files in the image, u will also have to locate your chrome driver there too. basically mirror whatever&amp;#39;s in your local&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running Cucumber Headlessly</title><link>https://community.appian.com/thread/73419?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 10:03:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:15381dd4-93be-4c23-b9d7-96a4d5d87ff2</guid><dc:creator>ajinkyab277</dc:creator><description>&lt;p&gt;Hi Could you explain how did u ran the cucumber heedlessly , I am also trying to achieve same&amp;nbsp;&lt;/p&gt;
&lt;h1 class="name"&gt;&lt;/h1&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running Cucumber Headlessly</title><link>https://community.appian.com/thread/71943?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 19:59:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:232617d2-0ddc-4997-8ba7-6b0c19464c3a</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Would&amp;nbsp;you happen to have more details on how you managed to run Cucumber headlessly?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Mat&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running Cucumber Headlessly</title><link>https://community.appian.com/thread/67393?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2019 02:56:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:385d439f-f012-4435-b92e-9d2409f87eaa</guid><dc:creator>Rabiah Khairy</dc:creator><description>&lt;p&gt;Hi Jose, thank you so much for your response.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;* I assume this is happening with Chrome? do you have multiple profiles? are u using the same driver that comes with the installation of the cucumber?&lt;/p&gt;
&lt;p&gt;Ans -&amp;gt;&amp;nbsp;Its a standalone driver&lt;/p&gt;
&lt;p&gt;* are you able to run it with head? does it works?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ans -&amp;gt; Yes&lt;/p&gt;
&lt;p&gt;* which version of the cucumber for Appian are you using and which version of Appian are both 19.1?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ans -&amp;gt; 19.1&lt;/p&gt;
&lt;p&gt;* try to kill all the chromes drivers which could be open and additionally try to remove all the browsing history and everything possible to delete from the browser.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Ans -&amp;gt; The driver is unable to launch the chrome hence i think there were no chrome drivens being open&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Anwyay, I have troubleshooted this problem. it seems that problem lies with the chromedriver itself. I have verified that all chrome depedancies have been installed correcrly but something wa smissing to lauch chrome. i have managed to find a chrome luancher script online and threw it in the chrome driver installed directory and it worked :) definitiely a tedious process and i will be finiding an easier solution to this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running Cucumber Headlessly</title><link>https://community.appian.com/thread/66955?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2019 07:28:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5d871cf1-99aa-4f18-b851-e3de00563049</guid><dc:creator>josep</dc:creator><description>&lt;p&gt;Hello Rabiah,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Some questions,&lt;/p&gt;
&lt;p&gt;* I assume this is happening with Chrome? do you have multiple profiles? are u using the same driver that comes with the installation of the cucumber?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;* are you able to run it with head? does it works?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;* which version of the cucumber for Appian are you using and which version of Appian are both 19.1?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;* try to kill all the chromes drivers which could be open and additionally try to remove all the browsing history and everything possible to delete from the browser.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;well try and let us know your answers so we can help you better&lt;/p&gt;
&lt;p&gt;Jose&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>