[wtr-general] 'no such file to load' when running firewatir unit test

2008-12-01 Thread Jason
. From what I've read on the message board, this error seems to indicate that firewatir was not installed properly, but I don't see I could've screwed up typing 'gem install firewatir'. I am very new at this, any help would be appreciated. - Jason

[wtr-general] Variable expansion inside XPath syntax

2009-02-12 Thread Jason
I seem to get myself stuck every Friday evening with seemingly trivial Watir / Ruby problems. Here's this week's problem. I'm struggling to match by XPath with a variable inside the xpath syntax. The following works perfectly: $browser.element_by_xpath(//dl/dt[contains(text

[wtr-general] Re: Variable expansion inside XPath syntax

2009-02-13 Thread Jason
is appreciated. - Jason On Feb 13, 6:26 pm, wesley chen cjq@gmail.com wrote: You may try this: levelone_dropdown = 'Accounts' $browser.element_by_xpath(//dl/dt[contains(text (),'#{levelone_dropdown}')]).click Thanks. Wesley Chen. On Fri, Feb 13, 2009 at 12:52 PM, Jason freezingki...@gmail.com

[wtr-general] Classes and Modules and Defs and understanding and referencing correctly

2009-03-26 Thread Jason
of login(). Any way I can force which one it should use? * Anyone got any good links for understanding Classes / Modules / Def a little better. I think I'm failing to understand this completely. - Jason --~--~-~--~~~---~--~~ You received this message because you

[wtr-general] How do you find find frames.

2009-04-02 Thread jason
I have looked and looked through the docs and I simply cannot find an answer to this. after calling doc = firefox.goto(some_url) I would like know what frames I have on the rendered page, i.e. frames = doc.frames #of cource this does not work, but I would expect an array of frame objects

[wtr-general] reflecting a frame looses the main document contents

2009-04-02 Thread jason
So yet another strange thing, that I might be misunderstanding, After I query a frame for somthing, it like only this frame is relevant for any queries untill I address another frame. i.e. document = ff.got_to(some_url) document.links #great give me the links

[wtr-general] Re: How do you find find frames.

2009-04-02 Thread jason
may try: ff.show_frames Thanks. Wesley Chen. On Thu, Apr 2, 2009 at 10:44 PM, jason jason.franklin.sto...@gmail.comwrote: I have looked and looked through the docs and I simply cannot find an answer to this. after calling doc = firefox.goto(some_url) I would like know what

[wtr-general] Re: reflecting a frame looses the main document contents

2009-04-02 Thread jason
, 5:21 pm, jason jason.franklin.sto...@gmail.com wrote: So yet another strange thing, that I might be misunderstanding, After I query a frame for somthing, it like only this frame is relevant for any queries untill I address another frame. i.e. document = ff.got_to(some_url) document.links

[wtr-general] Re: How do you find find frames.

2009-04-02 Thread jason
to my satisfaction, or if I worked round it somehow. I would offer you my code, but firewatir has changed significantly since I did this, and probably wont help you Paul On Thu, Apr 2, 2009 at 9:25 AM, jason jason.franklin.sto...@gmail.comwrote: Thanks - I know this. The method

[wtr-general] Re: How do you find find frames.

2009-04-03 Thread jason
Baker blog:http://blog.charleybaker.org/ Lead Developer, Watir,http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Thu, Apr 2, 2009 at 1:11 PM, jason jason.franklin.sto...@gmail.comwrote: I descided to add the method get_frames and refactor show_frames in the firefox.rb file

[wtr-general] ff.frame(:index,1).button(:index, 2) does not work?

2009-04-03 Thread jason
has anyone an idea about this? is it me - or is this not supported in firewatir? ff.frame(:index,1).button(:index, 0).click #Unable to locate element, using :index, 0 (Watir::Exception::UnknownObjectException) --~--~-~--~~~---~--~~ You received this message

[wtr-general] Re: ff.frame(:index,1).button(:index, 2) does not work?

2009-04-03 Thread jason
(:index, 1) - the first button. -c On Fri, Apr 3, 2009 at 11:23 AM, jason jason.franklin.sto...@gmail.comwrote: has anyone an idea about this? is it me - or is this not supported in firewatir? ff.frame(:index,1).button(:index, 0).click #Unable to locate element, using :index, 0 (Watir

[wtr-general] show form select_list objects text

2009-04-25 Thread jason
I have looked around and found no love on this subject. I would like to discover the text of a forms select list - is this at all possible? i.e ff.form(:index, 1).select_list[1].each do |option| puts option.inspect end Results in this output - but does not include the text in the option:

[wtr-general] Re: show form select_list objects text

2009-04-27 Thread jason
it into an array, you can use this: contents = ff.form(:index, 1).select_list[1].getAllObjects -George On Apr 25, 1:25 pm, jason jason.franklin.sto...@gmail.com wrote: I have looked around and found no love on this subject. I would like to discover the text of a forms select list

[wtr-general] Re: show form select_list objects text

2009-04-27 Thread jason
Ah getAllContents Thanks!! works. On 27 Apr., 10:11, jason jason.franklin.sto...@gmail.com wrote: Thanks for the suggestion. unfortunately it dont work :-( contents = ff.form(:index, 1).select_list(:index, 1).getAllObjects returns a empty string. On 26 Apr., 00:21, George

[wtr-general] Watir::IE.new - how does the IE object differ from a normal Windows IE instance?

2009-05-11 Thread Jason
The question: how does the Internet Explorer object created via Watir (Watir::IE.new) differ from an Internet Explorer object opened the traditional way via Windows? I'm not sure it's supposed to be different, but I'm observing the following: We've created some AB testing variations using the

[wtr-general] Re: Traversing nested elements

2009-05-12 Thread jason
not sure if this helps - but it might be a start ff.tables.each do |table| table.links.each do |link| link.click #for example end end hope that helps. On 12 Mai, 15:49, Gofu thanapoom.chareons...@gmail.com wrote: Hello everyone, I have a website that is generated dynamically

[wtr-general] javascript popup window not responding to startClicker

2009-05-12 Thread jason
clicked away.!! any ideas out there?? ff = FireWatir::Firefox.new ff.goto(http://www.stepstone.de;) ff.startClicker(ok) ff.frame(:name, maincontent).frame(:name, content).image(:name, Search).click Thanks a million. Jason. --~--~-~--~~~---~--~~ You received

[wtr-general] Re: javascript popup window not responding to startClicker

2009-05-14 Thread jason
oh my god! well done!!! I say this without having tried it out - but it seems so obvious!. I must say this whole frame thing is a pain in the a** I will let you know how it integrate it - thanks a million. !!! On 14 Mai, 07:49, jarodzz jaro...@gmail.com wrote: Hi, Jason. After hacked

[wtr-general] Re: Traversing nested elements

2009-05-14 Thread jason
on the page. does that make any sence?? On 13 Mai, 09:31, Gofu thanapoom.chareons...@gmail.com wrote: Thank you jason, but i dont know whether they are links or tables (they sometimes change). I might be able to use decisions to write a routine for each element type seperately. Do you know how

[wtr-general] forms in subframes - elements not found

2009-05-27 Thread jason
appreciated!! Jason. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-02 Thread jason
then somthing is wrong with the jssh installation... Jason. On 2 Jun., 09:44, Chethan chethan2...@gmail.com wrote: Hi, I started working on Firewatir, I have installed firewatir using new installation procedure as described in the Watir overview page. I have even installed the jssh as per

[wtr-general] Re: forms in subframes - elements not found

2009-06-02 Thread jason
ok so i have taken a look at the locate_tagged_element method and it looks like it cannot handle elements of objects in nested frames! Can anyone confirm this? i.e. anyone out there that can get elements (i.e. the select list) of a form sitting in a nested frame thanks Jason. On 29 Mai

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-02 Thread jason
ok, when you installed the jssh extention did the firefox plugin manager tell you that the installation was ok did it restart the browser after the installation - if not , then try installing it again. On 2 Jun., 11:13, Chethan chethan2...@gmail.com wrote: I tried it. still no use, I did the

[wtr-general] Re: How I can verify whether all the images of a web page have been loaded or not?

2009-06-02 Thread jason
Hi Maumita, I had problems with pages comming back as loaded even though were still loading and so i changed the wait method slightly and it works fine now. def wait(last_url = nil) #puts In wait function isLoadingDocument = start = Time.now while isLoadingDocument

[wtr-general] Re: Need help on jssh installation for firefox

2009-06-02 Thread jason
did you install the jssh firefox plugin??? On 2 Jun., 14:05, Chethan chethan2...@gmail.com wrote: I installed the Firewatir with new method rather then gem install firewatir command, I done that through gem install watir online how the new Watir overview describes. Thanks, Chethan On Jun

[wtr-general] Re: forms in subframes - elements not found

2009-06-03 Thread jason
and makes firewatir vertually unuseable for anyone exploring forms within frames. and even more unfortunate is the fact that i cannot use IE because I am in a unix environement. bugger, bugger, bugger. On 2 Jun., 20:33, Chuck van der Linden sqa...@gmail.com wrote: On May 29, 7:58 am, jason

[wtr-general] Re: forms in subframes - elements not found

2009-06-03 Thread jason
firewatir index for all elements starts and frames starts with 1 index 0 should be the root document (but its not :-( ) so thanks for the thought jason. On 3 Jun., 15:29, aidy lewis aidy.le...@googlemail.com wrote: ff.frame(:index, 1).form(:name, lay0803234_src350a).select_list(:id, LOV6

[wtr-general] Re: forms in subframes - elements not found

2009-06-03 Thread jason
).select_list(:id, LOV6) .inspect Thanks a million On 3 Jun., 17:03, aidy lewis aidy.le...@googlemail.com wrote: Hi Jason How then would you explain this?  require 'rubygems'  require 'watir'  ['watir', 'firewatir'].each { | g | require g }  ie = Watir::IE.new  ff = FireWatir::Firefox.new

[wtr-general] Re: forms in subframes - elements not found

2009-06-04 Thread jason
= 'ie' #sets browser preference I cannot install watir becasue it requires a windows environment - or I am I missing somthing here too? please let me know. thanks a million jason. On 3 Jun., 21:00, Chuck van der Linden sqa...@gmail.com wrote: Hey I know you want to look for the select_list

[wtr-general] Re: Towards migrating to Watir.com

2009-06-04 Thread jason
Hi Alistair, With lack of a better alternative - wordpress - or any blog - is a pain for the user searching for structured information. Do you think 37signals would sponsor project space in thier basecamp. would that meet the requirements?? jason. On 4 Jun., 06:23, Alister Scott alister.sc

[wtr-general] Re: forms in subframes - elements not found

2009-06-04 Thread jason
with the same issue. I cannot believe that has not cropped up until now - it is such a basic bug. anyway I will post this in my bug report too. Jason. On 4 Jun., 10:05, jason jason.franklin.sto...@gmail.com wrote: Chuck, Thanks a lot for your thoughs. Of course you are right

[wtr-general] Re: .set method is not working for firefox

2009-06-04 Thread jason
Hi Krian, I have just tried this out for you which works - so sorry - i cant reproduce the problem: ff.form.text_field(:index, 1).set(hello) jason On 4 Jun., 15:18, Kinnu kiranyajaman...@gmail.com wrote: Hi All, When I try to set some value to the text field (In Firefox) using .set

[wtr-general] Re: forms in subframes - elements not found

2009-06-05 Thread jason
FYI the solution above is not quite right.. i am working on the change and will post it later on today. On 4 Jun., 13:17, jason jason.franklin.sto...@gmail.com wrote: ok - so just for documentations sake i found the bug in the firewatir locate_tagged_element code

[wtr-general] Re: forms in subframes - elements not found

2009-06-06 Thread jason
to change the code. 4. I need the contents of forms Any brillinat ideas out there?? Please let me know. Thanks a million Jason. On 5 Jun., 20:37, Chuck van der Linden sqa...@gmail.com wrote: Ok I've not tried this, but as far as I know you COULD install the watir gem, you

[wtr-general] Re: Changing Div Location Without Puts

2009-06-07 Thread jason
looks like you might have a timing problem. Try adding sleep(1) instead of puts to see if this is the case. If this is the case you need to look at what you did before and if the browser really did finish before it got to this line. Jason On 5 Jun., 23:33, Win kinib...@gmail.com wrote: Hi

[wtr-general] Re: How to get info by Watir script from page source?

2009-06-08 Thread jason
how about... ie.html.match(/head.+?\/head/)[0] jason On 8 Jun., 08:35, Wesley Chen cjq@gmail.com wrote: Hi, Guys, I turn to one of the page in my system, view the page source, it displays: *!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1

[wtr-general] Re: How to get info by Watir script from page source?

2009-06-08 Thread jason
need in the document head. Jason On 8 Jun., 10:50, Wesley Chen cjq@gmail.com wrote: Hi, Jason, Thank you very much, it works. But really complex. Thanks. Wesley Chen. 2009/6/8 Jonny Xu jonn...@hotmail.com Hi Wesley, Hope this is what you want. http://www.rhinocerus.net/forum

[wtr-general] Re: .set method is not working for firefox

2009-06-08 Thread jason
Hi Kiran, works fine for the url you provide: ff.form(:name, AOLLoginForm).text_field(:id ,lgnId1).set(Hello World) best R Jason. On 4 Jun., 17:14, jason jason.franklin.sto...@gmail.com wrote: Hi Krian, I have just tried this out for you which works - so sorry - i cant reproduce

[wtr-general] Re: .set method is not working for firefox

2009-06-08 Thread jason
can you post the entier error message you are getting On 8 Jun., 12:03, kiran yajamanyam kiranyajaman...@gmail.com wrote: Hii Jason, I tried with the same piece of code and I am still getting the same error. Is it possible for you to send firewatir folder which you are using so that i can

[wtr-general] Re: Multiple lines in textarea

2009-06-08 Thread jason
Your code is wrong - line is using puts ??? ie.textfield(:name, multiChoiceAnswers).set(answers.each do |item| puts item end) change to ie.textfield(:name, multiChoiceAnswers).set(answers.each do |item| item + \n ) Best R Jason On 8 Jun., 12:46, grzegorz.smaj...@gmail.com grzegorz.smaj

[wtr-general] Re: Multiple lines in textarea

2009-06-08 Thread jason
Oh and your text array should look as follows: answers = [answer1,answer2,answer3] On 8 Jun., 13:13, jason jason.franklin.sto...@gmail.com wrote: Your code is wrong - line is using puts ??? ie.textfield(:name, multiChoiceAnswers).set(answers.each do |item| puts item end) change

[wtr-general] Re: How to get the element attributes in the frame?

2009-06-08 Thread jason
try somthing like ie.frame(:index, 1).form(:name, q).getAttribute(autocomplete) Jason On 8 Jun., 14:07, Wesley Chen cjq@gmail.com wrote: Hi, guys, By the following code, I can get google search text field's autocomplete attribute value. *require 'watir' ie=Watir::IE.goto

[wtr-general] Re: How to get the element attributes in the frame?

2009-06-08 Thread jason
, autocomplete ).type puts ie.frame(:index, 1).form(:name, q).text_field(:name, autocomplete ).value On 8 Jun., 14:40, Wesley Chen cjq@gmail.com wrote: Hi, Jason, Thank you for your quick reply. Are you sure the form has getAttribute method? When I try: puts ie.form(:name, q).getAttribute

[wtr-general] Re: Page Load Time Out error

2009-06-10 Thread jason
Hi venky, I use firewatir too and ended up tweaking the wait method in firefox.rb so that it uses busyflags. when the wait method times out (300 seconds) then it should raise and exception. if rescue the exception you can try to load the url again with ff.goto (url) - generally the page will

[wtr-general] firewatir form submit working???

2009-06-15 Thread jason
somthing very simple. thanks for your help jason. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please

[wtr-general] Re: firewatir form submit working???

2009-06-16 Thread jason
stuck on why. I cannot figure out what the causing this behaviour - it least if I knew, could try fixing it. has anyone got any ideas? I am more looking for the cause, rather than a work around. thanks a million. Jason. On 15 Jun., 22:43, orde ohil...@gmail.com wrote: Looks like it's

[wtr-general] Re: firewatir form submit working???

2009-06-17 Thread jason
:48, Angrez Singh ang...@gmail.com wrote: So jason you mean to say if you are submitting form which is inside a Frame/IFrame it doesn't work. But if that is directly on the page it works. Am I correct here? - Angrez On Wed, Jun 17, 2009 at 3:37 AM, orde ohil...@gmail.com wrote: Took

[wtr-general] Re: firewatir form submit working???

2009-06-17 Thread jason
in the form with something form(:index, 1).text_field(:index, 1).click #this should activate any onfocus event handlers on the page form(:index, 1).press_enter#(as apposed to click) Does anyone know how this could be achieved from within firewatir? Thanks a million Jason

[wtr-general] Re: firewatir form submit working???

2009-06-17 Thread jason
submitted. I think however, that in most cases a click on the submit object should work - even though difficult for a software agent to locate prgramatically. if anyone has a different view on my findings, please let me know - and i hope this helps someone else with the same problem. jason

[wtr-general] Re: using Rails routes

2009-06-17 Thread jason
that outside of rails, afterall it does not really matter what application generates the pages the you want to test. hope that is food for thought. jason On 17 Jun., 07:59, Macsig sigbac...@gmail.com wrote: Hello guys, I'm new to watir: I have just discovered it through Cucumber and Watir 101 screencast

[wtr-general] Re: Capturing text in a processing your request page

2009-06-18 Thread jason
how about browser.html.include(We are processing your request) On 16 Jun., 00:45, George george.sand...@gmail.com wrote: I tried search the forum but couldn't come up with a situation similar to mine. I'm filling out a form, which takes me to a 'Review your order' page. When I click the

[wtr-general] Re: Received data in read_socket is empty

2009-06-19 Thread jason
as you have worked out already - it looks like a timing problem - this normally happens when the page has not finished loading. this is because the wait method looks for isLoadingDocument when it should be looking for webProgress.busyFlags hope that helps. jason. On 19 Jun., 12:43, dottree

[wtr-general] can I force javascripts links when clicked to load in a new window

2009-06-19 Thread jason
of the javascript function call. (i.e. the same sort of option when you get with a right mouse click on a link and firefox asks you if you want to open the link in a new tab or a new window). any ideas?? thanks a million. Jason. --~--~-~--~~~---~--~~ You received

[wtr-general] is it possible the send firefox a new dom?

2009-06-26 Thread jason
@ff.goto(some_address_some_path) full_dom_dump = read_a_file(a_file_on_my_hard_disk) @ff.full_dom_dump = full_dom_dump any ideas would be very much appeciated thanks a million jason. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[wtr-general] Re: Elements supported by Watir

2009-10-18 Thread Jason
? - Jason On Sep 29, 5:08 am, Bret Pettichord bpettich...@gmail.com wrote: On Sep 28, 4:54 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: Do we have a place where all elements (link, image, button...) supported by Watir are listed? Is this list complete? http://wiki.openqa.org

[wtr-general] Ruby 1.9.1, Watir 1.6.5 and [BUG] Segmentation fault in win32-api (api.so) - SOLVED

2010-03-04 Thread Jason
(Just posting this in case someone else has a similar error and needs a little help. Hopefully a Google search will direct to this post.) I've just installed Ruby 1.9.1 (via these instructions: http://wiki.openqa.org/display/WTR/Install+Ruby) and in attempting to get Watir working received the

[wtr-general] Useful: Installing Watir from RubyGems from behind a proxy

2010-07-23 Thread Jason
This is really more about accessing rubygems and installing *anything* from behind a proxy, but for myself the whole purpose of installing Ruby and accessing RubyGems is for Watir, so might be useful for this list. The problem lies with being behind a firewall and a normal command- line ruby

[wtr-general] Re: Useful: Installing Watir from RubyGems from behind a proxy

2010-07-26 Thread Jason
I forgot one really important aspect to this - the %HTTP_PROXY% variable needs to be set. Make sure to set the environment variable %HTTP_PROXY% to your proxy server. This must be a hostname and port in URL form. E.g.: SET HTTP_PROXY http://proxy.corp.com:8080 Jason On Jul 23, 11:46 am

[wtr-general] Understanding Modules and Classes a little better

2010-07-27 Thread Jason
that use them well. Thanks, Jason -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir

[wtr-general] Re: Useful: Installing Watir from RubyGems from behind a proxy

2010-08-08 Thread Jason
Done. Cheers, Jason On Jul 28, 9:13 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Jul 23, 2010 at 1:46 AM, Jason freezingki...@gmail.com wrote: This is really more about accessing rubygems and installing *anything* from behind a proxy, but for myself the whole purpose

[wtr-general] Watir on Ruby 1.9.2

2010-09-08 Thread Jason
I'm in a slight quandry where Rails3.0 requires ruby 1.9.2, but Watir only appears to run on 1.8.6 (although I did manage to get it running previously on 1.9.1, see here: http://groups.google.com/group/watir-general/browse_thread/thread/f1eebf2c3c846e0f but Rails definitely doesn't run on 1.9.1)

[wtr-general] Re: Watir on Ruby 1.9.2

2010-09-09 Thread Jason
notet...@gmail.com wrote: Vapir does work on 1.9.2. On Thu, Sep 9, 2010 at 07:26, Željko Filipin zeljko.fili...@wa-research.chwrote: On Thu, Sep 9, 2010 at 6:18 AM, Jason freezingki...@gmail.com wrote: I'm in a slight quandry where Rails3.0 requires ruby 1.9.2, but Watir only appears

[wtr-general] Re: How can I incorporate Watir into a web app(.Net MVC)?

2010-10-18 Thread Jason
The closest I have got working like this: 1. click a requirement (in StoryWise: web based requirement managemnet tool) 2. can view test scripts (Watir) associated with that requirement 3. click 'open test scripts' hyper link 4. the test script shown in TestWise IDE, where testers can edit/run

[wtr-general] Re: Running watir tests simultaneously on different browsers

2013-12-05 Thread Jason
Your question is on managing test executions and cross browser testing. Managing test execution is better handled by Continuous Integration, which is a must for serious test automation attempts. (Check out Lisa Cripin's blog on this topic:

[wtr-general] Re: Run the Same Test in Multiple Browsers - Watir Webdriver

2013-12-05 Thread Jason
In fact, to verify tests against multiple browsers, don't have to run one test the same time for 3 browsers (can be done, though). Besides maintainability, the other test automation challenge is long execution time (Google average build time: 4 minutes,

[wtr-general] Re: Converting Dates Question

2008-10-09 Thread Jason Trebilcock
On Thu, Oct 9, 2008 at 3:27 PM, Željko Filipin [EMAIL PROTECTED]wrote: On Thu, Oct 9, 2008 at 8:26 PM, Moochie [EMAIL PROTECTED] wrote: Jason, You're suppose to be on vacation. Step away from the computer. Too good not to comment! :) Željko As much as I'd like to have been

[wtr-general] Re: Excel Ranges and Ruby

2008-12-01 Thread Jason Shelton
I have been using value, I accidentally left it out of my message. What I have looks like: array = (1,2,3)excel.Range(A1::A3).Value = array This puts a '1' into cells a1, a2, and a3. I want a1 = 1, a2 = 2, a3 = 3. Thanks in advance for your help. - Shelton Date: Mon, 1 Dec 2008

[wtr-general] Re: Excel Ranges and Ruby

2008-12-01 Thread Jason Shelton
('excel.Application') array = ('1,2,3').split(',') excel.Range(B207:D207).Value = arrayOn Dec 1, 1:11 pm, Jason Shelton [EMAIL PROTECTED] wrote: I have been using value, I accidentally left it out of my message. What I have looks like: array = (1,2,3)excel.Range(A1::A3).Value = array

[wtr-general] Re: Excel Ranges and Ruby

2008-12-01 Thread Jason Shelton
-general@googlegroups.com Did you change the cell range. I was testing it on a spreadsheet where the range a1 – a3 was populated. DD From: watir-general@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason SheltonSent: Monday, December 01, 2008 2:36 PMTo: [EMAIL PROTECTED

[wtr-general] Re: Excel Ranges and Ruby

2008-12-01 Thread Jason Shelton
Of Jason SheltonSent: Monday, December 01, 2008 2:46 PMTo: [EMAIL PROTECTED]: [wtr-general] Re: Excel Ranges and Ruby No, I am using the same cell range. a1 - a3 is being populated on my machine, but it is populating each cell with element 0 in my array, not element 0, 1, and 2. -Shelton

[wtr-general] Re: Opening an Excel file with a variable name

2008-12-17 Thread Jason Shelton
I discovered that my problem was that I had a newline character at the end of each array element. Once I removed the character, it worked fine. Thanks for your help. - Shelton Date: Wed, 17 Dec 2008 10:02:11 -0600 From: b...@pettichord.com To: watir-general@googlegroups.com Subject:

[wtr-general] Re: Opening an Excel file with a variable name

2008-12-17 Thread Jason Shelton
I have tried both proposed methods, and I am getting the same 'File not found' error. It seems that Ruby has a problem with using variables in certain scenarios. Previously, I was passing a parameter to a class named 'Test' with a function in it named 'go'. This is the syntax that I used,

[wtr-general] Watir and Firefox

2009-02-10 Thread Jason Shelton
All, I haven't used Watir for about 7-8 months now, but I am now setting up a new framework using Watir. I am writing to ask about the latest updates to Watir, and its compatibility with Firefox. Which build of Watir should I install to get the version that supports both IE and Firefox?

[wtr-general] Re: Watir and Firefox

2009-02-11 Thread Jason Shelton
is already covered in the wiki which you should refer to for these getting started types of questions: http://wiki.openqa.org/display/WTR/Browser.new Regards, John On Feb 10, 10:06 pm, Jason Shelton jas.shel...@hotmail.com wrote: All, I haven't used Watir for about 7-8 months now, but I

[wtr-general] Re: Watir and Firefox

2009-02-11 Thread Jason Shelton
...@gmail.comdate: Wed, 11 Feb 2009 14:30:13 + It should beWatir::Browser.default = 'firefox'$web = Watir::Browser.newInstead of$web = Watir::Browser.newWatir::Browser.default = 'firefox'That should workRegardsVenu Sent from my BlackBerry® from Reliance Mobile, India's No.1 Network. From: Jason

[wtr-general] Re: Watir and Firefox

2009-02-11 Thread Jason Shelton
::Browser.default = 'firefox'$web = Watir::Browser.newInstead of$web = Watir::Browser.newWatir::Browser.default = 'firefox'That should workRegardsVenu Sent from my BlackBerry® from Reliance Mobile, India's No.1 Network. From: Jason Shelton Date: Wed, 11 Feb 2009 09:26:10 -0500To: watir-general

[wtr-general] Verify text on a popup

2009-02-12 Thread Jason Shelton
All, I have read the tutorial about killing a 'Windows Internet Explorer' javascript popup, but I am writing to ask if there is a way to verify the text on these popups first, with a method similar to .contains_text? If this question is not clear, I can elaborate. Thanks in advance. -

[wtr-general] Re: Verify text on a popup

2009-02-12 Thread Jason Shelton
autoit. Please reply back if you have questions about it. Bill On Thu, Feb 12, 2009 at 12:24 PM, Jason Shelton jas.shel...@hotmail.com wrote: All, I have read the tutorial about killing a 'Windows Internet Explorer' javascript popup, but I am writing to ask if there is a way to verify

[wtr-general] Re: Verify text on a popup

2009-02-12 Thread Jason Shelton
create an IE object with Watir, but I don't know if it's meant to be directly accessible. So the safest thing may be to create your own as shown in the snippets above. Bill On Thu, Feb 12, 2009 at 1:29 PM, Jason Shelton jas.shel...@hotmail.com wrote: I have searched through the archives

[wtr-general] Ruby Variable

2009-02-17 Thread Jason Shelton
All, I have a set of variables, with similar names, except for the last character. So for instance, lets say that I have three variables var1, var2, and var3. My problem is that I am trying to refer to these variables using a loop, and I am not quite sure how to make it work. Here is an

[wtr-general] Popup clicknowait question

2009-02-17 Thread Jason Shelton
All, I am trying the click_no_wait method to click the button in my application that causes a popup, but when I use it the script times out, and the button is never clicked. When I just use 'click' the button is clicked, and the popup is prompted. To use all of the popup techniques

[wtr-general] Re: Popup clicknowait question

2009-02-18 Thread Jason Shelton
All, I have tried all of the proposed methods on the Watir OpenQa site, but for some reason click_no_wait is not accessing the specified button. When I try it, whatever popup scheme I am using just times out. What is wrong with my code!!! Below is a snippet of my last attempt. Any new

[wtr-general] Re: Popup clicknowait question

2009-02-19 Thread Jason Shelton
Of Jason Shelton Sent: Wednesday, February 18, 2009 4:05 PM To: watir-general@googlegroups.com Subject: [wtr-general] Re: Popup clicknowait question All, I have tried all of the proposed methods on the Watir OpenQa site, but for some reason click_no_wait is not accessing the specified button. When

[wtr-general] Re: Popup clicknowait question

2009-02-19 Thread Jason Shelton
From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Jason Shelton Sent: Thursday, February 19, 2009 8:56 AM To: watir-general@googlegroups.com Subject: [wtr-general] Re: Popup clicknowait question Hello, My problem is that when I use

[wtr-general] Re: Popup clicknowait question

2009-02-19 Thread Jason Shelton
when I saw the long delays. On Thu, Feb 19, 2009 at 8:21 AM, Jason Shelton jas.shel...@hotmail.com wrote: Here is the code I am using. I ran the script, and I noticed that the 'More' button is being highlighted, but the actual 'click' is not taking place. Then the script just times

[wtr-general] Select Lists

2009-02-20 Thread Jason Shelton
All, I have a control in my application, that looks a list box, but in the code it is treated as a select list. When I use the Watir select list commands, everything works fine. My problem is that when I first bring up the page that contains the list, one item in the list is already

[wtr-general] Hiding the browser

2009-02-20 Thread Jason Shelton
All, Is there a new way of hiding the browser with Watir? It seems that ie.visible = false no longer works. Thanks alot. - Shelton _ Windows Live™: E-mail. Chat. Share. Get more ways to connect.

[wtr-general] Re: Hiding the browser

2009-02-23 Thread Jason Shelton
@googlegroups.com Add $HIDE_IE=true before your IE process has been created.Thanks. Wesley Chen. On Sat, Feb 21, 2009 at 1:59 AM, Jason Shelton jas.shel...@hotmail.com wrote: All, Is there a new way of hiding the browser with Watir? It seems that ie.visible = false no longer works. Thanks alot

[wtr-general] Array Elements

2009-02-23 Thread Jason Shelton
All, I am reading an xml file into an array of lines(arr[]). I want to look at each individual line (element) of the array, and determine if the element contains a certain block of text. Is there a contains_text method, or something similiar, for array elements? I want to find all

[wtr-general] Re: Array Elements

2009-02-24 Thread Jason Shelton
{|a| second_array a if a =~ / expected_text/} On Feb 23, 3:53 pm, Jason Shelton jas.shel...@hotmail.com wrote: All, I am reading an xml file into an array of lines(arr[]). I want to look at each individual line (element) of the array, and determine if the element contains a certain block

[wtr-general] Re: How to send a mail from outlook express using watir

2009-03-05 Thread Jason Trebilcock
seems painful to me. Beyond that, to address your original question, it might help to break down the problem into manageable parts. First, create a script to send a simple email.then, start worrying adding the complexity of sending content from a log file. Jason From: watir-general

[wtr-general] Re: Getting 'assert_exists': Unable to locate element, using :name, q (Watir::Exception::UnknownObject...

2009-03-18 Thread Jason Trebilcock
In addition to what Darin has recommended, you might want to see what happens when you run the below commands through irb. (Like Darin, I was able to complete the below.) -Original Message- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Darin

[wtr-general] Excel Issue?

2009-03-20 Thread Jason Shelton
All, I have a routine in my program that compares files in two directories with the same name. For example, lets say I have 'Directory1' and 'Directory2'. The routine looks in each directory, and if a file name exists in both directories I compare the files. I then print the results

[wtr-general] Re: Excel Issue?

2009-03-23 Thread Jason Shelton
in the current tab. -Tiffany On Mar 20, 10:20 am, Jason Shelton jas.shel...@hotmail.com wrote: All, I have a routine in my program that compares files in two directories with the same name. For example, lets say I have 'Directory1' and 'Directory2'. The routine looks in each

[wtr-general] Test Results Report Methods

2009-04-15 Thread Jason Shelton
All, I have always used Excel as my test output/results format, but I would like to enhance this. I have spoken with our DBA, and, if necessary he will create a table in our database for my test automation results. What I am asking is if you all can recommend any techniques and/or

[wtr-general] Re: Test Results Report Methods

2009-04-20 Thread Jason Shelton
. -Tiffany On Apr 15, 3:56 pm, Jason Shelton jas.shel...@hotmail.com wrote: All, I have always used Excel as my test output/results format, but I would like to enhance this. I have spoken with our DBA, and, if necessary he will create a table in our database for my test

[wtr-general] Re: Does Watir 1.6.2 install on Mac OS X?

2009-04-26 Thread Jason Trebilcock
Here's a thread to look at: http://groups.google.com/group/watir-general/browse_thread/thread/2870724cfa c1f1aa -Original Message- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Moochie Sent: Sunday, April 26, 2009 4:19 PM To: Watir General

[wtr-general] Re: Watir::IE.new - how does the IE object differ from a normal Windows IE instance?

2009-05-12 Thread Jason N
Brett, thanks. Unfortunately, but interestingly, that doesn't make a difference. On May 13, 3:17 am, Bret Pettichord b...@pettichord.com wrote: You can also try Watir::IE.new_process, which starts IE using a different mechanism, closer to what happens when you start it manually. Bret

[wtr-general] Re: Watir::IE.new - how does the IE object differ from a normal Windows IE instance?

2009-05-12 Thread Jason N
I think I need to dig around and understand these redirections, but they're basically related to AB variation testing... Thanks for your thoughts! Jason On May 13, 1:20 am, Nathan Lane nathamberl...@gmail.com wrote: The Watir IE object is instantiated through OLE (I believe or it could

  1   2   >