replay challenge
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Win a copy of JBoss AS 5 Development this week in the JBoss forum
or Spring Dynamic Modules in Action in the Spring forum!
Reply Bookmark it! Watch this topic JavaRanch » Forums » Engineering » Testing
 
RSS feed
 
New topic
Author

conditional(gotoif) compare text strings

armine mohammad
Greenhorn

Joined: Dec 22, 2008
Messages: 2

I would really like to do is to compare text strings, for instance:

StoreText � document.getElementById('idname') � string
gotoIf � ${string} = 'string number two' � lableA
gotoIf � ${string} = 'another random string' � lableB
lable � lableA
lable � lableB

I hope that makes sense?

Any help at all at this stage would be great! I am using selenium ide 1.02
thank you
Peter Lawrey
Ranch Hand

Joined: Dec 21, 2008
Messages: 62

Have you tried posting that to the selenium forum?
http://letmegooglethatforyou.com/?q=selenuim+ide+forum
Jeanne Boyarsky
internet detective
Sheriff

Joined: May 26, 2003
Messages: 16918

Armine,
Are you using flow control? Conditional logic looks like it would fit better with Selenium RC though as text isn't a great format for representing logic.

In any case, I think you would have more luck with the Selenium forum too. Most people here are developers and would jump to Selenium RC for such a problem.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]

"The set strikes me as something like the set of potatoes, radishes, farming, and lunch. " - a colleague's way of comparing both overlapping and disparate groups. made me laugh and thought of the ranch
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Engineering » Testing
 
RSS feed
 
New topic
aspose coverage