Dynamic button names


#1

I am using a web page witch does a search for a value. When it pulls up the result form the buttons on that form are apparently given new names each time the form is opened. I need to click on a button on that form to continue what I am doing. How can this be done if the value required by the click command is always changing? Is it possible to insert a visual search and click operation? If so how?


#2

It is :slight_smile: => Please see the #efp screencast here

or these forum posts:

And then there is the “classic” solution with Xpath: How get Kantu to work with dynamic ID’s


#3

As for me the best way is to bind it by id or class.
Example:
name=searchForm.submit
id=edit-submit
class=edit-submit
or by xpath //*[@id=“edit-submit”]