htmlunit
using selenium htmlunit with load tests
Has anyone used HTML unit with TestNG invocation count and thread pool size? I drive all my Selenium2 tests with TestNG and have been playing开发者_JS百科 around with running HtmlUnit tests in multipl[详细]
2023-04-13 09:32 分类:问答How to get element by Xpath in HtmlUnit
I am trying to search Amazon. I want to choose category, for ex.Books, type some search criteria, for ex. java and to click Go button. My problem is clicking the Go button. I\'ve got exception:[详细]
2023-04-10 03:42 分类:问答How to prevent exception in parallel threads from killing the application?
I\'m running a HtmlUnit web automation app. It usually works correctly, however, sometimes it goes overboard with StackOverflowError. That usually happens somew开发者_如何学Chere within its JS thread,[详细]
2023-04-08 15:23 分类:问答HtmlUnit, how to post form without clicking submit button?
I know that in HtmlUnit i can fireEvent submit on form and it will be posted.But what If I disabled javascript and would like to post a form using some built in function?[详细]
2023-04-08 15:05 分类:问答HtmlUnit is throwing Out Of Memory and maybe leaking memory
I use Selenium with HtmlUnitDriver with javascript enabled and I get Out Of Memory errors (I use Java). I just browse the开发者_运维百科 same page. I am only using a single GET command. Which is the s[详细]
2023-04-08 14:35 分类:问答JavaScript Processing In Selenium And HtmlUnit
I\'m planning to use HtmlUnit in my Java application to test drive some website but I heard it may not be able to handle complex JavaScript, what is your experience with the level of complex J开发者_S[详细]
2023-04-08 12:41 分类:问答How to get right page?
I use htmlunit library for scrapping Yellowpages.com site. I want to type search term into and click on Find button. But after that I get 2 pages: http://www.yellowpages.com/ny/sport?g=NY&q=Sport[详细]
2023-04-08 05:55 分类:问答Selenium HtmlUnit freeze randomly loading a web page
im having a problem with HtmlUnitDriver using Selenium. Im using the Selenium 2.5 version. The test is so simply and usualy it works correctly but sometimes the driver just stop and wait endlessly f[详细]
2023-04-03 07:42 分类:问答problem writing HTMLUnit script for YUI form submit
I want to write a simple HTMLUnit test script for Jenkins (former Hudson). INFO: Jenkins uses the YUI Javascript library. The YUI library replaces the form submit with a custom button. The script just[详细]
2023-04-02 09:14 分类:问答HtmlUnit Android problem with WebClient
HtmlUnit is amazing, in Java at least I have had no problems with it. Unfortunately when switching the code over to the Android platform, it is giving me errors when I try to create a web-client.[详细]
2023-04-02 04:33 分类:问答