aspose file tools
The moose likes Testing and the fly likes conditional(gotoif)   compare text strings Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » Testing
Reply Bookmark "conditional(gotoif)   compare text strings" Watch "conditional(gotoif)   compare text strings" New topic
Author

conditional(gotoif) compare text strings

armine mohammad
Greenhorn

Joined: Dec 22, 2008
Posts: 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
Posts: 62
Have you tried posting that to the selenium forum?
http://letmegooglethatforyou.com/?q=selenuim+ide+forum
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 23181

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]
Certs: SCEA Part 1, Part 2 & 3 & Core Spring 3
 
 
subject: conditional(gotoif) compare text strings
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com