Menu

move item from list to another

kitty
2005-02-10
2013-04-26
  • kitty

    kitty - 2005-02-10

    Hi,

    I am using HTTPUNIT to test a web application, and many of our html page contain move item from one list to another with left/right button. When I ran the test, I got no exceptions from HTTPUNIT or java, the test is passed, but I found that the item doesn't move at all. Does anybody knows what cause this?

    I use setParameter to choose the item from a list, is that right? If not, how to do this?

    Limitation of HTTPUNIT?

    Kitty

     
    • Max Wilson

      Max Wilson - 2005-02-10

      Could be a limitation of HTTPUnit. HTTPUnit has some problems when it comes to things like innerHTML assignments (not supported). So I expect it depends upon _how_ the HTML page moves items around. As for how to "select" the item, I'm not quite sure but setParameter sounds like a good bet... although I think setParameter does not affect the DOM tree, and depending upon how you move things that might be important.

      If you don't get a response from someone more knowledgeable, email me the HTML that isn't working and I will dig up some more info.

      Max Wilson
      mdw45@email.byu.edu

       

Log in to post a comment.

Auth0 Logo