Skip to main content
Question Protected by Bharat Mane
improved question
Source Link
Bharat Mane
  • 6.8k
  • 11
  • 41
  • 69

selenium Selenium: How to identify the button WebElement

OnIn my web page I have theI'm having following two buttons:

<button onclick="addToSelected('newApplicationForm');">Add Strategy</button>

<button onclick="submitAddNewApplication('newApplicationForm');">Submit</button>

How do I identify them using methods of the By class?

selenium: How to identify the button WebElement

On my web page I have the following two buttons:

<button onclick="addToSelected('newApplicationForm');">Add Strategy</button>

<button onclick="submitAddNewApplication('newApplicationForm');">Submit</button>

How do I identify them using methods of the By class?

Selenium: How to identify the button WebElement

In my web page I'm having following two buttons:

<button onclick="addToSelected('newApplicationForm');">Add Strategy</button>

<button onclick="submitAddNewApplication('newApplicationForm');">Submit</button>

How do I identify them using methods of the By class?

Tweeted twitter.com/#!/StackSQA/status/173506288389591040
clarify
Source Link
user246
user246

On my web page I have the following two buttons, how to identify the webelement which one is which?:

<button onclick="addToSelected('newApplicationForm');">Add Strategy</button>

<button onclick="submitAddNewApplication('newApplicationForm');">Submit</button>

By.How do I identify them using methods of the By class?

On my web page I have two buttons, how to identify the webelement which one is which?

<button onclick="addToSelected('newApplicationForm');">Add Strategy</button>

<button onclick="submitAddNewApplication('newApplicationForm');">Submit</button>

By.?

On my web page I have the following two buttons:

<button onclick="addToSelected('newApplicationForm');">Add Strategy</button>

<button onclick="submitAddNewApplication('newApplicationForm');">Submit</button>

How do I identify them using methods of the By class?

Source Link
futurenext110
  • 291
  • 1
  • 2
  • 3

selenium: How to identify the button WebElement

On my web page I have two buttons, how to identify the webelement which one is which?

<button onclick="addToSelected('newApplicationForm');">Add Strategy</button>

<button onclick="submitAddNewApplication('newApplicationForm');">Submit</button>

By.?