Selenium IDE Click button error while clicking on Play Recording

0 votes

I'm using Selenium IDE and whenever I'm trying to play the recording, the value in the username and password field were getting removed upon clicking the login button.

Below is my HTML:

<tr>

  <td>open</td>

  <td>/en/login</td>

  <td></td>

</tr>

<tr>

  <td>type</td>

  <td>id=formHorizontalEmail</td>

  <td>uname</td>

</tr>

<tr>

  <td>type</td>

  <td>id=formHorizontalPassword</td>

  <td>passwd</td>

</tr>

<tr>

  <td>clickAndWait</td>

  <td>css=button.btn.btn-axa</td>

  <td></td>

</tr>
Jun 27, 2018 in Selenium by Martin
• 4,220 points
47 views

1 answer to this question.

0 votes

Your code looks OK and would work fine on a "normal" website. Here, probably some Javascript on the website does not get triggered correctly and it erases the values. => Try using sendkeys instead of type.

answered Jun 27, 2018 by Samarpit
• 5,130 points

Related Questions In Selenium

0 votes
1 answer

Python & Selenium: How to find and click on YouTube's Like button

Use the CSS Selector button to like: #watch8-sentiment-actions ...READ MORE

answered Mar 26, 2018 in Selenium by nsv999
• 5,050 points
495 views
0 votes
1 answer
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,050 points
248 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
621 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
240 views
0 votes
1 answer

Click on a button within a pop-up window with python selenium

It's not an Alert but a Modal Dialog Box. You ...READ MORE

answered Jun 20, 2018 in Selenium by Samarpit
• 5,130 points
5,279 views
0 votes
1 answer

Angular JS: Selenium cannot click a button by python code on mac

You can try clicking it with javascript ...READ MORE

answered Aug 9, 2018 in Selenium by Samarpit
• 5,130 points
601 views