News for hackers. Stuff that matters.
Re:Consistent Selenium Testing in Python by noir_lord on Saturday September 02, 2017 @12:38PM (#15156889)
I wrote a shim layer over selenium using pythons test infrastructure so I can do

    self.clickPseudoButton('foo')
    
    self.setInputById('fizz', 'buzz')
It also maps common operations against the structure of my legacy app, its way better than using the lower level API.

Tests look like pseudo code and are way more grokkable.

Re:Consistent Selenium Testing in Python by cdubzzz on Saturday September 02, 2017 @03:16PM (#15157714)
Your code available anywhere? (:
Re:Consistent Selenium Testing in Python by noir_lord on Saturday September 02, 2017 @04:35PM (#15158067)
It's nothing that impressive but I'll post it on Monday when I'm at work, it's really just a bunch of helper methods to reduce boilerplatr.
Re:Consistent Selenium Testing in Python by cdubzzz on Saturday September 02, 2017 @04:56PM (#15158165)
Yeah, I would just be curious to see how you organized. I kept meaning to step back and work on abstracting things but always got side tracked with other stuff. It gets real long and messy without that.