|
If you're not tied to any particular tools I recommend F# canopy - f#rictionless web testing
Quote: canopy is a web testing framework with one goal in mind, make UI testing simple:
Solid stabilization layer built on top of Selenium. Death to "brittle, quirky, UI tests".
Quick to learn. Even if you've never done UI Automation, and don't know F#.
Clean, concise API.
.net Standard 2.0.
MIT License.
Provides an abstraction layer on top of Selenium. You don't have to know Selenium. You barely have to know F#. Mostly if you know the ID or class selectors, or even if you don't, then mostly you just write x.click or x << "enter some text".
I've also found that if you ask a question at their github site it gets answered very quickly.
I'm using it at work at the moment, not for testing but for occasional ad hoc automation of parts of our application.
Kevin
|
|
|
|
|
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
Kevin McFarlane wrote: Mostly if you know the ID or class selectors
Which is why I loathe and despise ExtJS - it randomizes the ID tags each time the page runs, unless you explicitly specify the ID for the element, which of course any sane developer would do except for when they start programming int ExtJS's metamodel syntax, and then good practices seem to be forgotten.
Even so, if ExtJS would at least provide consistent naming/numbering of ID's, that would work, but no...
|
|
|
|
|
Guess which JS framework I am writing tests on?
ExtJS with some nice little customisations we have made - the randomly generated ids mean I have to either add a test class tag or a test attribute to an object I cannot easily find in the DOM.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
Marc Clifton wrote: Which is why I loathe and despise ExtJS - it randomizes the ID tags each time the page runs
Canopy is designed such that if you don't specify the ID but, say, the name it ties to find something clickable from the context. It doesn't always work, at which point you have to experiment with a class or xpath say.
Here I had an example where I couldn't work out an ID for the control called "care" so I just passed that and it did the right thing anyway.
url "https://localhost/dev/"
"#UsernameTextBox" << "some name"
"#PasswordTextBox" << "some password"
click "#LoginButton"
click "#ModuleShow"
click "care"
Most canopy code is not much more involved than the above. Slick piece of software.
Kevin
|
|
|
|
|
Thanks for the link - I will look into this.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
New research raises questions about hiring algorithms and the tech companies who develop and use them: How unbiased is the automated screening process? How are the algorithms built? And by whom, toward what end, and with what data? if (recruiter-boxes.checked()==true{ hire(person.right()); }
|
|
|
|
|
Getting hired by a computer?
Getting fired by a computer would be even more embarrassing.
|
|
|
|
|
Windows 10X internally codenamed ‘Santorini’ is based on the long-rumoured Windows Core OS, a new platform that promises stripped-down and simplified modular version of Windows. So, just like Windows... but with new bugs!
And if we're lucky, a new icon
|
|
|
|
|
The majority of developers view security as integral to the coding and development process, but lack the support of a security expert, Whitehat Security found. Just launch it - the users will test it for security
And if they don't find the problems, *they were never there*
|
|
|
|
|
Security "experts" usually don't know dick about development. In my experience.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
The first real internet connection happened 50 years ago—but those that sent the first messages on what would become the modern internet aren’t so pleased with their creation today. They just wanted a place to play Spacewar! multiplayer
|
|
|
|
|
What, like human nature isn't predictable? Are these guys new to the whole "humans are generally scum and will act like scum when given an opportunity" thing?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I "love" their; "Only WE are smart enough to fix this."
|
|
|
|
|
The cluster of Microsoft buildings 16 through 18 were the home of the Microsoft Office team for many, many years. When they moved to Building 37, all of the machines in the old build lab were powered down and moved to the new build lab in Building 37. Never underestimate the power of hardware over software
Or in this case, hardware over hardware
|
|
|
|
|
Microsoft Corp. co-founder Bill Gates spoke out against protectionism in technological research around topics like artificial intelligence, arguing that open systems will inevitably win out over closed ones. Because if there's one guy who knows about keeping stuff open, it's His Billness
|
|
|
|
|
Romoser believes that various Mars rovers have already captured images of both living and fossilized insects on the Red Planet. Everyone knows there are only Spiders from Mars
|
|
|
|
|
This guy will never be taken seriously in the scientific community ever again.
He may as well look for other work, such as sweeping standing water off sidewalks, or running the machine that puts the ridges on the sides of checkers.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Cook said that privacy is a factor that must be present throughout the development process when creating new products — it's not something you can "bolt-on" after-the-fact. As a counter argument: Safari
|
|
|
|
|
Ah! So then just leave it off?
|
|
|
|
|
A while ago, I was studying the output of IntelliJ IDEA’s static analyzer for Java code and came across an interesting case. Sometimes the tool wins
|
|
|
|
|
So far, physicists have identified four fundamental forces of nature: gravity, electromagnetism, the strong nuclear force, and the weak nuclear force.
But now, researchers have found new evidence for a fifth force of nature — and it could help us finally unravel the mystery of dark matter. Midichlorians?
Political opinions? (repulsive force)
Duct tape?
The force that causes there always to be a headwind when you're riding your bike?
|
|
|
|
|
It could be the pseudo higgs boson for a nearby superconducting strong interaction vacuum state I conjectured in the late 90th (see here[^], in could even has implications on dark energy problem, in case any one in interested to know
|
|
|
|
|
I didn't realize that my mother-in-law spoke with any physicists.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Researchers from Trustwave’s SpiderLabs discovered the spam emails, which come with an 'Install Latest Microsoft Windows Update now!' or 'Critical Microsoft Windows Update!’ subject line. Microsoft, of course, doesn’t send out Windows updates through email. It's bad enough we have to worry about the legitimate Windows updates
|
|
|
|