by Nadav Sinai,
nadav@misterbit.com
github.com/nadavsinai
March 2015
nadav@misterbit.com
github.com/nadavsinai
Nadav Sinai
Suite,Spec,Test,
Capacity,Runner,Framework
Pros:
Cons:
Demo using NodeWebkit-testing
iamdenny/karma-nodewebkit-launcher
karma init config
files - tests only (require from tests what you need)
browsers: ['NodeWebkitWithCustomPath'],
customLaunchers: {
'NodeWebkitWithCustomPath': {
base: 'NodeWebkit',
// Remember to include 'node_modules' if you have some modules there
paths: ['js', 'node_modules']
}
},
Selenium Server
Node running
Tests using WebDriverJS Code
Browser running w/
special extension such as chromeDriver
Node running
Protractor tests w/ WebDriverJS code
ChromeDriver Accepting Selenium API and automating Browser
NW.js
Actions are mainly done using WebdriverJS API mainly the following globals:
Using testing general constructs :