2,643 reputation
1614
bio website dhemery.com
location Sacramento, CA
age 56
visits member for 3 years, 11 months
seen 5 hours ago

I consult, write, and speak about leadership, software development, testing, test automation, and resistance to change.


Mar
2
answered How do you test your unit-tests for false negatives?
Feb
18
answered Retrieve the CSS value using Selenium
Jan
25
answered Random test data: How to do it right?
Jan
21
comment How to tackle the problem of non-static paths/names/ids of DOM elements while automating with Selenium?
I don't know the Selenium GUI, but if it allows you to specify a CSS selector, that's where the expression goes. If div isn't right, use the appropriate element type instead. Or you can use * there to match any element. So: *[id^='ctl43_manager_TabControl'][id$='parameter1']. You don't have to select the version of CSS. Just choose 'css_selector'. If your browser implements CSS3, you can use the "begins with" and "ends with" operators. I think all modern browsers implement CSS3 these days.
Jan
21
answered How to tackle the problem of non-static paths/names/ids of DOM elements while automating with Selenium?
Dec
3
answered What do you need to be a great QA Analyst?
Nov
24
answered Non-Functional requirements specification
Nov
22
answered What are some common pitfalls of Test Driven Development?
Nov
21
answered Is TDD used with all types of testing?
Nov
21
answered What are the disadvantages of test driven development?
Nov
21
comment Where does the “helper” method get placed within a test script?
Thanks for the example, Bruce.
Nov
21
reviewed Approve Where does the “helper” method get placed within a test script?
Nov
21
comment What are the disadvantages of test driven development?
It's a smaller loop than that. You write one test. You write the code to pass that test. You refactor to make the code easy to understand and change. Then you write one more test, then the code to pass both tests, then refactor. One test at a time. You never write a set of predefined tests. en.m.wikipedia.org/wiki/Test-driven_development
Nov
21
comment What are the disadvantages of test driven development?
"The predefined tests" is not how TDD works.
Nov
21
answered Challenges of begining test driven development with legacy codebase
Nov
21
comment Where does the “helper” method get placed within a test script?
The remaining parts of the answer (e.g. how to call a method in another class) are more about Java basics than about test automation. I recommend spending a few hours with a book or tutorial about Java basics. Here is a good one from Oracle: docs.oracle.com/javase/tutorial/java/javaOO/index.html Once you know how to declare classes and methods, and how to call methods in other classes and objects, revisit my answer. I'm sure you will find it more helpful then.
Nov
20
answered How to dissect a large legacy codebase and start using TDD
Nov
18
answered Where does the “helper” method get placed within a test script?
Oct
23
answered Selenium: dealing with intermittent cases of element not found
Oct
1
revised How to run data driven testing using testNG in selenium
added 249 characters in body; added 38 characters in body