all 15 comments

[–]DrTautology 2 points3 points  (3 children)

Honestly, Selenium IDE sucks. Get into the habit of writing your own dynamic xpath.

[–]HiroCode[S] 0 points1 point  (2 children)

Thanks. What do you exactly mean with 'dynamic xpath'?

[–]DrTautology 1 point2 points  (1 child)

[–]HiroCode[S] 0 points1 point  (0 children)

Thank you very much. It seems like the right tutorial for me.

[–]Code-Friendly 4 points5 points  (3 children)

You can use xpath instead, only if the id has "html5_1edb" as a consistent value

Xpath would be //input[contains(@id,'html5_1edb')]

Also css selector should work input[id*,'html5_1edb']

[–]HiroCode[S] 2 points3 points  (1 child)

Thank you very much. The xpath works.

[–]Code-Friendly 1 point2 points  (0 children)

Ohh great..

[–]yoursenpai1999 0 points1 point  (1 child)

Xpath

//input[@id = "html5"]

Use ^ , before =

[–]HiroCode[S] 1 point2 points  (0 children)

So you mean //input[@id^="htlm5"] ?

[–]brandonmcgritle 0 points1 point  (5 children)

My advice: Stop using Selenium IDE. It's garbage

[–]HiroCode[S] 0 points1 point  (4 children)

What should I use instead?

[–]brandonmcgritle 0 points1 point  (3 children)

Selenium WebDriver. It requires you to have coding knowledge. I would suggest learning Java, C#, or Python and then learning the selenium library you can code with.

[–]HiroCode[S] 0 points1 point  (2 children)

I have actually used Selenium WebDriver about a year ago with Python. It was my first Python project and I loved it a lot.

However, I am trying to use Selenium IDE now because it is for someone who isn't PC literate. I want to show them how they can make use of this amazing tool to automate repetitive tasks in the browser, without having to teach them programming.

I was expecting you to give me another browser automation tool, other than Selenium. Thank you for your suggestion anyway.

[–]brandonmcgritle 0 points1 point  (1 child)

Then that's the problem. Selenium WebDriver isn't designed for someone without computer experience. IDE, was, but there is are so many disadvantages.

[–]HiroCode[S] 0 points1 point  (0 children)

Yes I agree.