Skip to main content

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
0 votes
1 answer

How to iterate over List<WebElement> and click link based on text on any page inside webtable?

On my page, I have 25 Links displayed inside a web table, now i have to traverse all pagination pages, like 1-25, 25-50, 50-75 specific link text can be in any pagination set, it can be on ...
arvind2359's user avatar
1 vote
2 answers

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

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

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

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

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