I am very new to programming and am trying to work my way through creating automated testing in Selenium IDE.
I have figured out how to save an attribute using the "storeAttribute" command..
Command: storeAttribute
Target: link=${projectlabel}@onclick
Value: objectID
It then stores the following variable:
"parent.loadPod('time_pod','time/index.cfm?action=viewPTE&objectID=2010860')"
I need to extract only the objectID part (those 7 numbers) and store them under a new variable name.
Can anyone walk me through how that would be done? Or if it is even possible?
Thanks,
Orli
Orli.Yatziv@gmail.com
Command: storeEval
Target: storedVars['longname'].match(/objectID=(\d+)/)[1]
Value: objectID
Note: you can post an answer to your own question if you've already figured it out.