Hi Kishore and Karl,

I changed the Thread.Sleep() in here from 1000 to 2000, Now the tests fail with a different behaviour.

When I run ant uitest a chrome window opens and navigates automatically to ManifoldCF login page and it stays there 



and the tests fail with the following error message 

 [junit] ------------- ---------------- ---------------
    [junit] Testcase: createConnectionsAndJob(org.apache.manifoldcf.authorities.authorities.activedirectory.tests.NavigationHSQLDBUI):  Caused an ERROR
    [junit] java.net.SocketException: Connection reset
    [junit] Build info: version: '3.13.0', revision: '2f0d292', time: '2018-06-25T15:24:21.231Z'
    [junit] System info: host: 'IRINDU', ip: '10.0.75.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_172'
    [junit] Driver info: driver.version: RemoteWebDriver
    [junit] org.openqa.selenium.WebDriverException: java.net.SocketException: Connection reset
    [junit] Build info: version: '3.13.0', revision: '2f0d292', time: '2018-06-25T15:24:21.231Z'
    [junit] System info: host: 'IRINDU', ip: '10.0.75.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_172'
    [junit] Driver info: driver.version: RemoteWebDriver
    [junit]     at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:92)
    [junit]     at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
    [junit]     at org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:276)
    [junit]     at org.apache.manifoldcf.core.tests.SeleniumTester.start(SeleniumTester.java:111)
    [junit]     at org.apache.manifoldcf.authorities.authorities.activedirectory.tests.NavigationHSQLDBUI.createConnectionsAndJob(NavigationHSQLDBUI.java:40)
    [junit] Caused by: java.net.SocketException: Connection reset
    [junit]     at java.net.SocketInputStream.read(SocketInputStream.java:210)
    [junit]     at java.net.SocketInputStream.read(SocketInputStream.java:141)
    [junit]     at okio.Okio$2.read(Okio.java:140)
    [junit]     at okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
    [junit]     at okio.RealBufferedSource.indexOf(RealBufferedSource.java:355)
    [junit]     at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:227)
    [junit]     at okhttp3.internal.http1.Http1Codec.readHeaderLine(Http1Codec.java:215)
    [junit]     at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189)
    [junit]     at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:88)
    [junit]     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
    [junit]     at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)
    [junit]     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
    [junit]     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
    [junit]     at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
    [junit]     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
    [junit]     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
    [junit]     at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
    [junit]     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
    [junit]     at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126)
    [junit]     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
    [junit]     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
    [junit]     at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
    [junit]     at okhttp3.RealCall.execute(RealCall.java:77)
    [junit]     at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:105)
    [junit]     at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155)
    [junit]     at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
    [junit]
    [junit]
    [junit] Testcase: createConnectionsAndJob(org.apache.manifoldcf.authorities.authorities.activedirectory.tests.NavigationHSQLDBUI):  Caused an ERROR
    [junit] java.net.ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:12324
    [junit] Build info: version: '3.13.0', revision: '2f0d292', time: '2018-06-25T15:24:21.231Z'
    [junit] System info: host: 'IRINDU', ip: '10.0.75.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_172'
    [junit] Driver info: driver.version: RemoteWebDriver
    [junit] org.openqa.selenium.WebDriverException: java.net.ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:12324
    [junit] Build info: version: '3.13.0', revision: '2f0d292', time: '2018-06-25T15:24:21.231Z'
    [junit] System info: host: 'IRINDU', ip: '10.0.75.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_172'
    [junit] Driver info: driver.version: RemoteWebDriver
    [junit]     at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:92)
    [junit]     at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
    [junit]     at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:605)
    [junit]     at org.openqa.selenium.remote.RemoteWebDriver.close(RemoteWebDriver.java:438)
    [junit]     at org.apache.manifoldcf.core.tests.SeleniumTester.teardown(SeleniumTester.java:769)
    [junit]     at org.apache.manifoldcf.crawler.tests.ConnectorBaseUIHSQLDB.teardownHTMLTester(ConnectorBaseUIHSQLDB.java:61)
    [junit] Caused by: java.net.ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:12324
    [junit]     at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:242)
    [junit]     at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:160)
    [junit]     at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257)
    [junit]     at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135)
    [junit]     at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114)
    [junit]     at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
    [junit]     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
    [junit]     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
    [junit]     at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
    [junit]     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
    [junit]     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
    [junit]     at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
    [junit]     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
    [junit]     at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126)
    [junit]     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
    [junit]     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
    [junit]     at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
    [junit]     at okhttp3.RealCall.execute(RealCall.java:77)
    [junit]     at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:105)
    [junit]     at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:155)
    [junit]     at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
    [junit] Caused by: java.net.ConnectException: Connection refused: connect
    [junit]     at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
    [junit]     at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
    [junit]     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    [junit]     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    [junit]     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    [junit]     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    [junit]     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    [junit]     at java.net.Socket.connect(Socket.java:589)
    [junit]     at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129)
    [junit]     at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:240)
    [junit]
    [junit]

BUILD FAILED
D:\gitBlunder\manifoldcf\build.xml:498: The following error occurred while executing this line:
D:\gitBlunder\manifoldcf\build.xml:436: The following error occurred while executing this line:
D:\gitBlunder\manifoldcf\dist\connector-build.xml:1195: Test org.apache.manifoldcf.authorities.authorities.activedirectory.tests.NavigationHSQLDBUI failed

Total time: 1 minute 20 seconds


On 24 July 2018 at 04:26, Karl Wright <daddywri@gmail.com> wrote:
That seems to have fixed it for me.

Karl


On Mon, Jul 23, 2018 at 4:54 PM Kishore Kumar <kishorejangid@live.com>
wrote:

> Hi,
>
>
>
> I did few trial and error on Windows and it appears that the Navigation
> Menu animation on Windows takes more than a second. I directed the
> SeleniumTester.navigateTo() to wait more than a second by updating
> Thread.sleep(1000); to Thread.sleep(2000);. Once built, now UI test works
> on Windows. I did this few times to confirm that the issues is with the
> animation delay.
>
>
>
> If anyone can confirm the same on their machine then we can push this to
> trunk. Change navigateTo() Thread.sleep to 2 secs.
>
>
>
> If it fails for you on the first run, please try couple of times.
>
>
>
> I have attached the ant logs from my machines.
>
>
>
> @Piergiorgio Lucidi <piergiorgio@apache.org>, I have so far not tested
> ManifoldCF with Remote Selenium steup.
>
>
>
> Thanks,
>
> Kishore Kumar
>
>
>
> -----Original Message-----
>
> From: Karl Wright <daddywri@gmail.com>
>
> Sent: 23 July 2018 07:41
>
> To: dev <dev@manifoldcf.apache.org>
>
> Subject: Re: Executing UI Tests
>
>
>
> Are you running on Windows, or Ubuntu?  I don't have an ubuntu setup so
> I'm trusting Kishore Kumar's claim that it succeeds there.
>
>
>
> The fact that you get a link error indicates that something is wrong in
> the build itself.  I don't get a link error and you shouldn't either.  You
> might want to make sure that your dist folder has only one version of each
> selenium jar.
>
>
>
> Karl
>
>
>
>
>
> On Mon, Jul 23, 2018 at 9:47 AM Piergiorgio Lucidi <piergiorgio@apache.org
> >
>
> wrote:
>
>
>
> > Hi Karl,
>
> >
>
> > I have tried but it returns the same exception... !!!!
>
> >
>
> > PJ
>
> >
>
> > Il giorno lun 23 lug 2018 alle ore 11:58 Karl Wright
>
> > <daddywri@gmail.com> ha scritto:
>
> >
>
> > > Hi Piergiorgio,
>
> > >
>
> > > I updated trunk to include the latest Selenium stuff so you will
>
> > > need to
>
> > do
>
> > > the following to get beyond your current problems:
>
> > >
>
> > > (1) ant clean-core-deps
>
> > > (2) ant make-core-deps
>
> > > (3) ant clean
>
> > >
>
> > > Then you can run ant-uitest with the right jars.
>
> > >
>
> > > Thanks!!
>
> > >
>
> > > Karl
>
> > >
>
> > >
>
> > > On Mon, Jul 23, 2018 at 4:20 AM Piergiorgio Lucidi <
>
> > piergiorgio@apache.org
>
> > > >
>
> > > wrote:
>
> > >
>
> > > > I think that it is not clear how to run UI Tests, I think that we
>
> > should
>
> > > > have a simple cookbook to describe how to setup locally the
>
> > > > execution
>
> > of
>
> > > UI
>
> > > > tests.
>
> > > > I'm trying to use the latest fixes included by Kishore but
>
> > > > probably I'm missing something but I don't know what.
>
> > > >
>
> > > > I have started the Selenium server and I set the environment
>
> > > > property
>
> > for
>
> > > > the Chrome Driver but it returns the following exception:
>
> > > >
>
> > > >     [junit] Testcase:
>
> > > > >
>
> > > >
>
> > >
>
> >
> createConnectionsAndJob(org.apache.manifoldcf.authorities.authorities.activedirectory.tests.NavigationHSQLDBUI):
>
> > > > Caused
>
> > > > > an ERROR
>
> > > > >     [junit]
>
> > > > >
>
> > > >
>
> > >
>
> > com.google.common.util.concurrent.SimpleTimeLimiter.create(Ljava/util/
>
> > concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleT
>
> > imeLimiter;
>
> > > > >     [junit] java.lang.NoSuchMethodError:
>
> > > > >
>
> > > >
>
> > >
>
> > com.google.common.util.concurrent.SimpleTimeLimiter.create(Ljava/util/
>
> > concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleT
>
> > imeLimiter;
>
> > > > >     [junit] at
>
> > > > > org.openqa.selenium.net.UrlChecker.<init>(UrlChecker.java:62)
>
> > > > >     [junit] at
>
> > > > >
>
> > > >
>
> > >
>
> > org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(Dr
>
> > iverService.java:188)
>
> > > > >     [junit] at
>
> > > > >
>
> > > >
>
> > >
>
> > org.openqa.selenium.remote.service.DriverService.start(DriverService.j
>
> > ava:179)
>
> > > > >     [junit] at
>
> > > > >
>
> > > >
>
> > >
>
> > org.openqa.selenium.remote.service.DriverCommandExecutor.execute(Drive
>
> > rCommandExecutor.java:79)
>
> > > > >     [junit] at
>
> > > > >
>
> > > >
>
> > >
>
> > org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.jav
>
> > a:548)
>
> > > > >     [junit] at
>
> > > > >
>
> > > >
>
> > >
>
> > org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDrive
>
> > r.java:212)
>
> > > > >     [junit] at
>
> > > > >
>
> > > >
>
> > >
>
> > org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java
>
> > :130)
>
> > > > >     [junit] at
>
> > > > >
> org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:181)
>
> > > > >     [junit] at
>
> > > > >
> org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:168)
>
> > > > >     [junit] at
>
> > > > >
> org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:157)
>
> > > > >     [junit] at
>
> > > > >
>
> > > >
>
> > >
>
> > org.apache.manifoldcf.core.tests.SeleniumTester.start(SeleniumTester.j
>
> > ava:86)
>
> > > > >     [junit] at
>
> > > > >
>
> > > >
>
> > >
>
> > org.apache.manifoldcf.authorities.authorities.activedirectory.tests.Na
>
> > vigationHSQLDBUI.createConnectionsAndJob(NavigationHSQLDBUI.java:40)
>
> > > > >     [junit]
>
> > > > >     [junit]
>
> > > > > BUILD FAILED
>
> > > > >
>
> > > >
>
> > >
>
> >
> /Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/trunk/build.xml:498:
>
> > > > > The following error occurred while executing this line:
>
> > > > >
>
> > > >
>
> > >
>
> >
> /Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/trunk/build.xml:436:
>
> > > > > The following error occurred while executing this line:
>
> > > > >
>
> > > >
>
> > >
>
> >
> /Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/trunk/dist/connector-build.xml:1195:
>
> > > > > Test
>
> > > > >
>
> > > >
>
> > >
>
> > org.apache.manifoldcf.authorities.authorities.activedirectory.tests.Na
>
> > vigationHSQLDBUI
>
> > > > > failed
>
> > > > > Total time: 18 seconds
>
> > > >
>
> > > >
>
> > > > Do you have some ideas?
>
> > > >
>
> > > > Thank you all.
>
> > > >
>
> > > > Cheers,
>
> > > > PJ
>
> > > >
>
> > > > Il giorno mer 11 lug 2018 alle ore 20:51 Karl Wright <
>
> > daddywri@gmail.com
>
> > > >
>
> > > > ha scritto:
>
> > > >
>
> > > > > Upgrading to latest version of selenium is complete but didn't
> help.
>
> > > > >
>
> > > > > Karl
>
> > > > >
>
> > > > >
>
> > > > > On Wed, Jul 11, 2018 at 12:28 PM Irindu Nugawela <
>
> > nbiindeera@gmail.com
>
> > > >
>
> > > > > wrote:
>
> > > > >
>
> > > > > > Hi Karl,
>
> > > > > >
>
> > > > > > Thank you for the update, I'll hold until we find a fix for
>
> > > > > > this
>
> > > issue
>
> > > > > >
>
> > > > > > > On Jul 11, 2018, at 9:09 PM, Karl Wright
>
> > > > > > > <daddywri@gmail.com>
>
> > > wrote:
>
> > > > > > >
>
> > > > > > > Just updating the selenium distribution is not enough.
>
> > > > > > > There are
>
> > > > some
>
> > > > > > > downstream dependencies that have changed too.  This is
>
> > > > > > > going to
>
> > > > take a
>
> > > > > > > while.
>
> > > > > > >
>
> > > > > > > Karl
>
> > > > > > >
>
> > > > > > >
>
> > > > > > >> On Wed, Jul 11, 2018 at 11:21 AM Karl Wright <
>
> > daddywri@gmail.com>
>
> > > > > > wrote:
>
> > > > > > >>
>
> > > > > > >> This stackoverflow article recommends an update of the
>
> > > > > > >> chrome
>
> > > > driver:
>
> > > > > > >>
>
> > > > > > >>
>
> > > > > > >>
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> > https://stackoverflow.com/questions/22402389/getting-exeception-while-
>
> > using-chrome-browser-in-selenium-project
>
> > > > > > >>
>
> > > > > > >> Karl
>
> > > > > > >>
>
> > > > > > >>
>
> > > > > > >>> On Wed, Jul 11, 2018 at 11:18 AM Karl Wright <
>
> > daddywri@gmail.com
>
> > > >
>
> > > > > > wrote:
>
> > > > > > >>>
>
> > > > > > >>> I am getting the same thing here.
>
> > > > > > >>> It looks likes Chrome updates have broken some Selenium
>
> > behavior.
>
> > > > I
>
> > > > > > have
>
> > > > > > >>> no time to look at this in any detail for the next several
>
> > weeks,
>
> > > > > > however.
>
> > > > > > >>>
>
> > > > > > >>> Karl
>
> > > > > > >>>
>
> > > > > > >>>
>
> > > > > > >>> On Wed, Jul 11, 2018 at 10:30 AM Irindu Nugawela <
>
> > > > > nbiindeera@gmail.com
>
> > > > > > >
>
> > > > > > >>> wrote:
>
> > > > > > >>>
>
> > > > > > >>>> Hi Karl,
>
> > > > > > >>>> I have set the environment variable  *SL_CHROME_DRIVER*
>
> > > > > > >>>>
>
> > > > > > >>>> this is the error message in plain text
>
> > > > > > >>>>
>
> > > > > > >>>> Behaviour=}]
>
> > > > > > >>>>    [junit] Session ID: 3ad1b9e6f76c135667ad37cbbe571974
>
> > > > > > >>>>    [junit]     at
>
> > > > > > >>>>
>
> > java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>
> > > > > > >>>>    [junit]     at
>
> > > > > > >>>>
>
> > > > > > >>>>
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> > org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.j
>
> > ava:216)
>
> > > > > > >>>>    [junit]     at
>
> > > > > > >>>>
>
> > > > > > >>>>
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> > org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHan
>
> > dler.java:168)
>
> > > > > > >>>>    [junit]     at
>
> > > > > > >>>>
>
> > > > > > >>>>
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> > org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.jav
>
> > a:638)
>
> > > > > > >>>>    [junit]     at
>
> > > > > > >>>>
>
> > > > > >
>
> > > >
>
> > org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:32
>
> > 5)
>
> > > > > > >>>>    [junit]     at
>
> > > > > > >>>>
>
> > > > > > >>>>
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> > org.apache.manifoldcf.core.tests.SeleniumTester.start(SeleniumTester.j
>
> > ava:111)
>
> > > > > > >>>>    [junit]     at
>
> > > > > > >>>>
>
> > > > > > >>>>
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> > org.apache.manifoldcf.authorities.authorities.activedirectory.tests.Na
>
> > vigationHSQLDBUI.createConnectionsAndJob(NavigationHSQLDBUI.java:40)
>
> > > > > > >>>>    [junit]
>
> > > > > > >>>>    [junit]
>
> > > > > > >>>>
>
> > > > > > >>>> BUILD FAILED
>
> > > > > > >>>>
>
> > > > > >
>
> > > D:\RC0\apache-manifoldcf-2.10-src\apache-manifoldcf-2.10\build.xml:498:
>
> > > > > > >>>> The
>
> > > > > > >>>> following error occurred while executing this line:
>
> > > > > > >>>>
>
> > > > > >
>
> > > D:\RC0\apache-manifoldcf-2.10-src\apache-manifoldcf-2.10\build.xml:436:
>
> > > > > > >>>> The
>
> > > > > > >>>> following error occurred while executing this line:
>
> > > > > > >>>>
>
> > > > > > >>>>
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> >
> D:\RC0\apache-manifoldcf-2.10-src\apache-manifoldcf-2.10\dist\connector-build.xml:1192:
>
> > > > > > >>>> Test
>
> > > > > > >>>>
>
> > > > > > >>>>
>
> > > > > >
>
> > > > >
>
> > > >
>
> > >
>
> > org.apache.manifoldcf.authorities.authorities.activedirectory.tests.Na
>
> > vigationHSQLDBUI
>
> > > > > > >>>> failed
>
> > > > > > >>>>
>
> > > > > > >>>>> On 11 July 2018 at 19:55, Karl Wright
>
> > > > > > >>>>> <daddywri@gmail.com>
>
> > > > wrote:
>
> > > > > > >>>>>
>
> > > > > > >>>>> I am not seeing the graphic.
>
> > > > > > >>>>> You also need to set the proper environment variables to
>
> > point
>
> > > at
>
> > > > > > your
>
> > > > > > >>>>> selenium installation.
>
> > > > > > >>>>>
>
> > > > > > >>>>> Karl
>
> > > > > > >>>>>
>
> > > > > > >>>>>
>
> > > > > > >>>>> On Wed, Jul 11, 2018 at 10:24 AM Irindu Nugawela <
>
> > > > > > nbiindeera@gmail.com
>
> > > > > > >>>>>
>
> > > > > > >>>>> wrote:
>
> > > > > > >>>>>
>
> > > > > > >>>>>> Hi Karl,
>
> > > > > > >>>>>>
>
> > > > > > >>>>>> Thank you for the tip. I installed selenium but still
>
> > > > > > >>>>>> the UI
>
> > > > test
>
> > > > > > >>>> fails.
>
> > > > > > >>>>>> Here is the error
>
> > > > > > >>>>>>
>
> > > > > > >>>>>>
>
> > > > > > >>>>>>
>
> > > > > > >>>>>>
>
> > > > > > >>>>>>> On 11 July 2018 at 15:42, Karl Wright
>
> > > > > > >>>>>>> <daddywri@gmail.com>
>
> > > > > wrote:
>
> > > > > > >>>>>>>
>
> > > > > > >>>>>>> Have you installed Selenium?
>
> > > > > > >>>>>>>
>
> > > > > > >>>>>>> Karl
>
> > > > > > >>>>>>>
>
> > > > > > >>>>>>>
>
> > > > > > >>>>>>> On Wed, Jul 11, 2018 at 3:40 AM Irindu Nugawela <
>
> > > > > > >>>> nbiindeera@gmail.com>
>
> > > > > > >>>>>>> wrote:
>
> > > > > > >>>>>>>
>
> > > > > > >>>>>>>> Hi All,
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>>> I am trying to execute UI tests of CMIS and
>
> > > > > > >>>>>>>> ElasticSearch
>
> > > > > > >>>> connectors
>
> > > > > > >>>>> but
>
> > > > > > >>>>>>>> their respective build files do not have a target to
>
> > > > > > >>>>>>>> run
>
> > UI
>
> > > > > tests
>
> > > > > > >>>>>>> instead
>
> > > > > > >>>>>>>> in the parent build.xml which is in the project root
>
> > > > > > >>>>>>>> I
>
> > found
>
> > > > the
>
> > > > > > >>>>> target
>
> > > > > > >>>>>>>> "uitest" which is supposed to run all the UI tests
>
> > > > > > >>>>>>>> but
>
> > > > executing
>
> > > > > > >>>> "*ant
>
> > > > > > >>>>>>>> uitest*" fails with the following exception
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>>>   [junit] Testcase:
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>>
> createConnectionsAndJob(org.apache.manifoldcf.authorities.
>
> > > > > > >>>>> authorities.activedirectory.tests.NavigationHSQLDBUI):
>
> > > > > > >>>>>>>> Caused an ERROR
>
> > > > > > >>>>>>>>    [junit] The driver executable does not exist:
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>> D:\gitBlunder\manifoldcf\connectors\activedirectory\
>
> > > > > > >>>>> test-HSQLDB-output\${env.SL_CHROME_DRIVER}
>
> > > > > > >>>>>>>>    [junit] java.lang.IllegalStateException: The
>
> > > > > > >>>>>>>> driver
>
> > > > > executable
>
> > > > > > >>>>> does
>
> > > > > > >>>>>>>> not exist:
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>> D:\gitBlunder\manifoldcf\connectors\activedirectory\
>
> > > > > > >>>>> test-HSQLDB-output\${env.SL_CHROME_DRIVER}
>
> > > > > > >>>>>>>>    [junit]     at
>
> > > > > > >>>>>>>> com.google.common.base.Preconditions.checkState(
>
> > > > > > >>>>> Preconditions.java:518)
>
> > > > > > >>>>>>>>    [junit]     at
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>> org.openqa.selenium.remote.service.DriverService.
>
> > > > > > >>>>> checkExecutable(DriverService.java:123)
>
> > > > > > >>>>>>>>    [junit]     at
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>> org.openqa.selenium.remote.service.DriverService.
>
> > > > > > >>>>> findExecutable(DriverService.java:118)
>
> > > > > > >>>>>>>>    [junit]     at
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>> org.openqa.selenium.chrome.ChromeDriverService.access$
>
> > > > > > >>>>> 000(ChromeDriverService.java:32)
>
> > > > > > >>>>>>>>    [junit]     at
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>> org.openqa.selenium.chrome.ChromeDriverService$Builder.
>
> > > > > > >>>>> findDefaultExecutable(ChromeDriverService.java:137)
>
> > > > > > >>>>>>>>    [junit]     at
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>> org.openqa.selenium.remote.service.DriverService$Builder.
>
> > > > > > >>>>> build(DriverService.java:302)
>
> > > > > > >>>>>>>>    [junit]     at
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>>
>
> > > > > >
>
> > org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(
>
> > > > > > >>>>> ChromeDriverService.java:88)
>
> > > > > > >>>>>>>>    [junit]     at
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>
>
> > > > > org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java
>
> > > > > :156)
>
> > > > > > >>>>>>>>    [junit]     at
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>> org.apache.manifoldcf.core.tests.SeleniumTester.start(
>
> > > > > > >>>>> SeleniumTester.java:86)
>
> > > > > > >>>>>>>>    [junit]     at
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>>
>
> > > > > >
>
> > org.apache.manifoldcf.authorities.authorities.activedirectory.tests.
>
> > > > > > >>>>>
>
> > > > > >
>
> > > NavigationHSQLDBUI.createConnectionsAndJob(NavigationHSQLDBUI.java:4
>
> > > 0)
>
> > > > > > >>>>>>>>    [junit]
>
> > > > > > >>>>>>>>    [junit]
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>>> BUILD FAILED
>
> > > > > > >>>>>>>> D:\gitBlunder\manifoldcf\build.xml:498: The following
>
> > error
>
> > > > > > >>>> occurred
>
> > > > > > >>>>>>> while
>
> > > > > > >>>>>>>> executing this line:
>
> > > > > > >>>>>>>> D:\gitBlunder\manifoldcf\build.xml:436: The following
>
> > error
>
> > > > > > >>>> occurred
>
> > > > > > >>>>>>> while
>
> > > > > > >>>>>>>> executing this line:
>
> > > > > > >>>>>>>> D:\gitBlunder\manifoldcf\dist\connector-build.xml:1192:
>
> > Test
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>>
>
> > > > > >
>
> > org.apache.manifoldcf.authorities.authorities.activedirectory.tests.
>
> > > > > > >>>>> NavigationHSQLDBUI
>
> > > > > > >>>>>>>> failed
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>>> ​
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>>> (I have also attached the screenshot)
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>>> Please help me run the UI tests and also let me know
>
> > > > > > >>>>>>>> if
>
> > > there
>
> > > > is
>
> > > > > > >>>> a way
>
> > > > > > >>>>>>> to
>
> > > > > > >>>>>>>> invoke the UI tests for a particular Connector
>
> > > > > > >>>>>>>> instead of
>
> > > > > running
>
> > > > > > >>>> all
>
> > > > > > >>>>>>> the
>
> > > > > > >>>>>>>> UI tests.
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>>> --
>
> > > > > > >>>>>>>> Thanks and Regards,
>
> > > > > > >>>>>>>> Irindu Nugawela,
>
> > > > > > >>>>>>>> Computer Engineering <http://www.ce.pdn.ac.lk/>
>
> > > > Undergraduate,
>
> > > > > > >>>>>>>> Faculty of Engineering University of Peradeniya
>
> > > > > > >>>>>>>>
>
> > > > > > >>>>>>>
>
> > > > > > >>>>>>
>
> > > > > > >>>>>>
>
> > > > > > >>>>>>
>
> > > > > > >>>>>> --
>
> > > > > > >>>>>> Thanks and Regards,
>
> > > > > > >>>>>> Irindu Nugawela,
>
> > > > > > >>>>>> Computer Engineering <http://www.ce.pdn.ac.lk/>
>
> > > Undergraduate,
>
> > > > > > >>>>>> Faculty of Engineering University of Peradeniya
>
> > > > > > >>>>>>
>
> > > > > > >>>>>
>
> > > > > > >>>>
>
> > > > > > >>>>
>
> > > > > > >>>>
>
> > > > > > >>>> --
>
> > > > > > >>>> Thanks and Regards,
>
> > > > > > >>>> Irindu Nugawela,
>
> > > > > > >>>> Computer Engineering <http://www.ce.pdn.ac.lk/>
>
> > Undergraduate,
>
> > > > > > >>>> Faculty of Engineering University of Peradeniya
>
> > > > > > >>>>
>
> > > > > > >>>
>
> > > > > >
>
> > > > >
>
> > > > > --
>
> > > > > Piergiorgio
>
> > > > >
>
> > > >
>
> > >
>
> > > --
>
> > > Piergiorgio
>
> > >
>
> >
>



--
Thanks and Regards,
Irindu Nugawela, 
Computer Engineering Undergraduate,
Faculty of Engineering University of Peradeniya