Issue Details (XML | Word | Printable)

Key: SEL-460
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Sybren Stüvel
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Selenium

Case insensitive matching

Created: 22/Jun/07 08:29 AM   Updated: 05/Feb/08 04:37 PM   Resolved: 24/Oct/07 06:50 PM
Component/s: None
Affects Version/s: 0.8.2
Fix Version/s: 1.0


 Description  « Hide

It would be very useful to be able to match a string in a case insensitive way. In our usage of Selenium, using a regular expression to match something "[bB][aA][rR]" is not an option, so a more elegant solution would be very nice. I'm thinking about the "regexpi:" prefix that was suggested on the Selenium forum (http://forums.openqa.org/thread.jspa?messageID=7842).

I'd like to be able to select a city from this list:

<select name="city">
<option>Amsterdam</option>
<option>Haarlem</option>
</select>

With such a command:

select | name=city | regexpi:AMSTERDAM



Sort Order: Ascending order - Click to sort in descending order
Dan Fabulich added a comment - 24/Oct/07 06:50 PM

core revision 1901