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
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
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:
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
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
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
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
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
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
> 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
,
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
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
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
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
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
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:>
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
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
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
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
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
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
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
? 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.
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
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
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
.
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
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
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
--~--~-~--~~
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
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
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
---
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
-
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
--~--~-~--~~~-
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
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
seperate log file, for debug
purpose.
1) Failure:
test_a_orderPlacement(BeboStickerbook)
[./Product.rb:14:in `AccessProductFromHomePage'
C:/natasha/RubyScripts/FinalAutomatedTests/Stickerbook_be
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
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
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
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 =
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
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
.
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
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
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
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'
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
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
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
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
end
end
if found == 2
break
end
end
======
Thanks,
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
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
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,
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
--~--~-~--~~~-
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
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
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/
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
,
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.
,
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.
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&
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
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:
. 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
"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
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
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
70 matches
Mail list logo