Paul Grandjean
unread,Oct 24, 2008, 11:18:32 AM10/24/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to selenium-users...@googlegroups.com
Hi all,
Can someone tell me what are the differences between using +store, storeEval+ and +storeText+? While trying to use these to resolve a difficult scripting problem, I found myself taking educated guesses. But they appeared to all do the same thing.
For example,
{font:style=font-family: courier new,courier;}store javascript{storedVars.index} getAnchor{font}
vs.
{font:style=font-family: courier new,courier;}storeEval javascript{storedVars.index} getAnchor{font}
Don't both of these evaluate the javascript?
Also, what is the different with xpath-locators. For example.
{font:style=font-family: courier new,courier;}store //div[@id='resultBox']/table/tbody/tr[1]/td/table/tbody/tr/td/a getAnchor1{font}
vs.
{font:style=font-family: courier new,courier;}storeEval //div[@id='resultBox']/table/tbody/tr[1]/td/table/tbody/tr/td/a getAnchor1{font}
thanks in advance to anyone who can make this clear to me.