We have some instances in our webcode where an element will be hidden unless they check a checkbox and then the element will appear. However, when IDE checks the check box, the element doesn't appear. When I manually do so, it works fine. Also, when I run something like:
verifyElementNotPresent | //div/form/div/div/div/div/div/div/img | Starting at time
It will always return false, even if its hidden.
This happens on several apps we have coded by different folks. I believe its a selenium ide issue, but not sure how to get around it.
Any help would be greatly appreciated. I'm still learning IDE and then RC next, so sorry if this is a dumb question.
Have you given Molybdenum a whirl? It is a selenium IDE clone.
This will confirm if the issue is actually related to selenium or the IDE.
Molybdenum also creates .xml files instead of .html files for recorded tests. I found converting the steps in the .xml files into selenium RC was simpler than if I had attempted to migrate from selenium IDE to selenium RC.
This issue may be a timing issue. Molybdenum has a pause function that will allow said trigger to load element after the check box is checked. When converting to selenium RC you can duplicate the pause function with a simple delay function (Do a search for my user name and you should find an example of this in java for selenium RC).
Software Testing, Second Edition: "Intelligently weighing the risks and reducing the infinite possibilities to a manageable effective set is where the magic is."