Selenium Test Runner and variables problem
Posted
by quilovnic
on Stack Overflow
See other posts from Stack Overflow
or by quilovnic
Published on 2010-05-21T19:52:11Z
Indexed on
2010/06/07
13:32 UTC
Read the original article
Hit count: 294
Hi, In my selenium test suite (html), I define a first test case to initialize variable called in the next test case.
Sample :
In first script :
store|//div[@id="myfield"]|myvar
In my second script :
type|${myvar}|myvalue
But when I start test runner (from maven), it returns an error telling that ${myvar} is not found The value contained in the stored var is not used.
Any suggestion ?
Thans a lot
© Stack Overflow or respective owner