Jackson Ridenour
posted this on October 05, 2010 14:07
When testing a Scenario or Feature you may receive the following error: "Given Element is not compatible with this kind of step". There are two ways that this error can occur:
1) If you are ONLY verifying an element and/or container and NOT interacting with it, this error means that the frame is not properly defined the Page File. Janova is not able to locate the frame in the Application and therefore cannot find the element. One of the other symptoms is that the Error Viewer will display a blank page or the application login screen.
2) When interacting (such as clicking or entering data) and you receive this error, it means that the element is not defined correctly in the page file. For example, if you are trying to enter data into a checkbox, make sure the selected element type in the page file matches the defined element in the application.