Test suite results

result: failed
totalTime: 46
numTestTotal: 5
numTestPasses: 3
numTestFailures: 2
numCommandPasses: 11
numCommandFailures: 1
numCommandErrors: 1
Selenium Version: 2.39
Selenium Revision: .0
Test Suite
Create Users
Create Workspace
Import PDF
Create Certificate
Sign PDF
 
signature/createUsers.html
createUsers
setTimeout 120000
open /nuxeo/logout
open /nuxeo/login.jsp
type username Administrator
type password Administrator
clickAndWait Submit
verifyTextPresent Default domain
clickAndWait Link=Admin
clickAndWait Link=Users & Groups
watchA4jRequests
click usersListingView:createUserActionsForm:createUserButton
waitForA4jRequest 10000
watchA4jRequests
click //input[@id='createUserView:createUser:immediate_creation']
waitForA4jRequest 10000
type createUserView:createUser:nxl_user:nxw_username jdoe
type createUserView:createUser:nxl_user:nxw_firstname John
type createUserView:createUser:nxl_user:nxw_lastname Doe
type createUserView:createUser:nxl_user:nxw_company Nuxeo
type createUserView:createUser:nxl_user:nxw_email jdoe@localhost
type createUserView:createUser:nxl_user:nxw_firstPassword password
type createUserView:createUser:nxl_user:nxw_secondPassword password
select2Type css=div[id$='nxw_groups_select2'] members
waitForSelect2 10000
clickAt css=.select2-result-selectable
watchA4jRequests
click createUserView:createUser:button_save_and_create
waitForA4jRequest 10000
click link=Log out
 
signature/createWorkspace.html
createUsers
setTimeout 120000
open /nuxeo/logout
open /nuxeo/login.jsp
type username Administrator
type password Administrator
clickAndWait Submit
verifyTextPresent Default domain
clickAndWait Link=Workspaces
clickAndWait link=Create a new workspace
type //input[@id='document_create:nxl_heading:nxw_title'] TestWorkspace
clickAndWait document_create:nxw_documentCreateButtons_CREATE_WORKSPACE
clickAndWait link=Manage
select2Type css=div[id$='nxw_selection_select2'] Members
waitForSelect2 10000
clickAt css=.select2-result-selectable
watchA4jRequests
select //*[@id="add_rights_form:rights_permission_select"] label=Write
clickAndWait id=add_rights_form:rights_add_button
clickAndWait //input[@value='Save local rights']
open /nuxeo/logout
 
signature/importPDF.html
importPDF
setTimeout 120000
open /nuxeo/logout
open /nuxeo/login.jsp
type username jdoe
type password password
clickAndWait Submit
verifyTextPresent Default domain
verifyTextPresent jdoe
clickAndWait Link=Workspaces
clickAndWait link=TestWorkspace
click link=New
waitForElementPresent link=File
clickAndWait link=File
retrieveTestFolderPath
storeExpression javascript{storedVars.testfolderpath +'samples/original.pdf';} filepath
echo ${filepath} /opt/jenkins/workspace/addons_FT_nuxeo-signature-master/ftest/selenium/data/samples/original.pdf
type id=document_create:nxl_heading:nxw_title original
click id=document_create:nxl_file:nxw_file:nxw_file_file:choiceupload
type //input[@type='file'] ${filepath}
clickAndWait //input[@value='Create']
verifyTextPresent original.pdf
open /nuxeo/logout
 
signature/createCertificate.html
signPDF
setTimeout 120000
open /nuxeo/logout
open /nuxeo/login.jsp
type username jdoe
type password password
clickAndWait Submit
verifyTextPresent Default domain
verifyTextPresent jdoe
clickAndWait Link=Workspaces
clickAndWait link=TestWorkspace
clickAndWait link=original
clickAndWait link=Signature
verifyTextPresent Go to certificate management
clickAndWait Link=Go to certificate management
type certificateForm:firstPassword password
type certificateForm:secondPassword password
clickAndWait //input[@value='Generate certificate']
verifyTextPresent Your certificate password should be different from your login password
type certificateForm:firstPassword Certificate
type certificateForm:secondPassword Certificate
clickAndWait //input[@value='Generate certificate']
verifyTextPresent CN=John Doe, false
open /nuxeo/logout
 
signature/signPDF.html
signPDF
setTimeout 120000
open /nuxeo/logout
open /nuxeo/login.jsp
type username jdoe
type password password
clickAndWait Submit
verifyTextPresent Default domain
verifyTextPresent jdoe
clickAndWait Link=Workspaces
clickAndWait link=TestWorkspace
clickAndWait link=original
clickAndWait link=Signature
type sign_form:signingReason Element sign_form:signingReason not found
type sign_form:password Certificate
clickAndWait css=input:[id$='SignDoc']
verifyTextPresent Signed by
open /nuxeo/logout
 
info: Starting test /selenium-server/tests/signature/createUsers.html
info: Executing: |setTimeout | 120000 |  |
info: Executing: |open | /nuxeo/logout |  |
info: Executing: |open | /nuxeo/login.jsp |  |
info: Executing: |type | username | Administrator |
info: Executing: |type | password | Administrator |
info: Executing: |clickAndWait | Submit |  |
info: Executing: |verifyTextPresent | Default domain |  |
info: Executing: |clickAndWait | Link=Admin |  |
info: Executing: |clickAndWait | Link=Users & Groups |  |
info: Executing: |watchA4jRequests |  |  |
info: Executing: |click | usersListingView:createUserActionsForm:createUserButton |  |
info: JSF2 ajax request begin
info: Executing: |waitForA4jRequest | 10000 |  |
info: JSF2 ajax request complete
info: JSF2 ajax request success
info: JSF2 ajax request end detected
info: Executing: |watchA4jRequests |  |  |
info: JSF Ajax listener already set on page
info: Executing: |click | //input[@id='createUserView:createUser:immediate_creation'] |  |
info: JSF2 ajax request begin
info: Executing: |waitForA4jRequest | 10000 |  |
info: JSF2 ajax request complete
info: JSF2 ajax request success
info: JSF2 ajax request end detected
info: Executing: |type | createUserView:createUser:nxl_user:nxw_username | jdoe |
info: Executing: |type | createUserView:createUser:nxl_user:nxw_firstname | John |
info: Executing: |type | createUserView:createUser:nxl_user:nxw_lastname | Doe |
info: Executing: |type | createUserView:createUser:nxl_user:nxw_company | Nuxeo |
info: Executing: |type | createUserView:createUser:nxl_user:nxw_email | jdoe@localhost |
info: Executing: |type | createUserView:createUser:nxl_user:nxw_firstPassword | password |
info: Executing: |type | createUserView:createUser:nxl_user:nxw_secondPassword | password |
info: Executing: |select2Type | css=div[id$='nxw_groups_select2'] | members |
info: Executing: |waitForSelect2 | 10000 |  |
info: doWaitForSelect found
info: Executing: |clickAt | css=.select2-result-selectable |  |
info: Executing: |watchA4jRequests |  |  |
info: JSF Ajax listener already set on page
info: Executing: |click | createUserView:createUser:button_save_and_create |  |
info: JSF2 ajax request begin
info: Executing: |waitForA4jRequest | 10000 |  |
info: JSF2 ajax request complete
info: JSF2 ajax request success
info: JSF2 ajax request end detected
info: Executing: |click | link=Log out |  |
info: Starting test /selenium-server/tests/signature/createWorkspace.html
info: Executing: |setTimeout | 120000 |  |
info: Executing: |open | /nuxeo/logout |  |
info: Executing: |open | /nuxeo/login.jsp |  |
info: Executing: |type | username | Administrator |
info: Executing: |type | password | Administrator |
info: Executing: |clickAndWait | Submit |  |
info: Executing: |verifyTextPresent | Default domain |  |
info: Executing: |clickAndWait | Link=Workspaces |  |
info: Executing: |clickAndWait | link=Create a new workspace |  |
info: Executing: |type | //input[@id='document_create:nxl_heading:nxw_title'] | TestWorkspace |
info: Executing: |clickAndWait | document_create:nxw_documentCreateButtons_CREATE_WORKSPACE |  |
info: Executing: |clickAndWait | link=Manage |  |
info: Executing: |select2Type | css=div[id$='nxw_selection_select2'] | Members |
info: Executing: |waitForSelect2 | 10000 |  |
info: doWaitForSelect found
info: Executing: |clickAt | css=.select2-result-selectable |  |
info: Executing: |watchA4jRequests |  |  |
info: Executing: |select | //*[@id="add_rights_form:rights_permission_select"] | label=Write |
info: Executing: |clickAndWait | id=add_rights_form:rights_add_button |  |
info: Executing: |clickAndWait | //input[@value='Save local rights'] |  |
info: Executing: |open | /nuxeo/logout |  |
info: Starting test /selenium-server/tests/signature/importPDF.html
info: Executing: |setTimeout | 120000 |  |
info: Executing: |open | /nuxeo/logout |  |
info: Executing: |open | /nuxeo/login.jsp |  |
info: Executing: |type | username | jdoe |
info: Executing: |type | password | password |
info: Executing: |clickAndWait | Submit |  |
info: Executing: |verifyTextPresent | Default domain |  |
info: Executing: |verifyTextPresent | jdoe |  |
info: Executing: |clickAndWait | Link=Workspaces |  |
info: Executing: |clickAndWait | link=TestWorkspace |  |
info: Executing: |click | link=New |  |
info: Executing: |waitForElementPresent | link=File |  |
info: Executing: |clickAndWait | link=File |  |
info: Executing: |retrieveTestFolderPath |  |  |
info: Executing: |storeExpression | javascript{storedVars.testfolderpath +'samples/original.pdf';} | filepath |
info: Executing: |echo | ${filepath} |  |
info: Executing: |type | id=document_create:nxl_heading:nxw_title | original |
info: Executing: |click | id=document_create:nxl_file:nxw_file:nxw_file_file:choiceupload |  |
info: Executing: |type | //input[@type='file'] | ${filepath} |
info: Executing: |clickAndWait | //input[@value='Create'] |  |
info: Executing: |verifyTextPresent | original.pdf |  |
info: Executing: |open | /nuxeo/logout |  |
info: Starting test /selenium-server/tests/signature/createCertificate.html
info: Executing: |setTimeout | 120000 |  |
info: Executing: |open | /nuxeo/logout |  |
info: Executing: |open | /nuxeo/login.jsp |  |
info: Executing: |type | username | jdoe |
info: Executing: |type | password | password |
info: Executing: |clickAndWait | Submit |  |
info: Executing: |verifyTextPresent | Default domain |  |
info: Executing: |verifyTextPresent | jdoe |  |
info: Executing: |clickAndWait | Link=Workspaces |  |
info: Executing: |clickAndWait | link=TestWorkspace |  |
info: Executing: |clickAndWait | link=original |  |
info: Executing: |clickAndWait | link=Signature |  |
info: Executing: |verifyTextPresent | Go to certificate management |  |
info: Executing: |clickAndWait | Link=Go to certificate management |  |
info: Executing: |type | certificateForm:firstPassword | password |
info: Executing: |type | certificateForm:secondPassword | password |
info: Executing: |clickAndWait | //input[@value='Generate certificate'] |  |
info: Executing: |verifyTextPresent | Your certificate password should be different from your login password |  |
info: Executing: |type | certificateForm:firstPassword | Certificate |
info: Executing: |type | certificateForm:secondPassword | Certificate |
info: Executing: |clickAndWait | //input[@value='Generate certificate'] |  |
info: Executing: |verifyTextPresent | CN=John Doe, |  |
warn: currentTest.recordFailure: false
info: Executing: |open | /nuxeo/logout |  |
info: Starting test /selenium-server/tests/signature/signPDF.html
info: Executing: |setTimeout | 120000 |  |
info: Executing: |open | /nuxeo/logout |  |
info: Executing: |open | /nuxeo/login.jsp |  |
info: Executing: |type | username | jdoe |
info: Executing: |type | password | password |
info: Executing: |clickAndWait | Submit |  |
info: Executing: |verifyTextPresent | Default domain |  |
info: Executing: |verifyTextPresent | jdoe |  |
info: Executing: |clickAndWait | Link=Workspaces |  |
info: Executing: |clickAndWait | link=TestWorkspace |  |
info: Executing: |clickAndWait | link=original |  |
info: Executing: |clickAndWait | link=Signature |  |
info: Executing: |type | sign_form:signingReason | test reason |
info: TakeScreenShot in /opt/jenkins/workspace/addons_FT_nuxeo-signature-master/ftest/selenium/target/screenshot1414574075130.png
error: Element sign_form:signingReason not found
warn: currentTest.recordFailure: Element sign_form:signingReason not found