Hi,
 
I have 2 questions.
 
(1) I would like to send the results of my test suite to a .txt file and also want the results to be seen on the console. How do I do that?
I know that I can use the following command in the command prompt-
function1.rb > results.txt
 
But I want something more like,the program itself directing its each output to both the console and the results.txt file.
I tried f.syswrite but that seems inefficient as I have to use f.syswrite at all places I use puts statement. Is there a better way to do this?
 
(2) I would like to click on a webpage -not on a button,or image, just on the page. Is there any command that clicks on the page?
$IE0.form(:name,"").click doesn't help
 
Can anyone please help?
 
Thanks,
Padhma
 
 
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to