[wtr-general] Re: Automating a File uploader popup

2009-06-18 Thread Natasha Ranney
to handle this. Thanks, Natasha From: orde To: Watir General Sent: Thursday, 18 June, 2009 1:33:32 Subject: [wtr-general] Re: Automating a File uploader popup Hi Natasha (and all)-- This might be OT, but I'll throw it out there because you mentioned fl

[wtr-general] Re: Automating a File uploader popup

2009-06-17 Thread Natasha Ranney
n(:id,"spnUploadButton").click NOTE: I tried both click method as well as fire_events. None worked. Thanks, Natasha From: al3kc To: Watir General Sent: Wednesday, 17 June, 2009 9:17:37 Subject: [wtr-general] Re: Automating a File uploader popu

[wtr-general] Re: Automating a File uploader popup

2009-06-16 Thread Natasha Ranney
o MOO And the above is using a Flash method to invoke File uploader. Thanks, Natasha From: Željko Filipin To: watir-general@googlegroups.com Sent: Tuesday, 16 June, 2009 12:46:15 Subject:

[wtr-general] Automating a File uploader popup

2009-06-16 Thread Natasha
Hi All, One of the links on our company website invokes a file uploader popup window. Techinally its a Flash method that calls the native OS file browser and then handles the response. Is it possible to automate it using Watir or any Ruby library? Thanks, Natasha

[wtr-general] Automating a File uploader popup

2009-06-16 Thread Natasha
Hi All, One of the links on our company website invokes a file uploader popup window. Techinally its a Flash method that calls the native OS file browser and then handles the response. Is it possible to automate it using Watir or any Ruby library? Thanks, Natasha

[wtr-general] Re: Saving xml contents of a page shown on screen

2009-05-19 Thread Natasha Ranney
Thanks Željko :) The href attribute worked fine. Regards, Natasha From: Željko Filipin To: watir-general@googlegroups.com Sent: Tuesday, 19 May, 2009 11:30:30 Subject: [wtr-general] Re: Saving xml contents of a page shown on screen On Tue, May 19, 2009 at

[wtr-general] Re: Saving xml contents of a page shown on screen

2009-05-19 Thread Natasha Ranney
lurl = $ie.link(:text,"test").url But it failed, saying that url is not valid method. Thanks, Natasha From: Alex Collins To: watir-general@googlegroups.com Sent: Monday, 18 May, 2009 20:05:24 Subject: [wtr-general] Re: Saving xml contents of a page

[wtr-general] Saving xml contents of a page shown on screen

2009-05-18 Thread Natasha
that manually by clicking on File menu option of the browser and selecting Save As option. Is there a way I can manully save the output of the entire page as an XML file? Thanks, Natasha --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[wtr-general] Re: Watir users: What is your role at work?

2009-03-16 Thread Natasha Ranney
is how I got to learn about Watir and I enjoy working with Watir. So far I have used Perl and Ruby is quite similar to Perl. Manual testing can become monotonous and hence doing automation using Watir makes the job interesting. Cheers, Natasha

[wtr-general] Re: Where to hold public training?

2009-02-13 Thread Natasha Ranney
> supporter I am in London quite frequently :-) > > On Feb 13, 11:13 am, aidy lewis wrote: > > Natasha, > > > > I am based in London: if we could get 5 or 6 people we could form a > > user-group. > > > > But there is also LRUG: http://lrug.or

[wtr-general] Re: Where to hold public training?

2009-02-13 Thread Natasha Ranney
, Natasha --- On Fri, 13/2/09, aidy lewis wrote: From: aidy lewis Subject: [wtr-general] Re: Where to hold public training? To: watir-general@googlegroups.com Date: Friday, 13 February, 2009, 3:43 PM Natasha,I am based in London: if we could get 5 or 6 people we could form a user-group. But there is

[wtr-general] Re: Where to hold public training?

2009-02-13 Thread Natasha Ranney
Is it possible to have some in London? Not sure if there are any Watir users in London. Thanks, Natasha --- On Fri, 13/2/09, niartseoj wrote: From: niartseoj Subject: [wtr-general] Re: Where to hold public training? To: "Watir General" Date: Friday, 13 February, 2009, 4:53 AM

[wtr-general] Re: Unable to install WATIR on VM client machine

2009-02-04 Thread Natasha Ranney
Hi Aidy, That worked :). I just tried executing a very simple Ruby script. Let me try executing my actual test scripts. Thanks a lot, Natasha --- On Wed, 4/2/09, aidy lewis wrote: From: aidy lewis Subject: [wtr-general] Re: Unable to install WATIR on VM client machine To: watir-general

[wtr-general] Re: Unable to install WATIR on VM client machine

2009-02-04 Thread Natasha Ranney
I also tried copying the entire gems folder from the machine where ruby+watir was installed, onto the VM client machine. Then tried executing the watir script, but it failed to execute. Let me try installing the gems one by one, after downloading the gems. --- On Wed, 4/2/09, Natasha Ranney

[wtr-general] Re: Unable to install WATIR on VM client machine

2009-02-04 Thread Natasha Ranney
Installables> ---- Thanks, Natasha --- On Wed, 4/2/09, Paul Rogers wrote: From: Paul Rogers Subject: [wtr-general] Re: Unable to install WATIR on VM client machine To: watir-general@googlegroups.com Date: Wednes

[wtr-general] Re: Unable to install WATIR on VM client machine

2009-02-04 Thread Natasha
Thanks Aidy. I have tried doing that. Its keeps prompting me to install other gems first. Its asking me to install activesupport gem. I have been looking for that gem. Regards, Natasha On Feb 4, 3:04 pm, aidy lewis wrote: > Try downloading the packaged gem and place on C: > > C:>

[wtr-general] Unable to install WATIR on VM client machine

2009-02-04 Thread Natasha
Hi All, I am having trouble installing WATIR on VM client machine. I have installed Ruby on the VM client machine. Now I have been trying to install Watir on it. I tried commands: gem update --system It simply hangs while executing the above command. Thanks, Natasha

[wtr-general] Re: Page load time script

2009-01-28 Thread Natasha
level and that Watir tests are > on real browser level. > Depending on the thickness of your client the response time of both > tools will be different. > > Cheers, > John > > On Jan 28, 1:49 pm, Natasha wrote: > > > Thanks Aidy. I don't mind using these optio

[wtr-general] Re: Page load time script

2009-01-28 Thread Natasha
back to you if I need help with these tools. Regards, Natasha On Jan 28, 12:37 pm, aidy lewis wrote: > Natasha, > > There easiest way to do this is to use BadBoy and JMeter. If you need > help with this drop me a mail off-line. > > Aidy > > On 28/01/2009, Natasha

[wtr-general] Page load time script

2009-01-28 Thread Natasha
as a cron job. It may not use Watir. Not sure if Ruby by itself can be sufficient. Any pointers will be helpful. Thanks, Natasha --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post

[wtr-general] Testing using Fake IP

2009-01-27 Thread Natasha
in which I can configure my machine IP, without much cost overheads, inorder to test it out. Thanks in advance, Natasha Ranney --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To po

[wtr-general] Re: Need to automate pressing of Enter key

2009-01-16 Thread Natasha
Thanks Darin. Just to sum up, the following statement worked: $ie.send_keys("{ENTER}") Thanks, Natasha On Jan 16, 2:46 pm, "Darin Duphorn" wrote: >   #Keyboard Click >   $ie.send_keys({enter]) > > -Original Message- > From: watir-general@goog

[wtr-general] Need to automate pressing of Enter key

2009-01-16 Thread Natasha
Hello All, I need to automate pressing the Enter key from the keyboard. Is there any key press function that Watir supports? Please could you provide the details. Thanks in advance, Natasha --~--~-~--~~~---~--~~ You received this message because you are

[wtr-general] Need to access File Open Window

2008-12-19 Thread Natasha
? If yes, please could you provide details. Thanks and regards, Natasha --~--~-~--~~~---~--~~ 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.

[wtr-general] Need help in accessing an element

2008-12-16 Thread Natasha
I want to click the link before the P tag having text ' by Chelsea Groves', rather then simply clicking on link having text ' Chelsea Groves Business Cards'. Thanks, Natasha --~--~-~--~~~---~--~~ You received this message because you are subscribe

[wtr-general] Re: Need to access the first LI element within an UL element

2008-12-12 Thread Natasha Ranney
Thanks Bret. It worked :) Regards, Natasha Bret Pettichord wrote: /Signed in as (.*)/.match(browser.ul(:id, 'ulInfoLinks').li(:index, 1).text)[1] Natasha wrote: > Hi All, > > I want to access the value of the LI element, which is within an UL > element. > > Fol

[wtr-general] Need to access the first LI element within an UL element

2008-12-12 Thread Natasha
Hi All, I want to access the value of the LI element, which is within an UL element. Following is the HTML structure: Signed in as username Basically I want to retrieve the name of the user that is logged in. Thanks, Natasha

[wtr-general] Need to check for existence of value in select_list based on regular expression

2008-11-28 Thread Natasha
. I tried to see if I can assert its existence using a single line of code. Do I need to loop through the values by getting the values populated into an array using getSelectedItems( ) method, for validation test? Thanks, Natasha --~--~-~--~~~---~--~~ You received this

[wtr-general] Re: Unable to execute assert method through Module

2008-11-28 Thread Natasha Ranney
Thanks Aidy. Somehow its started working again. I took a old version of my working test scripts and merged them. So far so good :) Regards, Natasha aidy lewis <[EMAIL PROTECTED]> wrote: Natasha, Try putting this include in your module include Test::Unit::Assertions Bret

[wtr-general] Unable to execute assert method through Module

2008-11-28 Thread Natasha
all succeeded\n\n" puts "Calling assert method from module method" NewTest.asserttest() puts "\n Called module method successfully\n\n" end end --- Thanks, Natasha --~--~-~--~~

[wtr-general] Re: Help required : Ruby code error

2008-11-27 Thread Natasha Ranney
Hi Aidy, Thanks for sharing the list of editors. I have just installed NetBeans and it looks good. Also I had posted one more query in my last email. Please could you help me with that, whenever you get a chance. Regards, Natasha aidy lewis <[EMAIL PROTECTED]> wrote: Hi Natasha, Belo

[wtr-general] Re: Help required : Ruby code error

2008-11-27 Thread Natasha Ranney
h the caller program. Thanks, Natasha Natasha Ranney <[EMAIL PROTECTED]> wrote: Hi Aidy/Charley/John, Thanks for helping me out :). It was such a stupid typo. I am using Notepad to write my scripts and at times I use SciTE. Now I am getting one more issue and am not understanding the reason

[wtr-general] Re: Help required : Ruby code error

2008-11-27 Thread Natasha Ranney
getting an error: NoMethodError: undefined method `assert' for Login:Module I have attached Login module and a test program that invokes its signin method. Thanks again, Natasha aidy lewis <[EMAIL PROTECTED]> wrote: Natasha, Lower case you 'I' in 'If' Also do

[wtr-general] Help required : Ruby code error

2008-11-26 Thread Natasha
--- If I remove IF construct from the method, it works fine. Other wise it gives an error " syntax error, unexpected kEND, expecting $end (SyntaxError)". Am I missing something here? Please help me. Thanks, Natasha -

[wtr-general] Looping through LI elements within a specific DIV tag

2008-11-24 Thread Natasha
Hi all, Is there a shortcut code for looping through all the LI elements within a DIV tag? I want to find number of LI elements within a DIV tag having id, 'listImages'. Also want to find id's of those LI elements. Thanks, Natasha --~--~-~--~~~-

[wtr-general] Re: Executing watir 1.6.2 scripts on MAC

2008-11-24 Thread Natasha Ranney
Thanks Bret. Yes adding the following made it work :) Also I found that my macbook makes a lot of noise while executing the test script. Not sure if this is consuming a lot of cpu process. Thanks, Natasha Bret Pettichord <[EMAIL PROTECTED]> wrote: You might need to add "require &#x

[wtr-general] Re: Executing watir 1.6.2 scripts on MAC

2008-11-20 Thread Natasha Ranney
r type in my options.yml file: browser: firefox Currently following gems are installed on my machine: firewatir(1.6.2) commonwatir (1.6.2) safariwatir (0.3.3) Thanks, Natasha --- sbourdea <[EMAIL PROTECTED]> wrote: > > Natasha, > > I had this pro

[wtr-general] Re: Handling assert failures effectively

2008-11-20 Thread Natasha Ranney
seperate log file, for debug purpose. 1) Failure: test_a_orderPlacement(BeboStickerbook) [./Product.rb:14:in `AccessProductFromHomePage' C:/natasha/RubyScripts/FinalAutomatedTests/Stickerbook_be

[wtr-general] Handling assert failures effectively

2008-11-20 Thread Natasha
neat and clean. Also this is the first time I am using assertion alongwith exception handling. So is there a better way to write it. Following is the output that I got: - C:\natasha\RubyScripts

[wtr-general] Re: Efficient code writing

2008-11-20 Thread Natasha Ranney
It has reporting mechanism, which will help me to generate execution reports. Regards, Natasha aidy lewis <[EMAIL PROTECTED]> wrote: Natasha, I would try to stay away from using globals and use an instance variable instead or pass your browser object across classes. You could use tradi

[wtr-general] Executing watir 1.6.2 scripts on MAC

2008-11-19 Thread Natasha
rror) 2. Also can I execute the script on safari? If yes, what should the browser.default setting? Thanks, Natasha --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this grou

[wtr-general] Efficient code writing

2008-11-19 Thread Natasha
Hi All, Can someone help me in writing better efficient code for the following: Following is a snippet of my of my tests: --- require 'watir' # the controller require 'test/unit' Watir.options_file = &#x

[wtr-general] Improving watir scripts efficiency and making them modular

2008-11-18 Thread Natasha
any/all of the above queries. I also try to read the postings in this group to get to know about the various approaches. Since this is the first time I am working on website automation, any pointers will be helpful. Thanks, Natasha --~--~-~--~~~---~--~~ You received

[wtr-general] Re: Rails test runner

2008-11-18 Thread Natasha Ranney
the testscript file, using pattern matching. Also can execute them remotely. When I came across your application, I found that it can be quick starter for me. In case you find a solution or an alternative solution, please let me know. Thanks, Natasha Bill Agee <[EMAIL PROTECTED]> wro

[wtr-general] Rails test runner

2008-11-18 Thread Natasha
. Installed: Ruby 1.8.6, Watir 1.6.2 and Rails 2.1.2. After doing so executed the runner_start.bat file. It just gave me following output: -- C:\natasha\RubyScripts\runner\runner

[wtr-general] Creating a test suite script

2008-11-18 Thread Natasha
rowser.new class test1 < Test::Unit::TestCase @@ordernum = 0 def test_a_orderPlacement end end -- Current issues with it: 1. Its running the tests against Firefox, though I have set Watir::Browser.default to ie. 2. Also it opens up 2 firefox windows, since there are 2 test script

[wtr-general] Re: Unable to type multi-line texts in textbox : Firefox

2008-11-14 Thread Natasha Ranney
I have two different pieces of code, for different pages: It worked for the first one and not for the second. This is on Firefox 2.0.0.18, with JSSH 0.9. Following is what I executed: $ie.text_field(:id,"txtLine1").set("Test 1\nTest 2") Thanks, Natasha Nathan La

[wtr-general] Unable to type multi-line texts in textbox : Firefox

2008-11-14 Thread Natasha
Hi All, I am unable to type multiline text in Textbox. Browser: Firefox 2.0.0.18 JSSH: 0.9 Watir: 1.6.2 Following is the command executed: $ie.text_field(:id,"txtLine1").set("Test \n test 2 ") It simply types 'Test \n' .. It doesn't print 'test 2'

[wtr-general] Re: Very slow typing speed for firefox 2 : watir 1.6.2

2008-11-14 Thread Natasha Ranney
Hi Aidy, Did you find any solution to this problem? In case, you find a solution, please share it with me. For now I am just typing fewer characters, when its being executed against Firefox. Thanks, Natasha aidy lewis <[EMAIL PROTECTED]> wrote: On 12/11/2008, Natasha Ranney wrote

[wtr-general] Re: Very slow typing speed for firefox 2 : watir 1.6.2

2008-11-12 Thread Natasha Ranney
object, as shown below: require 'watir' # the controller require 'test/unit' Watir.options_file = 'C:/natasha/RubyScripts/FinalAutomatedTests/options.yml' $ie = Watir::Browser.new --- Please let me know, if you need m

[wtr-general] Re: Very slow typing speed for firefox 2 : watir 1.6.2

2008-11-12 Thread Natasha Ranney
Hi Charley, I found the same behavior. It was typing at 1 character per second. Firefox version: 2.0.0.17 OS: Windows XP JSSH: 0.9 It would be great if you can sort this out. Thanks, Natasha Charley Baker <[EMAIL PROTECTED]> wrote: I'm seeing this happen with one of the people

[wtr-general] Re: Firefox 2 : WATIR 1.6.2 and table operations

2008-11-12 Thread Natasha Ranney
Thanks Bret. Is there any workaround that you can suggest? Bret Pettichord <[EMAIL PROTECTED]> wrote: We were not able to get table body support for firefox into this release. I have updated the compatibility matrix. Bret Natasha wrote: > Hi All, > > I am using Watir 1.6.2 and

[wtr-general] Firefox 2 : WATIR 1.6.2 and table operations

2008-11-12 Thread Natasha
end end if found == 2 break end end ====== Thanks, Natasha --~--~-~--~~~

[wtr-general] Very slow typing speed for firefox 2 : watir 1.6.2

2008-11-12 Thread Natasha
2") Is this a known issue? Is there anyway we can speep this up somehow? Thanks, Natasha --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-g

[wtr-general] Re: Test Environment setup : VMWare

2008-10-16 Thread Natasha
Thanks Tony. On Oct 16, 11:22 am, Tony <[EMAIL PROTECTED]> wrote: > Hi Natasha, > > I haven't tried anything like this, but you could create an exe file > using rubyscrip2exe. > Hence the need to install ruby and watir would not be there. Just run > the exe to

[wtr-general] Test Environment setup : VMWare

2008-10-16 Thread Natasha
n each of these hosts? I feel this would be required. Any pointers will be helpful. Thanks and regards, Natasha --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group,

[wtr-general] Exception Handling in WATIR

2008-10-13 Thread Natasha
eventhough one test case fails, the execution for the other scripts should continue. Just wanted to check with the group, if anyone has applied exception handling in their scripts or if there is a link to help me with this query. Thanks in advance, Natasha --~--~-~--~~~-

[wtr-general] Re: Tool to check a website for 404 errors [SEC=UNCLASSIFIED]

2008-10-10 Thread Natasha Ranney
Thanks Don. The solution you provided looks pretty good :) I did quickly try it out. It looks really good, but need to explore it a bit. Regards, Natasha Don Taylor <[EMAIL PROTECTED]> wrote: Security:[SEC=UNCLASSIFIED] Hi all I've just used HttpWatch (free version ) http://ht

[wtr-general] Re: Tool to check a website for 404 errors

2008-10-10 Thread Natasha Ranney
7;ll ask him first, I noticed his Watir blog hasn't been updated since Feb, does he still read this group I wonder? Cheers, Alister On Oct 10, 7:10 am, Bret Pettichord wrote: > You might take a look at Jim Matthew's Link Checker. > > http://www.io.com/~wazmo/blog/archiv

[wtr-general] Re: Tool to check a website for 404 errors

2008-10-09 Thread Natasha Ranney
corresponding links. I do plan to write one, will share it on the wiki, once its ready. Thanks, Natasha Alister Scott <[EMAIL PROTECTED]> wrote: Hi Natasha, This script I wrote should check for 404 errors and send an email when they are found. http://watirmelon.wordpress.com/2008/05/15/

[wtr-general] Re: Clicking a menu item

2008-10-08 Thread Natasha Ranney
Not sure. But, did you try the following: $ie.span(:id,"Id_Of_Span").link(:index,1).click Fatema Karim <[EMAIL PROTECTED]> wrote: Hi Tiffany, I have tried the Span with it's id but that did not work. On Tue, Oct 7, 2008 at 4:56 PM, Tiffany Fodor <[EMAIL PROTECTED]> wrote: Hi! Have you t

[wtr-general] Tool to check a website for 404 errors

2008-10-08 Thread Natasha
, Natasha --~--~-~--~~~---~--~~ 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://wiki.

[wtr-general] Tool to check a website for 404 errors

2008-10-08 Thread Natasha
, Natasha --~--~-~--~~~---~--~~ 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://wiki.

[wtr-general] Re: How to locate an INPUT element embedeed in a table

2008-10-08 Thread Natasha Ranney
Thanks Ravi & Cynthia. It worked :) Regards, Natasha Cynthia Zhang <[EMAIL PROTECTED]> wrote: This shall work as well: ie.form(:id,'login_form').text_field(:name, 'u_name').set'user' ie.form(:id,'login_form').text_field(:name, 'p_word&

[wtr-general] Re: How to locate an INPUT element embedeed in a table

2008-10-07 Thread Natasha Ranney
Thanks Tiffany. I will try that out. Just that this is not our code. This belongs to Fotolog. But anyways, will surely try out the options suggested and revert with my observations. Regards, Natasha Tiffany Fodor <[EMAIL PROTECTED]> wrote: Sorry, I should have included this in my or

[wtr-general] How to locate an INPUT element embedeed in a table

2008-10-07 Thread Natasha
error code:0x80020009 Exception occurred. c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/ input_elements.rb:334:in `method_missing' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/ input_elements.rb:334:in `set' C:/natasha/RubyScripts/FinalAutomatedTests/minicard_fotolog.rb:

[wtr-general] Re: Ruby integration with TestLink

2008-10-07 Thread Natasha Ranney
. Now that Manish has given me some pointers, I will check it out and get back with some more queries. Thanks and regards, Natasha Tim Koopmans <[EMAIL PROTECTED]> wrote: Natasha, there's an API already available which you could use as a client. As Manish has mentioned, it wou

[wtr-general] Re: Need help with input type : p (paragraph)

2008-10-07 Thread Natasha Ranney
"1").click $ie.text_field(:id,"txtLine1").set("Testing template postcardFooter\n Using blue color\n using center align \n Using New baby icon") $ie.p(:id,"pFooterHint").span(:index,"1").click $ie.text_field(:id,"txtLine2").set("Testing foote

[wtr-general] Need help with input type : p (paragraph)

2008-10-06 Thread Natasha
pan(:index,"1").click $ie.text_field(:id,"txtLine1").set("Testing template") Questions: 1. Can I set the value for paragragh directly? [$ie.p(:id,"pFooterHint").set("test") ] Please could you suggest something looking at the above code. Thanks and r

[wtr-general] Ruby integration with TestLink

2008-10-06 Thread Natasha
management tool? Thanks, Natasha --~--~-~--~~~---~--~~ 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