Menu

#240 NoHttpResponseException while js performing.

Latest SVN
closed
None
5
2012-10-21
2005-03-09
Katerina
No

program:
Connected to URL "https://10.101.60.79:4643/vz/cp".

/get first page and a frame/
page = (HtmlPage)login.submit("doLogin");
HtmlPage MainFrame = (HtmlPage)
page.getFrameByName("main").getEnclosedPage();

/Check an element from list, try to click on the choosen
link"
/
MainFrame.getFormByName
(defaultForm").getInputByValue("103").setChecked(true);

ClickableElement StopLink = (ClickableElement)
MainFrame.getDocumentElement
().getHtmlElementsByAttribute
("a","onmouseover","callTip('start_vpss')").get(0);
System.out.println(StopLink);
StopLink.click();

See html source attached.

the error is strange:


com.gargoylesoftware.htmlunit.ScriptException:
Wrapped
org.apache.commons.httpclient.NoHttpResponseExcepti
on:The server 10.101.60.79 failed to respond (Embedded
script#9)


But I can do the same actions by hands and browser
can connect to the server.
I tried to set various versions of browser in my program.
Error was the same.
Full logs list attached.

Discussion

  • Katerina

    Katerina - 2005-03-09

    error logs

     
  • Katerina

    Katerina - 2005-03-09

    html source of the frame.

     
  • Marc Guillemot

    Marc Guillemot - 2005-04-04

    Logged In: YES
    user_id=402164

    Your js triggers the load of a new page and it seems that
    the server didn't answer. In this case it has nothing to do
    with htmlunit.

     

Log in to post a comment.

MongoDB Logo MongoDB