[wtr-general] >ruby NewScripts.rb NewScripts.rb:2:in `require': no such file to load -- watir (LoadError) from NewScripts.rb:2

2011-09-20 Thread Joe Fl
Hello. I need help. I have been trying to run my watir script on a window vista home machine with SciTe and I am getting the following error: >ruby NewScripts.rb NewScripts.rb:2:in `require': no such file to load -- watir (LoadError) from NewScripts.rb:2 I looked in many places and have

[wtr-general] Invalid gemspec

2011-09-29 Thread Joe Fl
I am trying to run watir-webdriver on my new MAC BookPro and i get the following messages: 'Safari' ree-1.8.7-2010.02 :003 > require "safariwatir" LoadError: no such file to load -- safariwatir from (irb):3:in `require' from (irb):3 from :0 'Web-Driver' ree-1.8.7-2010.02

[wtr-general] Trying to retrieve text of a link within a definition list tag

2011-10-06 Thread Joe Fl
Hello, I am trying to figure out how to retrieve text for a link that are posted in a definition list. The html is below. There are multiple post with in the dl and I would like to extract all of them and then find the one I am testing for. I am looking for this verbiage from below 'Watir Test

[wtr-general] Trying to use SafariWatir and receiving an error when keying value into a text_field

2011-10-11 Thread Joe Fl
Hello, I am receiving the following error message: in `text_field': wrong number of arguments (1 for 2) (ArgumentError) from /Users/josephfleck/Documents/workspace/test/helper_methods.rb: 32:in `login' from /Users/josephfleck/Documents/workspace/test/ Add_Discussion_Safari.rb:27

[wtr-general] Re: Trying to use SafariWatir and receiving an error when keying value into a text_field

2011-10-11 Thread Joe Fl
Filipin wrote: > I think safariwatir does not support hashrocket syntax > > browser.element(how => what) > > You have to use > > browser.element(how, what) > > Zeljko > > > > > > > > > > On Tuesday, October 11, 2011, Joe Fl wrote: >

[wtr-general] trying to click a link without an id or name.

2011-10-11 Thread Joe Fl
Hi, Is there anyway to click a link when it doesn't have an id or name attached to it? HTML code: Topics: http://.com/channels/naph-member-community/ navigational_categories/discussions/pages/detail/ ChannelResourceCategory/90">Ambulatory/Outpatient Care Thank you, Joe -- Before posting, plea

[wtr-general] Re: Trying to use SafariWatir and receiving an error when keying value into a text_field

2011-10-11 Thread Joe Fl
field just find using (the below) without any > problems. > > #Typing in user name into User Name field > >   puts "Key in correct username." >   $browser.text_field(:name, 'username').set user_Ideer > > The script works just fine in Firefox and Chrome b

[wtr-general] Retrieving checkbox values

2011-10-12 Thread Joe Fl
Hi All, I am trying to get the number of checkboxes within a window. I want to get the value of each one without knowing which one I will be using. html Ambulatory/ Outpatient Care I would like to get the number of and then loop through and get the value which I need for late

[wtr-general] Handling a MAC Pro book File Upload window.

2011-10-17 Thread Joe Fl
Hi, I am trying to automate our app which allow the user to upload documents, images, and videos. The user click a 'Choose File' button which launches an Upload File window. I am using a MAC Pro book so I am not sure a file_field will work. Does anyone have any ideas how I can complete this tas

[wtr-general] Re: Handling a MAC Pro book File Upload window.

2011-10-17 Thread Joe Fl
I am using Firefox, watir-webdriver, and v 1.8.7. I will be running the script in Chrome, safari, and IE. On Oct 17, 10:15 am, Željko Filipin wrote: > On Mon, Oct 17, 2011 at 4:09 PM, Joe Fl wrote: > > I am trying to automate our app which allow the user to upload > > documen

[wtr-general] Receiving error message when executing the same task

2011-10-17 Thread Joe Fl
Hi, I our web app our users can check off topics when adding a shared document, discussion, video, or image. I setup my script to run from a csv file. I first add a discussion and select a Topic then a Link and when I use the same code within a different method it errors out. Error message: [r

[wtr-general] retrieve drop list items/values

2011-10-19 Thread Joe Fl
Hi, I am trying to retrieve the values from a dropdown and can't. I have tried the following: undefined method on getAllContents arr= $browser.select_list(:name,'communities').getAllContents.to_a puts n= arr.length I get a response of 32 but I cannot use split method to get each name. names =

[wtr-general] Re: retrieve drop list items/values

2011-10-19 Thread Joe Fl
end this gives me the text to each option in the listbox. On Oct 19, 1:18 pm, Joe Fl wrote: > Hi, > > I am trying to retrieve the values from a dropdown and can't.  I have > tried the following: > > undefined method on getAllContents > arr= $browser.select_list(:name,

[wtr-general] Get machine name for MAC

2011-10-20 Thread Joe Fl
Hi, This is a ruby question but how do I get the name of my MAC using ruby. I have found: require 'socket' puts Socket.gethostname (not what I am looking for) puts ENV["COMPUTERNAME"] puts ENV['USERDOMAIN'] puts ENV['LOGONSERVER'] they all return nil any help would be appreciated. Thank y

[wtr-general] Re: Get machine name for MAC

2011-10-20 Thread Joe Fl
Hi Željko, I tried it but nothing returned. ree-1.8.7-2010.02 :003`> scutil --get ComputerName Is the above correct? Thank you, Joe On Oct 20, 10:54 am, Željko Filipin wrote: > On Thu, Oct 20, 2011 at 4:47 PM, Joe Fl wrote: > > This is a ruby question but how do I get the na

[wtr-general] Re: Get machine name for MAC

2011-10-20 Thread Joe Fl
Hi Željko, I corrected it but still nothing. What does 'scutil' mean? Thank you, Joe On Oct 20, 11:18 am, Željko Filipin wrote: > On Thu, Oct 20, 2011 at 5:12 PM, Joe Fl wrote: > > ree-1.8.7-2010.02 :003`> scutil --get ComputerName > > Is the above correct? >

[wtr-general] Re: retrieve drop list items/values

2011-10-20 Thread Joe Fl
ing. Thank you, Joe On Oct 19, 3:17 pm, Chuck van der Linden wrote: > On Oct 19, 11:14 am, Joe Fl wrote: > > > > > > > > > > > Hi, > > > I have figure it out. > > > Code... > > names = $browser.select_list(:name,'communities'

[wtr-general] best practice for modal that may pop up

2011-10-20 Thread Joe Fl
Hi, In my app a modal could pop up whenever a user enters a community and there isn't way to know which one they have been in before. I am currently using the exists? method but it seems to crash once in a while. Error: /Users/josephfleck/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/gems/1.8/ gems/wa

[wtr-general] I need to retrieve multiple span class="discussion-title"

2011-10-21 Thread Joe Fl
Hi, I need to retrieve multiple discusion titles from a page. I just want the titles only and there can be 5 to 13 on a page with other links listed under them. I have tried the following and it will only return the first discussion title or all links: subject_lines = $browser.div(:class,'one_co

[wtr-general] page headers

2011-10-24 Thread Joe Fl
Hi all, I am using the following code to confirm the script has landed on the correct page. #Assigning to variable because the header is the same its the topic is different. topic = 'Ambulatory/Outpatient Care' completeString = "Member Discussions: #{link}" if @browser.text.include? completeStr

[wtr-general] Re: page headers

2011-10-25 Thread Joe Fl
AM, Joe Fl wrote: > > topic = 'Ambulatory/Outpatient Care' > > completeString = "Member Discussions: #{link}" > > Should "link" be replaced with "topic"? > > completeString = "Member Discussions: #{topic}" > > > if @

[wtr-general] Click text_field so Submit button displays

2011-11-02 Thread Joe Fl
Hi All, In my script I need to add a comment to a discussion. In order to submit the comment I need to click the text_field first to get the event to fire to display the Submit button. I have add a click method for that text_field though it doesn't get the buttons to display. If I add a break r

[wtr-general] Re: How to bring browser to front?

2011-11-03 Thread Joe Fl
Hi, Can anyone tell if there is a method for watir-webdriver that will bring my firefox browser to the front? I gave the above a try. No luck. Joe On Sep 29, 4:37 am, Ivan Chung wrote: > Isn't it only for IE? Unfortunately i am using FF > > On Sep 29, 3:52 pm, Željko Filipin > wrote: > > > >

[wtr-general] Re: Retrieving checkbox values

2011-11-07 Thread Joe Fl
Hi, I am still having problems with checkboxes. I need to get the id from the html source for group of checkboxes under certain header sections. HTML: Community Features Guided Discussions Each section could 1 to many checkboxes showing. I have tried the following: chck_bx = $browser.div(

[wtr-general] Re: Trying to retrieve text of a link within a definition list tag

2011-11-15 Thread Joe Fl
an(:class, 'jobSearchJobListedDate').text > > >           puts element.ps[1].text.to_s > > >        end > > > > It seems to get to this point {$browser.div(:class => > > > 'discussion-meta-wrap').lis.each } > > > and terminate.  C

[wtr-general] Test Management GUI for Watir

2011-12-14 Thread Joe Fl
Hi, I would like to know if there is a open source test management tool that I can use to house and execute my watir scripts from. I am just starting to build my companies automation suites and would like something similar to Quality Center but without the expense. Any help in the matter would b

[wtr-general] Re: I need to retrieve multiple span class="discussion-title"

2011-12-20 Thread Joe Fl
Hi, I want to retrieve the text listed in the alert class listed below. Please provide a title. Please select an event start date. Please select an event end date. I have the following code: error_text = @b.div(:class,"alert").div error_text.each do|et| puts et.text end

[wtr-general] New Rich text editor in our web app

2012-01-05 Thread Joe Fl
Hi All, We recently updated our rich text editor in our app and I can no longer type into. I can use the following line and it will place the cursor within the editor but nothing is typed. @browser.frame(:title,'Rich text editor, event_description, press ALT 0 for help.').send_keys "DID THIS TYP

[wtr-general] Re: New Rich text editor in our web app

2012-01-12 Thread Joe Fl
Hi Chuck, I have set myself up with VMware Fusion and brought down my scripts and folders from github but how do I handle this? C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- common/helper_methods (LoadError) from C:/Ruby193/lib/ru

[wtr-general] Re: New Rich text editor in our web app

2012-01-12 Thread Joe Fl
Sorry I setup a windows vm and the error above happens when I try and run the script. On Jan 12, 10:06 am, Joe Fl wrote: > Hi Chuck, > > I have set myself up with VMware Fusion and brought down my scripts > and folders from github but how do I handle this? > > C:/Ruby193/

[wtr-general] Ie7 rich text editor issue

2012-01-16 Thread Joe Fl
Hi, >>> I am working with IE7 and need to add a comment to rich text editor >>> that is kept within a iframe.  My current code works with Firefox but >>> when I run the same code against IE i get the following error message: >>> >>> C:/Ruby193/lib/ruby/gems/1.9.1/gems/windows-api-0.4.0/lib/windows

[wtr-general] What Email Provider is best used with Watir?

2012-02-01 Thread Joe Fl
Hello Everyone, What Email Provider is best used with Watir? After reading several posted discussion it seems that Watir and gmail can be difficult to work with. Has anyone had success with any other web mail providers? Thank you, Joe -- Before posting, please read http://watir.com/support. I

[wtr-general] Try to retrieve text from a strong tag

2012-02-06 Thread Joe Fl
Hi everyone, I am trying to retrieve the text from a strong tag in our app. Code: Topic: Category 1 I am using watir-webdriver with firefox but i need this to work in IE and Chrome as well. Any & All help is greatly appreciated. Thank you, Joe -- Before posting, please read http://watir.

[wtr-general] How to handle a new tab that is a viewer?

2012-02-08 Thread Joe Fl
Hi, Our application opens documents and images in a new tab or browser to display them. I want to confirm the viewer has open after the document and images link is clicked. Thank you, Joe -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir

[wtr-general] Validating Image is clickable

2012-03-13 Thread Joe Fl
Hi, I need to confirm this tag [a class="person-inline-profile "] is available to know the image is clickable. I have included the html code below. I have tried the following and returns as 'false'. @browser.div(:id,"activity_stream_container").li(:class,'item').a(:class,'person- inline-profile

[wtr-general] Trying to run script on a VM with Windows XP Pro and getting errors for file paths

2012-03-26 Thread Joe Fl
Hello, I am trying to setup my VM to run my scripts against IE7. I installed GitBash to clone my qa_automation directory from Github plus installed Watir. When I try to execute one of my scripts I get the following error message: C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:3

[wtr-general] How do I update my MAC Pro book to ruby version 1.8.7 or higher

2012-04-16 Thread Joe Fl
Hi, I have never done this before but I need to update one of our MAC Books Pro to ruby 1.8.7 in order to use the watir webdriver. The machine is currently installed with version 1.8.6 and MAC OS 10.5. Can anyone give me directions or good documentation on how to do this? Any help would be great

[wtr-general] How to use more than one html tag

2012-04-20 Thread Joe Fl
Hi, How do i use more than one html tag to identify a link? I need to use the id and class for the below. https://my-staging.within3.com/ channels/within3-playground/navigational_categories/home/pages/ index">Home I tried the following got an error: b.a(:id,'home',:class,'current').exists? Arg

[wtr-general] Re: How to use more than one html tag

2012-04-20 Thread Joe Fl
Hi Dan, Thank you. That did the trick. Joe On Apr 20, 3:52 pm, Dan wrote: > Try this: > > b.a(:id => 'home',:class => 'current').exists? > > > > > > > > On Friday, April 20, 2012 3:05:46 PM UTC-4, Joe Fl wrote: > > > Hi, &

[wtr-general] Try to install SafariWatir & Watir-Webdriver getting error message

2012-04-23 Thread Joe Fl
Hi Everyone, I am trying to install safariwatir and watir-webdriver on a co-workers Mac Air. Xcode 4.3.2 has been installed and the machine has been restarted. I have enter the following command: sudo gem install safariwatir --no-ri --no-rdoc and keep getting this this error message building

[wtr-general] LIBMYSQL.dll error when trying to run watir scripts

2012-06-01 Thread Joe Fl
Hi, Does anyone know of an easy fix for this? Error Message The program can't start because LIBMYSQL.dll is missing from your computer. Try reinstalling the program to fix this problem. I have done the uninstall and reinstalling and that doesn't fix it. Any help would be appreciated. I am runn

[wtr-general] Scrolling up or down on a page

2012-06-14 Thread Joe Fl
Hi Watirs, I need to be able to scroll down the page to get an object in focus to click. How can we do this with watir? I read through this and couldn't find much else. https://groups.google.com/forum/?fromgroups#!searchin/watir-general/Scroll/watir-general/3YTaBk7tUps/HVWxjalw4FwJ I am using

Re: [wtr-general] Scrolling up or down on a page

2012-06-15 Thread Joe Fl
x27;btn btn-primary').click Its the click method line, if it is not in view the click doesn't happen. On Friday, June 15, 2012 3:53:24 AM UTC-4, Željko Filipin wrote: > > On Thu, Jun 14, 2012 at 9:43 PM, Joe Fl wrote: > > I am using watir-webdriver and interacting

Re: [wtr-general] Scrolling up or down on a page

2012-06-15 Thread Joe Fl
e 15, 2012 3:53:24 AM UTC-4, Željko Filipin wrote: > > On Thu, Jun 14, 2012 at 9:43 PM, Joe Fl wrote: > > I am using watir-webdriver and interacting with Firefox. Its a windows7 > VM. It works on my MAC Book Pro without issue. > > Please share the code. > > This could he

[wtr-general] Update chromedriver

2012-08-06 Thread Joe Fl
Hi all, I am trying to update my chromedriver from 16.0.902 to 21 but not sure how to. I have done a search on the topic in the group but can't find anything that relates to what I am trying to accomplish. I followed the install instructions and when I execute the following: /usr/bin:/bin:/us

[wtr-general] Re: Update chromedriver

2012-08-15 Thread Joe Fl
Hi, Has anyone run into this before? Any help wonder be appreciated. Thank you, Joe On Monday, August 6, 2012 12:05:51 PM UTC-4, Joe Fl wrote: > > Hi all, > > I am trying to update my chromedriver from 16.0.902 to 21 but not sure how > to. I have done a search on the topic in

[wtr-general] GWT developed application and WATIR

2012-08-27 Thread Joe Fl
Hi all, At my previous employer I implemented WATIR as our functional automation tool. Now I have change companies and enjoyed using WATIR that I am considering using it again but my new employer developes in JAVA with GWT. Will I see many challenges with WATIR and GWT? I plan to test it

[wtr-general] Chromedriver throws error message when closing the browser.

2012-08-28 Thread Joe Fl
Hi, When running my script against chrome and it comes to this line "@browser.close" the following error messages display: Started ChromeDriver port=9515 version=23.0.1240.0 log=C:\qa_automation\watir_scripts\chromedriver.log [0828/160101:ERROR:ipc_sync_channel.cc(378)] Canceling pending sends

[wtr-general] Re: Browser.goto command is not working

2012-08-30 Thread Joe Fl
Hi. I see the issue. you have something like this: br = Watir::Browser.new.ff it should be br = Watir::Browser.new :ff You need to remove the period infront of 'ff' and replace it with a colon. Joe On Thursday, August 30, 2012 10:17:25 PM UTC-4, goka priyanka wrote: > > Hello all, > > Please

[wtr-general] Working with GWT table

2012-08-31 Thread Joe Fl
Hi Everyone, I am working on automating an GWT app for the first time. I am trying to get data from td tag in a specific table . When I run the following code: thr = br.div(:class,'middleCenterInner').trs I get the data from the first td. I need to get to the second. Here the code:

[wtr-general] Re: Browser.goto command is not working

2012-09-02 Thread Joe Fl
Hi, Sometimes you need to include the starred line below: * require 'rubygems' require 'watir-browser' browser = Watir::Browser.new :ff browser.goto 'http://bit.ly/watir-example' In your code you do this (require 'Watir-webdriver'). I am not sure if that is causing the problem but you might c

[wtr-general] Re: Working with GWT table

2012-09-07 Thread Joe Fl
elp would be great. Joe On Sunday, September 2, 2012 6:57:08 PM UTC-4, Anthony Hallett wrote: > > try cell = br.div(:id => "main").td(:index => 1) > > On Saturday, 1 September 2012 06:21:15 UTC+10, Joe Fl wrote: >> >> Hi Everyone, >> >> I am w

[wtr-general] Using cols and rows to retrieve data from a table

2012-09-11 Thread Joe Fl
Hi Everyone, I am using watir-webdriver API and would like to retrieve the column name and data from a table. *Html:* Analysis Item Name Created On Modified On Calculated On Altered Test analysis 8/29/12 10:40 AM 8/29/12 2:0

Re: [wtr-general] Using cols and rows to retrieve data from a table

2012-09-14 Thread Joe Fl
s the response: # How do I get the text from this? Or could it be I haven't dug deep enough to the right table? Thanks again for your help. Joe On Tuesday, September 11, 2012 5:04:26 PM UTC-4, Željko Filipin wrote: > > On Tue, Sep 11, 2012 at 7:23 PM, Joe Fl > > wrote: > &g

Re: [wtr-general] Using cols and rows to retrieve data from a table

2012-09-14 Thread Joe Fl
t;.text" (without quotes) to the end. > > Like this: > > browser.table.text > > Zeljko > > On 14. 9. 2012., at 17:51, Joe Fl > > wrote: > > Hi Željko, > > Yes. I trying to pull data for a table based on the column, row. I have > tried the following:

[wtr-general] deleting text in a RichTextArea

2012-09-25 Thread Joe Fl
Hi everyone, I need to know if there is a better way to delete a string of text from a RichTextArea. Currently I handle it this way: @browser.frame(:class=>/gwt-RichTextArea/).click # Erase old comment for rte in 1..@browser.frame(:class=>/gwt-RichTextArea/).body.text.length #GF0TARWCJU hasRic

[wtr-general] Re: deleting text in a RichTextArea

2012-09-25 Thread Joe Fl
and any help would be greatly appreciate. Joe On Tuesday, September 25, 2012 1:09:49 PM UTC-4, Joe Fl wrote: > > Hi everyone, > > I need to know if there is a better way to delete a string of text from a > RichTextArea. > > > Currently I handle it this way: > @brow

[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://grou

[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

[wtr-general] Re: FasterCsv and Watir

2012-09-28 Thread Joe Fl
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 fa

[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

[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 wo

[wtr-general] Using ternary operator with Watir

2012-10-01 Thread Joe Fl
Hi everyone, I am experimenting with the ruby and I would like to know if I could include a 'break' in the loop below once the link is clicked. I have tried a couple of ideas but they just ended in a syntax error. @browser.table(:index,3).links.each{|tr| puts tr.text == link_name ? (@browser.a

[wtr-general] Can not interact with entire div List in application

2012-10-11 Thread Joe Fl
Hi All, I have been working on this for two days now and cannot find a solution. please help. I have a list of libraries and my script runs thru the process of creating one. The problem I am having is locating the created item. Once its created it is placed at the bottom of the list and beca

[wtr-general] Re: Can not interact with entire div List in application

2012-10-11 Thread Joe Fl
t;...") # scroll down div list until @browser.div(:text,lib_name_b).present? # arrow down @browser.div(:class,'GP2FV5MCAEB').send_keys :arrow_down end On Thursday, October 11, 2012 1:37:38 PM UTC-4, Joe Fl wrote: > > Hi All, > > I have been working on this for two days now a

[wtr-general] Winxp IE8 VM receiving error message when trying to interacting with Firefox

2012-10-24 Thread Joe Fl
Hello everyone, I have installed the following on a VM that is running WinXP IE8: watir-webdriver ruby 1.8.7 When I execute the following in irb "@br = Watir::Browser.new" i get the following error message. Selenium::WebDriver::Error::WebDriverError: Could not find Firefox binary (os=wi ndows)

[wtr-general] Selection list options with leading white spaces not able to select.

2012-10-30 Thread Joe Fl
Hi Everyone., I am having problems selecting options from select list. HTML: Included Patients (3806) Adherent (93) Non-Adherent (3713) Excluded Patients (68) Some of the options have leading white spaces and when I try to select those I get the error stating not able to locate. I hav

[wtr-general] Chromedriver error when trying to run watir-webdriver

2012-11-20 Thread Joe Fl
Hi Everyone, I have recently installed watir on a Windows7 ie8 VM. I am using ruby 1.8.7. Everything works for Firefox and IE8 but when i try chrome i get the following error message: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\User

[wtr-general] Re: how to click on javascript

2012-11-20 Thread Joe Fl
Hi, You should be able to do: browser.a(:class,'setting_link').click If you have tried this and got an error can you post it? Joe On Tuesday, November 20, 2012 1:31:44 PM UTC-5, a b wrote: > > > Hi all, > > I do have a complex code, I took a screen snapshot. > Please check the attached file. >

[wtr-general] Re: how to click on javascript

2012-11-20 Thread Joe Fl
Hi, Can you expand the HTML line that displays once 'general' is selected? Joe On Tuesday, November 20, 2012 1:31:44 PM UTC-5, a b wrote: > > > Hi all, > > I do have a complex code, I took a screen snapshot. > Please check the attached file. > > Does anyone know how to access[click] on the --

[wtr-general] Re: Accessing a Span

2013-01-15 Thread Joe Fl
hi, Can you just do this.. *$ie.button(:text=>'Ok').click* * * *Joe * On Tuesday, January 15, 2013 9:50:57 AM UTC-7, Deepak Kumar wrote: > > Hi, > > following is the HTML code > > ** > ** > *Ok* > > How i can click the span. > I used the following code.but it did'nt helped :( > > *$ie.div(:class

[wtr-general] Re: Accessing a Span

2013-01-15 Thread Joe Fl
Hmm. Can you post your code for this? I wonder if there is timing issue. The Ok button may not be displayed by the time your script gets there to click it? Joe On Tuesday, January 15, 2013 9:50:57 AM UTC-7, Deepak Kumar wrote: > > Hi, > > following is the HTML code > > ** > ** > *Ok* > >

[wtr-general] Re: Accessing a Span

2013-01-15 Thread Joe Fl
Deepak, $ie= Watir::IE.new $ie.goto("https://q2pdc2w4.edc.cingular.net:9300/v2/Login.html";) $ie.text_field(:id,"Userid").set("Pos3nbi") $ie.text_field(:id,"Password").set("unix11a") $ie.select_list(:id,"market").select("Dallas") $ie.image(:id,"Submit").click if $ie.span(:text=>'Ok').present?

Re: [wtr-general] Re: Accessing a Span

2013-01-15 Thread Joe Fl
,"Submit").click > if $ie.span(:text=>'Ok').present? > puts "Present" >#$ie.span(:text=>'Ok').click > else >puts "Not Present" > end > > but i did'nt helped the output is " *No examples found.&qu

Re: [wtr-general] Re: Accessing a Span

2013-01-16 Thread Joe Fl
Hi, Are you looking at this in irb? Sometimes that helps to debug the issue. You can get to this point and she if watir can see the pop-up @browser.div(:class=>"ui-dialog-buttonpane ui-widget-content ui-helper-clearfix").present? and if returns true then it sees it. Though from the above its

[wtr-general] Watir and Jenkins

2013-03-04 Thread Joe Fl
Hi, I am trying to get my scripts to run within Jenkins. We have setup a Windows8 (64) VM with jenkins to run our watir and cucumber scripts. When I try to excute them from Jenkins the browser never launches and the scripts process never ends. Gem List Microsoft Windows [Version 6.2.9200] (c

Re: [wtr-general] Watir and Jenkins

2013-04-11 Thread Joe Fl
k van der Linden wrote: > > I would also look at which browser their scripts are using, etc. There > might be some difference there. > > Also look to the details of the jenkins commands that execute their > scripts, if they are perhaps running as administrator, etc. > >

[wtr-general] how to efficiently loop thru a table to confirm the correct data is there?

2014-06-06 Thread Joe Fl
Hi Everyone, I am putting a test together to confirm the correct data is displaying within a UI table. I found here that someone suggested using Nokogiri with watir webdriver and tried it out but i do not really understand what it is doing. Related Article: https://groups.google.com/forum/

[wtr-general] Need to to scroll to bottom of list so remainder of items display and watir-webdriver can interact with them

2014-06-09 Thread Joe Fl
Hi, I have div that has a number of checkboxes that display columns in a grid to the right. The problem is watir-webdriver can not see the one not show in the browser and i need to use those. I have the following method but it is not working as i would expect. I have tried 'slimScrollBar' an

[wtr-general] Re: Need to to scroll to bottom of list so remainder of items display and watir-webdriver can interact with them

2014-06-09 Thread Joe Fl
Hi, The part of the application I am trying to interact with is a side bar. Thanks again, Joe On Monday, June 9, 2014 1:30:31 PM UTC-4, Joe Fl wrote: > > Hi, > > I have div that has a number of checkboxes that display columns in a grid > to the right. The problem is watir-we

[wtr-general] Re: Need to to scroll to bottom of list so remainder of items display and watir-webdriver can interact with them

2014-06-09 Thread Joe Fl
Hi everyone, It was the object i was using. I needed to use this object and it is working now. I would still welcome hearing about how others doing to handle this problem. Thank you, Joe On Monday, June 9, 2014 1:30:31 PM UTC-4, Joe Fl wrote: > > Hi, > > I have div that

[wtr-general] running watir webdriver scripts on Virtualbox

2014-06-26 Thread Joe Fl
Hi Everyone, I need some guidance. I have a mac and installed Virtualbox with Windows7 IE10. I would like to kick off my scripts and allow them to run against the Windows7 Virtualbox instant but not sure how to go about doing this. I have never done this before and my searches have come up s

[wtr-general] Re: Unable to acces text_field inside a frame coz of some "#document" tag in the HTML.

2014-07-10 Thread Joe Fl
Hi Roberto, If you could provide the html and code it would help us to help you come up with resolution to your problem. Joe On Wednesday, January 23, 2013 9:38:33 AM UTC-5, Deepak Kumar wrote: > > Hi everyone, > I am trying to access a text_field of page.HTML format is as follows > > > - >

[wtr-general] Drag n Drop not working for me with Firefox version25

2015-03-16 Thread Joe Fl
Hi, I am trying to use the drap drop method for watir-webdriver. System: Windows8 Browser: Firefox version 25 Gem versions: selenium-webdriver (2.45.0) watir-webdriver (0.7.0) Code: last_dragable_concept = BrowserClass.new(@browser).get_last_drag_concept_img def dra

[wtr-general] List of items that refresh every second

2019-01-28 Thread Joe Fl
Hi all, I have a list of jobs being executed that show the progress of the job. This list refreshes every second and I am wondering if anyone automated this before. I will create then execute the job and continue look at the list of jobs until its results return. The other challenge is my or

[wtr-general] Re: drag_and_drop_by works only with the real position of mouse

2019-01-28 Thread Joe Fl
Hi. Have you tried using drag_and_drop_on instead? I assume you are working with two different objects on the screen. https://www.rubydoc.info/gems/watir-webdriver/0.9.9/Watir%2FElement:drag_and_drop_on Joe On Thursday, January 24, 2019 at 10:09:50 PM UTC-5, Vinicius Oliveira wrote: > > I'm t

[wtr-general] how can I set chrome to a use a specific version?

2019-02-06 Thread Joe Fl
Hi all. I would like to set my watir spec tests to use chrome 'Version 72.0.3626.96 (Official Build) (64-bit)' and it is currently running 'Version 72.0.3626.96 (Official Build) (64-bit)'. How do I accomplish this? Here is our current setup: args = [ ] @opts = Selenium::Web

[wtr-general] Re: List of items that refresh every second

2019-02-06 Thread Joe Fl
o test with the jobs? We'll need a proper > test case to be able to help you. > > On Monday, January 28, 2019 at 11:23:25 AM UTC-8, Joe Fl wrote: >> >> Hi all, >> >> I have a list of jobs being executed that show the progress of the job. >> This list r

[wtr-general] Re: How do i set selenium script time out?

2019-02-26 Thread Joe Fl
ng, not long enough for real tests @browser = Watir::Browser.new(:chrome, timeouts: { script: 60_000 }, options: @opts) WatirAngular.inject_wait(@browser) @browser.window.resize_to 1100, 850 end Any ideas or thoughts would be helpful. Thank you, Joe On Monday, February 25, 2019 at

[wtr-general] Re: How do i set selenium script time out?

2019-02-26 Thread Joe Fl
=Mac OS X 10.14.3 x86_64) I have been looking for an answer to this for a several days now and still cannot find a working solution. On Monday, February 25, 2019 at 11:03:05 PM UTC-5, Joe Fl wrote: > > Hi,. > > I need to expand the duration of the wait on the *@page.run_asset* because