# How to export WebPage Label's to Excel

**URL:** <https://www.ruby-forum.com/t/how-to-export-webpage-labels-to-excel/167799>\
**Category:** Ruby\
**Created:** [May 12, 2009, 6:11pm UTC](https://www.ruby-forum.com/t/how-to-export-webpage-labels-to-excel/167799 "2009-05-12T18:11:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rasein](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/46a35a/32.png) [@rasein](https://www.ruby-forum.com/u/rasein)\
**Post date:** [May 12, 2009, 6:11pm UTC](https://www.ruby-forum.com/t/how-to-export-webpage-labels-to-excel/167799/1 "2009-05-12T18:11:28Z")

</div>

Hi All,

i need to get the Label of the TextBox, Radio button, List…and export  
it to Excel;

Eg: my page has 4 textbox, 2 list,2 radio, r checkbox…my job is write  
ruby and grab the label from the website and export it to excel;

please help me out i m new to Ruby and watir

is there any method in ruby or watir

---

<div class="post-metadata">

**Author:** ![rasein](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/46a35a/32.png) [@rasein](https://www.ruby-forum.com/u/rasein)\
**Post date:** [May 12, 2009, 10:25pm UTC](https://www.ruby-forum.com/t/how-to-export-webpage-labels-to-excel/167799/2 "2009-05-12T22:25:28Z")

</div>

use parseExcel

[http://raa.ruby-lang.org/project/parseexcel/](http://raa.ruby-lang.org/project/parseexcel/)

If that doesn’t do the trick, perhaps we need someone to write one?  
Regardless, you can always look at an approach with shell scripts and  
use that as you inspiration

> **[Convert to excel](https://www.unix.com/shell-programming-and-scripting/49969-convert-excel.html)**
>
> Hi to all the tycoons of Shell programming!! I am getting a csv report out of a query and the report is delimited with '|' symbol. I would like to convert this csv report into an xls column wise.. Let | The UNIX and Linux Forums

If importing a CSV is not good enough for your users, you can consider  
using some perl along with ruby ala Spreadsheet/ParseExcel.pm

Radkin

Rase In wrote:

> Hi All,
> 
> i need to get the Label of the TextBox, Radio button, List…and export  
> it to Excel;
> 
> Eg: my page has 4 textbox, 2 list,2 radio, r checkbox…my job is write  
> ruby and grab the label from the website and export it to excel;
> 
> please help me out i m new to Ruby and watir
> 
> is there any method in ruby or watir
