⟩ For automating a web based application using JSP
For automating a web based application using JSP, there is a search textbox, a "Search" button, a listbox, a "OK" button, and a "Cancel" button. The "OK" button remains disabled by default. I need to enter a value in search textbox, click on search button, select the resultant value in the listbox and then the "OK" button is enabled.
Problem: When all this is automated, Silktest finds the OK button still disabled after selecting the resultant value, though the button is enabled.
Put one statement before clicking on save button
BrowserPage.flushcache()