Hi, We are trying to prepare selenium test cases on Ofbiz for client demonstration. We are facing some issues with those test cases.
1) For running "successive" test cases I used browser "Refresh" button but I think there might be some better option to handle this. Is there any option exists in Selenium IDE ?? 2) Suppose I have a condition to create the new user each time. As I can put the value of user login say "user1" for the first time but when this test case runs second time it generates error (It hangs up in between). So Is there any option to put a "counter" or Javascript code in the Test cases so I could create the "user2" when this test case runs second time ?? 3) What is the difference between click and clickAndWait ?? I would like to understand why I'm getting different behaviors from click and clickAndWait functions. Here is the scenario: I want to perform the login and then verify some text on the page (what should be pretty straight forward...) My first approach was using the click function + pause function. Something like below: <tr> <td>click</td> <td>submit</td> <td></td> </tr> <tr> <td>pause</td> <td>3000</td> <td></td> </tr> The approach above worked fine and I was able to proceed with my test. However, I was looking the clickAndWait functionality and, per my understanding, this function should have a simlar behavior to my code above.. then I wrote the following: <tr> <td>clickAndWait</td> <td>submit</td> <td></td> </tr> The code above is getting a "Permission Denied" message. I already check the URLs and I'm not launching a different domain (before I click I have http://domain/Login/ and after the submission I have http://domain/App/). I know that so many persons are using Selenium IDE since very long. I am also looking at Selenium Forum for help but early help from Ofbiz community members would be greatly appreciated. -- Thanks & Regards Ashish Vijaywargiya Indore , India
