• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

conditional(gotoif) compare text strings

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you tried posting that to the selenium forum?
http://letmegooglethatforyou.com/?q=selenuim+ide+forum
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic