.eql? a = "TS377NWT" b = "KM077BLK"
a.eql? b Em quinta-feira, 15 de agosto de 2013 12h37min42s UTC-3, watir webdriver escreveu: > > Is there any way to compare two sets of strings which I've printed on the > command prompt. > > When I click on a link it opens a child window there I've to read two > header texts and print them on the command prompt. (Ex : > TS377NWT,KM077BLK).I've to repeat the same step one more time to get the > results.On second run I got (Ex : TS399NAV,KM039NPK). > How can I compare these two results which i've printed on the command > prompt. > > Any suggestions ? > > Thanks in-advance. > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
