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.
error logs
html source of the frame.
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.