5. Node.js
• Blocks execution
• Runs immediately and
return result
• Good for working with data
in memory
Synchronous
• Adds new event in the loop
• Runs after all synchronous
operations are executed.
• Good for heavy operations
like database or filesystem
access
Asynchronous
show an example of synchronous and asynchronous (setTimeout)
show examples of Promise/A+
show the diff about WebDriverJS promises
promises chaining (all, then)
error throwing
show examples of code with control and without
flow.execute
custom promise
User Interactions. Not implementation!
page object is actually a panel object. Doesn’t mean one PO per real page
why? Encapsulation!
page objects has nothing to do with test libraries. If you use expectations inside your page objects you broke Single responsibility. And add redundant complexity
Simon team lead of Selenium team
show examples of behaviors: Accordion, Configurable
show examples of custom form fields implementations
Collection Item
create abstraction for all standardized behaviors
update
tooltipFor
show examples of behaviors: Accordion, Configurable
show examples of custom form fields implementations
Collection Item
create abstraction for all standardized behaviors