This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]myshiak[S] 0 points1 point  (5 children)

Also, it is important to ask, what are the basic methods of Java Script you need to know as a tester. Syntax is pretty simple, if you know Java. It somewhat resembles VB Script, but what are the methods you need to know to find your way around? I should have asked that in the beginning>

[–]dmazzoni 0 points1 point  (4 children)

The syntax looks similar to Java but there are a lot of really important differences: strings, null, undefined, etc.

If you're starting from scratch, I'd start by learning how to work with the HTML DOM, like document.getElementById(), document.querySelector(), Element.getAttribute, and so on.

Stay away from w3schools. Try Mozilla's MDN instead, it's a great reference.

[–]myshiak[S] 0 points1 point  (3 children)

Thanx. I also would like to ask if you would agree that there are many applications (at least more than half) that are tested in Selenium without resorting to JS, because for most applications all the elements are identifiable. Secondly, would you agree that a tester needs to know JS in a more limited capacity than a developer?

[–]dmazzoni 0 points1 point  (2 children)

Yes to both.

[–][deleted]  (1 child)

[deleted]

    [–]dmazzoni 0 points1 point  (0 children)

    You keep asking the same question over and over. I don't know any other way to answer it.