Test store and variations
|
open |
./tests/html/test_verifications.html |
|
storeValue |
theHidden |
storedHiddenValue |
storeText |
theSpan |
storedSpanText |
storeAttribute |
theText@class |
storedTextClass |
store |
PLAIN TEXT |
textVariable |
store |
javascript{'Pi ~= ' + (Math.round(Math.PI * 100) / 100)} |
javascript{'javascript' + 'Variable'} |
open |
./tests/html/test_store_value.html |
|
type |
theText |
${storedHiddenValue} |
verifyValue |
theText |
the hidden value |
type |
theText |
${storedSpanText} |
verifyValue |
theText |
this is the span |
type |
theText |
${storedTextClass} |
verifyValue |
theText |
foo |
type |
theText |
${textVariable} |
verifyValue |
theText |
PLAIN TEXT |
type |
theText |
${javascriptVariable} |
verifyValue |
theText |
Pi ~= 3.14 |
type |
theText |
'${storedHiddenValue}'_'${storedSpanText}' |
verifyValue |
theText |
'the hidden value'_'this is the span' |
open |
./tests/html/test_just_text.html |
|
storeValue |
openPageText |
|
open |
./tests/html/test_store_value.html |
|
verifyValue |
theText |
|
type |
theText |
${openPageText} |
verifyValue |
theText |
This is the entire text of the page. |