Frage

I am trying to automate a web-app the uses iFrames using Selenium v2.5.

Clicks on the base page record fine, but any clicks/actions to elements on the iFrames on that base page are ignored.

How can I get the IDE to follow me there?

War es hilfreich?

Lösung

You can use selectFrame to select different frames and select them by name or relatively travel them.

For instance something like:

Command        Target                    Value
-------        ------                    -----
selectFrame    name=iframe1
type           id=myInput                foobar
selectFrame    relative=up
click          css=input[type="submit"]
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top