Note that there are some explanatory texts on larger screens.

plurals
  1. POLiferay Selenium submit button not working but test runs successfully
    primarykey
    data
    text
    <p>I have jsf portlet in liferay I have written a selenium test the test is getting passed but the submit button is not working below code:</p> <p><strong>Selenium code</strong></p> <pre><code> this.driver.get(this.baseUrl); this.login(); this.driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS); this.findElementById("category_items").sendKeys("Aplication Complaint"); System.out.println("----clicked---"); this.findElementById("subject_items").sendKeys("test"); this.findElementById("description").sendKeys("ATFDC.Application.Complaint"); this.findElementById("affected_assets").sendKeys("LDA 13"); this.findElementById("calendar_date_occured").sendKeys("2013/08/04 19:07"); this.findElementById("severity_list").sendKeys("All sites down"); this.findElementById("submit_button").click(); this.waitUntilAjaxRequestCompletes(); System.out.println("submit clicked"); </code></pre> <p><strong>XHTML code snippet:</strong></p> <p> </p> <pre><code> &lt;h:panelGroup id="severity_panel_group" styleClass="atf-form-line" layout="block" rendered="#{createTicketBaseBean.selectMenus.renderSeverityMenu}" style= "#{createTicketBaseBean.selectMenus.showSeverityMenu ? '' : 'display:none'}"&gt; &lt;atf:selectOneInput componentId="severity_list" labelText="#{I18N['key_label_severity']}" tooltipText="#{I18N['key_tooltip_severity']}" value="#{createTicketBaseBean.ticketModel.severity}"&gt; &lt;f:selectItems value="#{createTicketBaseBean.selectMenus.severityItems}" /&gt; &lt;/atf:selectOneInput&gt; &lt;/h:panelGroup&gt; </code></pre> <p></p> <pre><code> &lt;h:panelGroup id="panel_separator" layout="block" styleClass="atf-inline-block atf-w25p atf-vertical-align-top"&gt; &lt;h:outputText value="#{I18N['key_value_mandatory']}" styleClass="atf-text-not-required" /&gt; &lt;/h:panelGroup&gt; &lt;h:panelGroup id="panel_commands" layout="block" styleClass="atf-inline-block atf-w70p"&gt; &lt;p:commandButton value="#{I18N['key_button_submit_ticket']}" title="#{I18N['key_button_submit_ticket']}" actionListener="#{createTicketBaseBean.createTicketData}" action="#{createTicketBaseBean.createTicket}" styleClass="atf-right" process="@form" update="@form" id="submit_button"&gt; &lt;/p:commandButton&gt; &lt;p:commandButton value="#{I18N['key_button_clear']}" title="#{I18N['key_button_clear']}" actionListener="#{createTicketBaseBean.clearProperties}" styleClass="atf-left" global="true" process="@this" update="@form" immediate="true"&gt; &lt;/p:commandButton&gt; &lt;/h:panelGroup&gt; &lt;/h:panelGroup&gt; </code></pre> <p><strong>The output prints submit clicked</strong></p> <pre><code>-----This is the server log I get in between--- </code></pre> <p>Aug 14, 2013 2:56:47 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:47 PM com.gargoylesoftware.htmlunit.javascript.host.html.HTMLDocument getElementById WARNING: getElementById(script1376472407610) did a getElementByName for Internet Explorer Aug 14, 2013 2:56:47 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:48 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:49 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError SEVERE: runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://localhost:8080/atos-theme/js/jquery/jquery-1.7.1.min.js] line=[2] lineSource=[null] lineOffset=[0] Aug 14, 2013 2:56:49 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError /</p> <p>----clicked---</p> <ol> <li>List item</li> </ol>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload