Re: [wtr-general] Re: Selecting Dropdown via Value

2012-09-28 Thread Željko Filipin
On Fri, Sep 28, 2012 at 12:09 AM, Barry Horgan bhor...@spreets.com wrote:
 I have been trying to get a solution for days and cannot figure out how
to select an option from a drop down menu

Please share relevant code.

Something like this should work:

browser.select(:name = hello).select(C)
browser.select(:name = hello).select_value(C)

Željko

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] Has anyone used Watir for performance testing?

2012-09-28 Thread Joe Fl
Hi everyone,

Has anyone used WATIR for performance testing?  Testing for page load time? 
 things along those lines.

Any help would be appreciate.

Joe

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Has anyone used Watir for performance testing?

2012-09-28 Thread Željko Filipin
On Fri, Sep 28, 2012 at 7:16 PM, Joe Fl joeflec...@gmail.com wrote:
 Has anyone used WATIR for performance testing?  Testing for page load
time?  things along those lines.

Take a look at this:

http://watirwebdriver.com/page-performance/

Željko
--
filipin.eu

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] FasterCsv and Watir

2012-09-28 Thread Joe Fl
Hi,

I need faster_csv to run my scripts.  I am working with a WindowsXP VM.  
I ran this command 'gem install fastercsv' and it in returned
'Successfully installed fastercsv-1.5.5'  but when I execute my script its 
not
getting data from my csv.

I am really not sure what to do at this point.  Any help would be greatly 
appreciated.

Thank you,
Joe

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] FasterCsv and Watir

2012-09-28 Thread Željko Filipin
On Fri, Sep 28, 2012 at 8:06 PM, Joe Fl joeflec...@gmail.com wrote:
 but when I execute my script its not
 getting data from my csv.

Show us the code.

Also, this is Watir support group. You will get better support at fastercsv
or general ruby group.

Željko
--
filipin.eu

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] Re: FasterCsv and Watir

2012-09-28 Thread Joe Fl
Hi Željko,

Here is my code:

#Setting variable name with script name
script_name = File.basename(__FILE__,.rb)
# User path 
project_path = File.expand_path(File.join(File.dirname(__FILE__),'..'))

# initialize MainMethods class
mm = MainMethods.new($browser)
# call method to delete text from file
mm.delete_file_text(script_name)
# open csv
puts filename = 
File.join(project_path,'script_environment_sheets','fast_search_data_sheet.csv')
# read csv with headers
test_data = FasterCSV.read(filename, :headers = true)

I think it has something to do with forward/backward slashes to the 
location of the file.  Not sure though.

Thank you,
Joe


On Friday, September 28, 2012 2:06:37 PM UTC-4, Joe Fl wrote:

 Hi,

 I need faster_csv to run my scripts.  I am working with a WindowsXP VM.  
 I ran this command 'gem install fastercsv' and it in returned
 'Successfully installed fastercsv-1.5.5'  but when I execute my script its 
 not
 getting data from my csv.

 I am really not sure what to do at this point.  Any help would be greatly 
 appreciated.

 Thank you,
 Joe


-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] Re: FasterCsv and Watir

2012-09-28 Thread Joe Fl
Hello,

I was wrong.  Its reads the entire file but when it enters the do loop it 
doesn't assign the variabl.

Code:
u = td['Url']

Thank you,
Joe

On Friday, September 28, 2012 2:06:37 PM UTC-4, Joe Fl wrote:

 Hi,

 I need faster_csv to run my scripts.  I am working with a WindowsXP VM.  
 I ran this command 'gem install fastercsv' and it in returned
 'Successfully installed fastercsv-1.5.5'  but when I execute my script its 
 not
 getting data from my csv.

 I am really not sure what to do at this point.  Any help would be greatly 
 appreciated.

 Thank you,
 Joe


-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] Re: FasterCsv and Watir

2012-09-28 Thread Joe Fl
Hi,

I figured it out.  i opened it and then saved it with semi colon which 
messed everything up.

Sorry for the waste of time.

thank you for your help Željko

Joe

On Friday, September 28, 2012 2:06:37 PM UTC-4, Joe Fl wrote:

 Hi,

 I need faster_csv to run my scripts.  I am working with a WindowsXP VM.  
 I ran this command 'gem install fastercsv' and it in returned
 'Successfully installed fastercsv-1.5.5'  but when I execute my script its 
 not
 getting data from my csv.

 I am really not sure what to do at this point.  Any help would be greatly 
 appreciated.

 Thank you,
 Joe


-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] undefined method LoginByAccountno for #Watir::IE:0x68441e8

2012-09-28 Thread newlearner
Hi there,
I am getting this error when I ran the script in ruby. Any help is 
appreciated.

undefined method LoginByAccountno for #Watir::IE:0x68441e8
 
thanks.

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] undefined method LoginByAccountno for #Watir::IE:0x68441e8

2012-09-28 Thread Joe Fleck
Hi,

Can you paste your code in here?

Thank you,
Joe

On Fri, Sep 28, 2012 at 3:49 PM, newlearner rubylear...@gmail.com wrote:
 Hi there,
 I am getting this error when I ran the script in ruby. Any help is
 appreciated.

 undefined method LoginByAccountno for #Watir::IE:0x68441e8

 thanks.

 --
 Before posting, please read http://watir.com/support. In short: search
 before you ask, be nice.

 watir-general@googlegroups.com
 http://groups.google.com/group/watir-general
 watir-general+unsubscr...@googlegroups.com

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] undefined method LoginByAccountno for #Watir::IE:0x68441e8

2012-09-28 Thread Željko Filipin
On Fri, Sep 28, 2012 at 10:12 PM, Joe Fleck joeflec...@gmail.com wrote:
 Can you paste your code in here?

+1

Željko

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] undefined method LoginByAccountno for #Watir::IE:0x68441e8

2012-09-28 Thread Eric Mathiesen
+2
On Sep 28, 2012 12:14 PM, Željko Filipin zel...@filipin.eu wrote:

 On Fri, Sep 28, 2012 at 10:12 PM, Joe Fleck joeflec...@gmail.com wrote:
  Can you paste your code in here?

 +1

 Željko

 --
 Before posting, please read http://watir.com/support. In short: search
before you ask, be nice.

 watir-general@googlegroups.com
 http://groups.google.com/group/watir-general
 watir-general+unsubscr...@googlegroups.com

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com