New answers tagged page-objects
I would definitely recommend broadening the types of testing you are doing, as well as seeking out more complex functionality to test. Have you ever done performance testing? Reliability testing? Security testing? Database testing? What about designing scripts that actually crawl the functionality of your website without you telling them what to do, and ...
"Test automation" means more than just automating user interfaces that run in a web browser. Someone with good programming skills should be able to find many other ways to use software to test software. Here are are couple of examples: Write API-level integration tests. If developers test, they probably focus on unit tests. There is a middle ground ...
I don't know if this is what you are looking for but as is case for a lot of people we don't have a choice of what to automate. So what I personally try to do is also figure out what can I do that would prove useful for the software but still be exciting. One of the things is performance testing. I haven't seen too much that automated tests also maintain a ...
Check out some interesting challenges on https://challengers.flood.io/
A CMS can be challenging. You have content moving, user permissions, generated IDs, etc. Try out WordPress. I snapped out of the automation boredom once I hired someone to take it over and I took on security testing and process improvement. Start with OWASP for security.
I think Single Page Applications type which last time gains more and more popularity can be hard to automate, because this type of pages are dynamically loaded. Every action on page can load new div from server without reloading whole page, just for example simple paste table to div. Webdriver cache webelements on page load, and dynamical loading of html ...
We have had a very hard time automating the Google Maps API. Test case: Surf to Google maps: https://www.google.nl/maps Find an area with known location Click the known location (without the use of mouse-coordinates, should also work when zooming, etc...) Verify the location box with details opens Retrieve the phone number This is very hard, because ...
This syntax might help u check out. @FindBy(locator="locator value") private WebElement elementName; Don't forget in POM we follow encapsulation concept
@FindBy(css="a[dta-qid='inventory']") I've used that kind of locators in my last project and it's worked like charm. I hope this is that You want :)
I can't give you an exact answer without seeing the full element, but the official documentation on selectors ought to help you out.
Top 50 recent answers are included