--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
Hi,First of all you can use Convert To Lowercase(Uppercase) keyword toconvert sting and then compare them.Secondly you may use Should Be True keyword with conditionf.e Should Be True ${str1.upper()} == ${str2.upper()}Thanks,Dmitriy
On Aug 30, 2016, at 9:40 PM, sharmar...@gmail.com wrote:
Hi All,I have a scenario where i have to compare two string regardless of its Case(lowercase/uppercase). i tried using Should Be Equal keyword from BuiltIn library but that seems to be not working. Do we have any keyword or argument to any keyword that works similar to equalsIgnoreCase function from String. i have looked around Built in and String Libraries but didn't get anything yet.any help would be much appriciated.~Ravindra--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
Ugh
If you convert the strings first to lower case[1] and then compare the strings you should get the result what you are looking for.
-Tatu
Send from my mobile
[1] http://robotframework.org/robotframework/latest/libraries/String.html#Convert%20To%20Lowercase
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.