Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Clicking on a button with HttpUnit

Avatar of ana-redondo-lopez
ana-redondo-lopez asked on
SoftwareJavaEditors IDEs
22 Comments1 Solution479 ViewsLast Modified:
Now I'm trying to click on the button and check the retrieved page is the right one, but I get this message:

Exception in thread "main" junit.framework.AssertionFailedError: expected:<http://cbrint172/DMS_test_area/search.aspx>
but was:<http://cbrint172/DMS_test_area/default.aspx>

It looks like the button hasn't been clicked because the page being retrieved is the page I'm at at the moment.
Any ideas? (java code is attached)

Ana
       package-secondTrial.doc
ASKER CERTIFIED SOLUTION
Avatar of sailingbye
sailingbyeFlag of United Kingdom of Great Britain and Northern Ireland image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 22 Comments.
See Answers