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

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

2009-04-27 Thread jason
; into an array, you can use this: > > contents = ff.form(:index, 1).select_list[1].getAllObjects > > -George > > On Apr 25, 1:25 pm, jason wrote: > > > I have looked around and found no love on this subject. > > > I would like to "discover" the te

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

2009-04-27 Thread jason
Ah getAllContents Thanks!! works. On 27 Apr., 10:11, jason 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, Ge

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

[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 wrote: > Hello everyone, > > I have a website that is generated dynamically (jsp). > I would like to use

[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. --~--~-~

[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 wrote: > Hi, Jason. > > After hacked a

[wtr-general] Re: Traversing nested elements

2009-05-14 Thread jason
page. does that make any sence?? On 13 Mai, 09:31, Gofu 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 to do thi

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

2009-05-27 Thread jason
nknownObjectException) does anyone have any ideas on this?? help would be highly appreciated!! Jason. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, s

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

2009-05-29 Thread jason
_list(:id,"LOV6") > > - Original Message > From: jason > To: Watir General > Sent: Wednesday, May 27, 2009 6:02:01 AM > Subject: [wtr-general] forms in subframes - elements not found > > Hi - here is the issue, > > to get some element of a form - yo

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

2009-05-29 Thread jason
rm(:name, "lay0803234_src350a").select_list(:id, > "LOV6") > > :index rather than index > > -Original Message- > From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] > On Behalf Of jason > Sent: Wednesday, May 27, 2009 6:02 AM >

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

2009-06-02 Thread jason
is not working then somthing is wrong with the jssh installation... Jason. On 2 Jun., 09:44, Chethan 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 insta

[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 wrote: > I tried it. still no use, I did the Jssh installation > f

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

[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 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 2, 3:04 p

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

2009-06-03 Thread jason
# {DOCUMENT_VAR}.getElementsByTagName(\"#{tag}\");" Totally, totally rubbish 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.

[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 wrote: > > ff.frame(:index, 1).form(:name, "lay0803234_src350a").select_list(:id, > > &q

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

2009-06-03 Thread jason
orm(:name, "lay0803234_src350a").select_list(:id, "LOV6") .inspect Thanks a million.... On 3 Jun., 17:03, aidy lewis wrote: > Hi Jason > > How then would you explain this? > >  require 'rubygems' >  require 'watir' > >  ['watir&

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

2009-06-04 Thread jason
atir::Browser.default = '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 wrote: > Hey I know you want to l

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

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

2009-06-04 Thread jason
helps for anyone 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 wrote: > Chuck, > > Thanks a lot for your thoughs. > > Of course you are right with t

[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 wrote: > Hi All, > > When I try to set some value to the text field (In Firefox) using .

[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 wrote: > ok - so just for documentations sake i found the bug in the firewatir > "locate_tagged_element" code in MozillaBaseElement.rb >

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

2009-06-06 Thread jason
ny brillinat ideas out there?? Please let me know. Thanks a million Jason. On 5 Jun., 20:37, Chuck van der Linden wrote: > Ok I've not tried this, but as far as I know you COULD install the > watir gem, you just could not run it with the browser set to IE since >

[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 wrote: > Hi folks, > I&#

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

2009-06-08 Thread jason
how about... ie.html.match(//)[0] jason On 8 Jun., 08:35, Wesley Chen wrote: > Hi, Guys, > I turn to one of the page in my system, view the page source, it displays: > * "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> > > http://www.w3.org/1999/xhtml";

[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 wrote: > Hi, Jason, > Thank you very much, it works. But really complex. > Thanks. > Wesley Chen. > > 2009/6/8 Jonny Xu > > > Hi Wesley, > > > Hope this is what you want. > > >http://w

[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 wrote: > Hi Krian, > > I have just tried this out for you which works - so

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

[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, "

[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 wrote: > Your code is wrong - line is using puts ??? > > ie.textfield(:name, "multiChoiceAnswers").set(answers.each do |item| >

[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 wrote: > Hi, guys, > By the following code, I can get google search text field's "autocomplete" > attribute value. > *requ

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

2009-06-08 Thread jason
ts ie.frame(:index, 1).form(:name, "q").text_field(:name, "autocomplete" ).type puts ie.frame(:index, 1).form(:name, "q").text_field(:name, "autocomplete" ).value On 8 Jun., 14:40, Wesley Chen wrote: > Hi, Jason, > Thank you for your quick reply. > A

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

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

2009-06-15 Thread jason
d. hoping that i am missing 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@g

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

2009-06-16 Thread jason
in the iframe, that also worked as expected. So I really am 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 J

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

2009-06-17 Thread jason
:48, Angrez Singh 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

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

2009-06-17 Thread jason
alue="whatever" #fill 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

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

2009-06-17 Thread jason
r the form get 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 probl

[wtr-general] Re: using Rails routes

2009-06-17 Thread jason
ld do 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 wrote: > Hello guys, > I'm new to watir: I have just discovered it through "Cucumber and >

[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 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 Submit button, I s

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

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

2009-06-26 Thread jason
then some time later @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

[wtr-general] Re: Elements supported by Watir

2009-10-18 Thread Jason
ents? - Jason On Sep 29, 5:08 am, Bret Pettichord wrote: > On Sep 28, 4:54 am, Željko Filipin > wrote: > > > Do we have a place where all elements (link, image, button...) supported by > > Watir are listed? > > > Is this list complete? > > >http://wiki.openqa.o

[wtr-general] Re: Elements supported by Watir

2009-10-19 Thread Jason
Of course, that would do it. Thought I had upgraded, evidently not - I was still running 1.6.2. Cheers, - Jason On Oct 19, 5:30 pm, Bret Pettichord wrote: > I think I'm running the latest version of Watir: 1.6.5 rc1 or thereabouts. > > Bret > > > > > > Jason wr

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

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

[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
ecific examples 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 uns

[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 wrote: > On Fri, Jul 23, 2010 at 1:46 AM, Jason wrote: > > This is really more about accessing rubygems and installing *anything* > > from behind a proxy, but for myself the whole purpose of installing > > Ruby and

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

[wtr-general] Re: Watir on Ruby 1.9.2

2010-09-09 Thread Jason
1:35 am, Ethan wrote: > Vapir does work on 1.9.2. > > On Thu, Sep 9, 2010 at 07:26, Željko Filipin > wrote: > > > > > On Thu, Sep 9, 2010 at 6:18 AM, Jason wrote: > > > I'm in a slight quandry where Rails3.0 requires ruby 1.9.2, but Watir > > >

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

[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: http://lisacrispin.com/category/continuous-integration/

[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, http://blog.utest.com/testing-the-limit

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

2008-12-01 Thread Jason
tests in Watir 1.6.2 just fine. 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 ve

[wtr-general] Re: Read text from a text_field

2009-01-08 Thread Jason
Try: $ie.frame(:index, 3).frame(:index, 3).form(:name, 'configSnmpAccess').text_field(:name, 'accessIpAddress?3').value - J --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this gro

[wtr-general] count the number of elements (without divs.find_all)

2009-02-04 Thread Jason
I've got anywhere from 1 to 10 elements on my page with the same class. I want a robust and quick way of determining how many, or iterating through each of these divs. divs.find_all does the job, but it's rather slow because it appears to be iterating through EVERY on my page (300+) and then

[wtr-general] Re: count the number of elements (without divs.find_all)

2009-02-09 Thread Jason
Beautiful. html.scan is exactly what I was after, that does the trick immensely faster. Thanks Jarmo. - Jason Jarmo Pertman wrote: > try something like: > puts $ie.html.scan(/ > pay attention to the " part. If you get 0 results, try it with '. > Also, it is possible t

[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 (),'Accounts')]").

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

2009-02-13 Thread Jason
anks Wesley, your help is appreciated. - Jason On Feb 13, 6:26 pm, wesley chen wrote: > You may try this: > > levelone_dropdown = 'Accounts' > $browser.element_by_xpath("//dl/dt[contains(text > (),'#{levelone_dropdown}')]").click > > Thanks. > Wesle

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

2009-03-26 Thread Jason
word})" it tends to pickup the incorrect Module and try to execute the *other* version 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. -

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

[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 wrote: > > > > > I have looked and looked through the docs and I simply cannot find an > > answer to this. > > > after calling > > > doc = firefox.g

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

2009-04-02 Thread jason
, 5:21 pm, jason 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_u

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

2009-04-02 Thread jason
l, presumably this was something like > frame 0 or the main browser. I dont remember if this ever got resolved 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 > >

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

2009-04-03 Thread jason
y 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 wrote: > > > > > I descided to add the method get_frames and refactor show_frames in > > the firefo

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

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

2009-04-03 Thread jason
- the first button. > > -c > > On Fri, Apr 3, 2009 at 11:23 AM, jason wrote: > > > > > 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,

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

[wtr-general] Re: Test Results Report Methods

2009-04-20 Thread Jason Shelton
) and then I use xsl to transform them > > to html. It's not the best and I'm working on better reporting in my > > next framework. I'll be using Rails, so I'll likely store results in > > MySQL and then make reporting pages in the Rails app. > > > > -T

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

[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 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 wrote: > The Watir IE object is instantiated through OLE (I believe or it could be > COM), wh

[wtr-general] Re: Help needed in automation using Watir

2009-05-14 Thread Jason Shelton
I use a tool called PageSpy. http://www.sembel.net/ - Shelton > Date: Thu, 14 May 2009 14:37:00 +0530 > Subject: [wtr-general] Re: Help needed in automation using Watir > From: karim@gmail.com > To: watir-general@googlegroups.com > > > you can use the IE developer tool bar on IE and

[wtr-general] Install/Uninstall

2009-05-27 Thread Jason Shelton
All, I am building an automated acceptance test for our nightly builds. I need to write a script that will constantly check the install directory for the new build, uninstall the previous build, and install the new build. Does anyone have an algorithm for this process? Is there a way to

[wtr-general] Re: Office 2007 - Excel

2009-06-08 Thread Jason Shelton
I have upgraded to 2007, and my tests still work fine. > Subject: [wtr-general] Re: Office 2007 - Excel > Date: Mon, 8 Jun 2009 08:42:26 -0500 > From: dduph...@redbrickhealth.com > To: watir-general@googlegroups.com > > > Shouldn't be a problem. > > > > -Original Message- > From: wa

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

[wtr-general] Re: Identifying objects when browser window has no toolbar

2009-10-16 Thread Jason Trebilcock
It seems like a simple solution would be to press Ctrl-N from within the 'small browser' to open a full browser. (Idea from: http://social.msdn.microsoft.com/forums/en-US/iewebdevelopment/thread/fdc9c2 90-7fce-413c-bdec-d1985b6b4290/ comment by Rob Adams on 1/17/2008 - gotta give credit where cred

[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.beta&tid=77003381-d793-4236-a6a6-5466c779b85d&cat=&lang=&cr=&sloc=&p=1 In a nutshell, three potential options: 1. Ctrl-F5 2. Delete temporary inter

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

[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- > gene...@googlegrou

[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 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, "q").set("watir") >

[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? Furt

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

2009-11-10 Thread Jason Trebilcock
; > > > > It would help if you printed the error and stack trace that you are now > > > getting. > > > > > Bret > > > > > tester86 wrote: > > > > This morning I just upgraded to watir 1.6.2 and I also switched the > > > > l

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

2009-12-10 Thread Jason Trebilcock
issue. Here's a copy of my irb session (note: I was also able to run things in a script without issue): Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\jason>irb irb(main):001:0> require "watir" => true irb

[wtr-general] Watir calling web services

2010-05-10 Thread Jason Shelton
Hello, I am writing to ask if anyone has used Watir for web services/API level testing. If so, how? If not, what tools would you recommend for this testing? Thank you in advance for any help that you may provide. __

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 you

RE: [wtr-general] How to read a google doc or send a google mail?

2010-06-17 Thread Jason Trebilcock
Y’know, if’n you want to work with Gmail, there’s an app for that…or, more accurately, there’s a gem for that. http://dcparker.github.com/ruby-gmail/ Sometimes it’s better to work below the UI when it comes to email. From: watir-general@googlegroups.com [mailto:watir-gene...@googlegro

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 b

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, eve

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: watir-general

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 Fi

[wtr-general] Watir and the Automated Build Process

2011-07-05 Thread Jason Shelton
If so, how? 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-genera

[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 = b.performance.summary[:response_time]/1000

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: Su

  1   2   >