HsacExamples.SlimTests.BrowserTests.Angular2CalculatorTest


Sample test on Angular application.

Please note: The application used in this test does NOT seem to work with PhantomJs. It does work when executed with Chrome or Firefox.



table template add
enter @{first} as First
enter @{second} as Second
select + for Operator
click Go!
$result= value of Result

script Ng2 Browser Test
open https://greg73.github.io/angular-calculator/

add
first second result?
1 2 3
table template add
enter 1 as First
enter 2 as Second
select + for Operator
click Go!
$result<-[3] value of Result
3 4 7
table template add
enter 3 as First
enter 4 as Second
select + for Operator
click Go!
$result<-[7] value of Result