Just store everything in strings and then compare by == or a regexp, whichever 
makes more sense, then print the console output afterward?




________________________________
 From: watir webdriver <[email protected]>
To: [email protected] 
Sent: Thursday, August 15, 2013 8:37 AM
Subject: [wtr-general] [Watir-webdriver] : How to compare to results
 


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.

-- 
-- 
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.

Reply via email to