Questions tagged [coding]

Computer programming, the process of designing, writing, testing, debugging / troubleshooting, and maintaining the source code of computer programs.

Filter by
Sorted by
Tagged with
1 vote
2 answers
98 views

Should a newbie in Test Automation learn the core underlying framework?

I am a complete beginner in Test Automation. I am trying to learn Selenium Webdriver with Java, TestNG, Cucumber(BDD) framework, Build tools like Maven. Now, the problem is that there is an existing ...
jeff86's user avatar
  • 21
-1 votes
1 answer
323 views

How can we use WebElement.FindElement() or findElements() method on a single WebElement object, even if its a method of WebDriver interface? [closed]

I am a newbie in Selenium and Java. Now, is this code correct. How can I call findElement() or findElements() method on a single WebElement? I want to store text of td[1] node. Why are we doing ...
Karl67's user avatar
  • 3
4 votes
4 answers
396 views

How to teach test automation engineers to use a debugger

Context: It seems a lot of test engineers do not know how to use a debugger. This is based on the fact that we get a lot of null-pointer exception questions that can easily be solved if you know how ...
Niels van Reijmersdal's user avatar
1 vote
2 answers
90 views

No Encapsulation in my project

It's been a long time that I am writing Test Automation scripts in Java, but I never had encapsulation in my code (code hiding). Creating Interface, Abstract Classes or Java beans were never part of ...
paul's user avatar
  • 697
0 votes
2 answers
44 views

Usage of "+" symbol in operations with characters [closed]

What is the use of plus "+" symbol in code? Eg: (char) (myRandom.nextInt(26) **+** 'A')
Kavin Naath Pandarinathan's user avatar