[wtr-general] Re: How to not overwrite current html report?

2017-10-18 Thread Jason Phebus
you can use embedded ruby in the cucumber.yml file to generate a (hopefully) unique file name: default: --no-source --color --format pretty --format html --out results_<%= DateTime.now.strftime('%y%m%d%H%M%S%L') %>_<%= rand(1-9) %>.html On Wednesday, October 18, 2017 at 11:27:57 AM

[wtr-general] Watir running Chrome on Heroku

2017-08-29 Thread Jason Mintz
Has anyone been able to get headless Chrome working on Heroku via Watir? I've failed following the instructions here: https://github.com/heroku/heroku-buildpack-google-chrome, despite adding the buildpacks the GOOGLE_CHROME_BIN and GOOGLE_CHROME_SHIM ENV variables are nil. I would try to set

[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] Watir Webdriver screenshot question: can it take screenshot for particular area/region?

2013-04-09 Thread Jason Ding
I know it can take screenshot for whole page, but can it take screenshot for particular area/region by dom selectors etc.? Or can this be included in future version? Thanks, -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

[wtr-general] Ruby Array Question

2011-12-19 Thread Jason Shelton
All, I have setup a Ruby class, made up of a bunch of subroutines. Below is an illustration: class BigTestClass def scenario1#testScenario end def scenario2#testScenario end end I have an array that consists of the names of all of the subroutines above: allMyTests = {scenario1,

RE: [wtr-general] Watir Webdriver Performance Error

2011-12-06 Thread Jason Shelton
...@wa-research.ch Date: Tue, 6 Dec 2011 10:47:19 +0100 Subject: Re: [wtr-general] Watir Webdriver Performance Error To: watir-general@googlegroups.com On Tue, Dec 6, 2011 at 7:22 AM, Jason Shelton jas.shel...@hotmail.com wrote: I am getting the attached error 1) Please copy/paste the text

[wtr-general] Watir Webdriver Performance Error

2011-12-05 Thread Jason Shelton
All, I am getting the attached error when I attempt to run a script that uses the Watir Webdriver performance gem, on IE 9. I cannot reproduce this error on Firefox or Chrome. Are there any particular settings that may need to be adjusted? I am running IE 9 on a Windows Server 2008 R2

[wtr-general] Watir WebDriver Performance Error

2011-09-11 Thread Jason Shelton
Hello All, I am attempting to use the watir-webdriver-performance gem, but am getting an error when I try to execute the code below: require 'watir-webdriver' require 'watir-webdriver-performance' b.goto 'http://watir.com' load_secs =

RE: [wtr-general] Watir WebDriver Performance Error

2011-09-11 Thread Jason Shelton
All, I did not mention in my previous post that I am using IE 9, and I declare 'b' like this: b = Watir::Browser.new :ie Thanks again for your assistance. From: jas.shel...@hotmail.com To: watir-general@googlegroups.com Subject: [wtr-general] Watir WebDriver Performance Error Date:

[wtr-general] Watir and the Automated Build Process

2011-07-05 Thread Jason Shelton
? Thanks in advance for any assistance. - Jason -- 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

[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

Re: [wtr-general] Is Watir supports desktop application?

2010-10-04 Thread Jason Trebilcock
As Zelijko indicates, Web only. (Watir = Web Application Testing in Ruby) That having been said, a starting point/resource to consider obtaining is the book: Scripted GUI Testing with Ruby. http://pragprog.com/titles/idgtr/scripted-gui-testing-with-ruby On Mon, Oct 4, 2010 at 9:38 AM, Željko

[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] 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)

RE: [wtr-general] Re: Check out the Watir Stack Exchange site!

2010-08-13 Thread Jason Trebilcock
There’s a Watir forum on SQAForums. It has all of six Watir-related threads…it might be a interesting destination to switch efforts to. From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Chan Nguyen Sent: Friday, August 13, 2010 3:26 PM To:

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

RE: [wtr-general] Re: facing issue with clicking buttons

2010-07-27 Thread Jason Trebilcock
Or, someone might take the lazy way out and use the ruby-gmail gem. But that's just me. Automating email handling through some sort of client (web, Outlook, etc.) is just plain dumb. I sometimes use something similar in Perl if/when I need to generate/send email. When all you have is a hammer,

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

RE: [wtr-general] Dialog boxes..

2010-07-02 Thread Jason Trebilcock
Watir for non-web applications? No. Ruby for non-web applications? Possibly. Couple of resources to consider: Scripted GUI Testing with Ruby by Ian Dees Everyday Scripting with Ruby by Brian Marick It all depends on what you're trying to do. (Not sure how this relates to dialog

Re: [wtr-general] How to create a file and save it.

2010-06-03 Thread Jason Trebilcock
Watir is really a tool for interacting with web applications. For what you want to do, you may want to rephrase the question as being Ruby-specific and not related to Watir. Further, you may want to invest a little time researching your problem. There are plenty of resources available to help

[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

RE: [wtr-general] method_missing due to bad html?

2009-12-10 Thread Jason Trebilcock
Tom, If you try to execute each line of your script through irb, what kind of results are you seeing? I was able to execute your script without issue on my machine here (Windows 7, Ruby 1.8.6, Watir 1.6.5). Part of me is wondering if what you're running into is some sort of permissions issue.

[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread Jason Trebilcock
In a previous email, you indicate that you're running Watir 1.4.1. But, the below indicates that you're on 1.6.2. In any case, I tried running your code and it worked fine. (What happens if you switch the require 'watir' and require 'rubygems' lines? Could that be the source of your problem?

[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread Jason Trebilcock
to watir 1.6.2 and I also switched the lines but I still got the same output. On Nov 10, 9:00 am, Jason Trebilcock jason.trebilc...@gmail.com wrote: In a previous email, you indicate that you're running Watir 1.4.1. But, the below indicates that you're on 1.6.2. In any

[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-09 Thread Jason Trebilcock
Per http://wiki.openqa.org/display/WTR/include+Watir Don't use 'include' On Mon, Nov 9, 2009 at 3:49 PM, tester86 sagar.am...@gmail.com wrote: I am trying to run a watir script: require 'watir' include Watir ie = Watir::IE.new ie.goto(http://google.com;) ie.text_field(:name,

[wtr-general] Re: uninitialized constant Watir::PageContainer::Win32

2009-10-30 Thread Jason Trebilcock
See Bret's comment here (Nov 13, 2008, 12:17 am): http://groups.google.com/group/watir-general/browse_thread/thread/f3d3d8f602 3890cb/016c62b5a5ff6fb6 Tested it locally and it worked for me. -Original Message- From: watir-general@googlegroups.com [mailto:watir-

[wtr-general] Re: Answering incomplete requests

2009-10-23 Thread Jason Trebilcock
Seems to me, if we're receiving 'incomplete requests', then maybe there's a way to drive towards more complete requests. In the LoadRunner forum on SQAForums, they're pretty militant about getting environment information upfront before they'll answer questions. Maybe if we adopted some sort of a

[wtr-general] Re: cannot register window class in IE8

2009-10-22 Thread Jason Trebilcock
Couple of thoughts in the following: http://www.microsoft.com.nsatc.net/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.internetexplorer.betatid=77003381-d793-4236-a6a6-5466c779b85dcat=lang=cr=sloc=p=1 In a nutshell, three potential options: 1. Ctrl-F5 2. Delete temporary internet

[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] Re: Does Watir support PHP based technology

2009-09-02 Thread Jason Trebilcock
In addition to Željko's answer... Are there other modules required to be installed along with Watir? Short answer: No. Longer answer: It depends on what you want to do. If the sole focus of your testing is the web front-end, then you are probably safe not having to install any other gems. But, if

[wtr-general] Re: ERROR: http://gems.rubyforge.org/ does not appear to be a repository ERROR: could not find gem watir locally or in a repository

2009-08-14 Thread Jason Trebilcock
Run the following at the command line:gem sources This will list out the sources configured on your system. And, if that fails, then try the following: gem env This lists out your current RubyGems environment. And if all of those fail, then I'd be willing to hazard a guess that you may want to

[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: 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] 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: 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: 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] 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: 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] 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: 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: 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: 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-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-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: 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] 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: 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] 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: 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

[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: 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] 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] 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: 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] 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: 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] 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] 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] 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] 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: 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] 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: 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: 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] 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.

  1   2   >