I am using selenium and testng in eclipse. I have a struts application. I fill out the form using selenium ide, export it to Java. The collected data by selenium does not get passed to the form to be processed by my ProcessRequest action. Here are part of the code I am running:
Thanks for your reply. Actually, the order I have is correct. First I fill out the form and then let the action process it.
Joined: Jan 30, 2006
This is so weird. Selenium ide is not consistent. I reran the code, exported the result and it does not have the ProcessRequest line and it works fine without it. In one attempt, it did put it before entering the data in the fields.
Joined: Mar 03, 2008
I personalty would not rely on record-playback feature