manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1403) Update WebCrawler Connector HTML String to Velocity Template
Date Tue, 02 May 2017 12:08:04 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15992779#comment-15992779
] 

Karl Wright commented on CONNECTORS-1403:
-----------------------------------------

[~kishorekumar] The NavigationUI test fails.  Run this using:

{code}
cd connectors/webcrawler
ant run-UI-HSQLDB
{code}

When I do this I get the following (pardon the word wrap):

{code}
    [junit] Testcase: createConnectionsAndJob(org.apache.manifoldcf.crawler.conn
ectors.webcrawler.tests.NavigationHSQLDBUI):    Caused an ERROR
    [junit] unknown error: Element <a class="link" href="listconnections.jsp" al
t="List repository connections">...</a> is not clickable at point (117, 264). Ot
her element would receive the click: <div class="overlay" style="display: block;
">...</div>
    [junit]   (Session info: chrome=58.0.3029.81)
    [junit]   (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136
733114c6b3704b),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server di
d not provide any stacktrace information)
    [junit] Command duration or timeout: 88 milliseconds
    [junit] Build info: version: '3.3.1', revision: '5234b325d5', time: '2017-03
-10 09:10:29 +0000'
    [junit] System info: host: 'B3NGYY1', ip: '10.222.203.213', os.name: 'Window
s 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_05'
    [junit] Driver info: org.openqa.selenium.chrome.ChromeDriver
    [junit] Capabilities [{applicationCacheEnabled=false, rotatable=false, mobil
eEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVer
sion=2.28.455520 (cc17746adff54984afff480136733114c6b3704b), userDataDir=C:\User
s\kawright\AppData\Local\Temp\scoped_dir5660_27689}, takesHeapSnapshot=true, pag
eLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=
false, version=58.0.3029.81, platform=XP, browserConnectionEnabled=false, native
Events=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled
=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSele
ctorsEnabled=true, unexpectedAlertBehaviour=}]
    [junit] Session ID: fa14a81aa3e5c84c449a3f23d72575d9
    [junit] org.openqa.selenium.WebDriverException: unknown error: Element <a cl
ass="link" href="listconnections.jsp" alt="List repository connections">...</a>
is not clickable at point (117, 264). Other element would receive the click: <di
v class="overlay" style="display: block;">...</div>
    [junit]   (Session info: chrome=58.0.3029.81)
    [junit]   (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136
733114c6b3704b),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server di
d not provide any stacktrace information)
    [junit] Command duration or timeout: 88 milliseconds
    [junit] Build info: version: '3.3.1', revision: '5234b325d5', time: '2017-03
-10 09:10:29 +0000'
    [junit] System info: host: 'B3NGYY1', ip: '10.222.203.213', os.name: 'Window
s 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_05'
    [junit] Driver info: org.openqa.selenium.chrome.ChromeDriver
    [junit] Capabilities [{applicationCacheEnabled=false, rotatable=false, mobil
eEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVer
sion=2.28.455520 (cc17746adff54984afff480136733114c6b3704b), userDataDir=C:\User
s\kawright\AppData\Local\Temp\scoped_dir5660_27689}, takesHeapSnapshot=true, pag
eLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=
false, version=58.0.3029.81, platform=XP, browserConnectionEnabled=false, native
Events=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled
=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSele
ctorsEnabled=true, unexpectedAlertBehaviour=}]
    [junit] Session ID: fa14a81aa3e5c84c449a3f23d72575d9
    [junit]     at java.lang.reflect.Constructor.newInstance(Constructor.java:40
8)
    [junit]     at org.openqa.selenium.remote.ErrorHandler.createThrowable(Error
Handler.java:216)
    [junit]     at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed
(ErrorHandler.java:168)
    [junit]     at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebD
river.java:638)
    [junit]     at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWeb
Element.java:274)
    [junit]     at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebEl
ement.java:84)
    [junit]     at org.apache.manifoldcf.core.tests.SeleniumTester.navigateTo(Se
leniumTester.java:195)
    [junit]     at org.apache.manifoldcf.crawler.connectors.webcrawler.tests.Nav
igationHSQLDBUI.createConnectionsAndJob(NavigationHSQLDBUI.java:71)
    [junit]
    [junit]

BUILD FAILED
{code}


> Update WebCrawler Connector HTML String to Velocity Template
> ------------------------------------------------------------
>
>                 Key: CONNECTORS-1403
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1403
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Web connector
>    Affects Versions: ManifoldCF 2.7
>            Reporter: Kishore Kumar
>            Assignee: Kishore Kumar
>            Priority: Minor
>             Fix For: ManifoldCF 2.8
>
>
> Hi,
> I am currently in the process of converting the stringified HTML to Velocity template
for WebCrawler connector. This is the first attempt in updating all the connectors to use
velocity template.
> I don't know when we are planning for the code freeze but will try to complete by next
week.
> Thanks,
> Kishore Kumar



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message