Hi Tiffany,
Thanks for your reply.
I was not able to do using this method.
Our poblem is between the tabs we are having images and there is no
links corresponding to the tabs,the html code for the tabs is shown
below
TR
TD NOWRAP STYLE=cursor:hand; ONCLICK=goToUrl('/
Hi,
The code that I have written is as shown below.When I try to run this
script,No Method Error is shown at the line where '#Error shown here'
is written.I have gone through various posts but am not able to figure
out the exact cause for this error.Please can anybody help me with
this.It is not
Hi Swatha,
1. Are those TABS are standard tabs or will change based on the user
data?
2. Could you confirm that is there any Ajax calls when you are
navigating from one tab to another?
3. Verify the index property of each tab when moving from one tab to
another. Index property might be get
You can use begin rescue ensure statement for exception handling, this
is the exception handling syntax for ruby
begin
code
rescue e
. write to file the description of failure
ensure
... close the database connection
end
On Mon, May 4, 2009 at 2:36 PM, sHiVa krapa.ph...@gmail.com
Hi all,
While running my test suite, if any exception is raised, that is
handled by my driver program and rest of the scripts are executing
smoothly. But if any unexpected popup which is not expected on the
application, then total script is getting blocked from execution. Can
any one give me an
I am able to handle known and unknown exceptions. The main problem
is, if some unexpected popup alert is appeared in the application how
can i handle it? With out click the alert popup, my script will never
move on.
My Idea of handling unknown popup alert is handling with threads. One
thread
Hi,
thanks shiva
1) Those tabs are standard tabs
2)
3)there is no index property avilable for the property
the properties/attributes that are available in the IE developer tool
are as follows
Namevalue
1) Class tabselected
2)
On Fri, May 1, 2009 at 15:02, ash ashbr...@gmail.com wrote:
I don't really know Ruby yet
And if you want to know what can you do with strings in Ruby (for future
reference):
http://www.ruby-doc.org/core/classes/String.html
Željko
--~--~-~--~~~---~--~~
You
On Mon, May 4, 2009 at 07:35, spike vinaykumarl...@gmail.com wrote:
can i get the
solution's for WatiN here.
Maybe, if you tell us what the problem is.
Also, you will probably get better support at watir forum:
http://sourceforge.net/mailarchive/forum.php?forum_name=watin-users
Željko
or goto the command line
ri String
ri String#split
Aidy
2009/5/4 Željko Filipin zeljko.fili...@wa-research.ch:
On Fri, May 1, 2009 at 15:02, ash ashbr...@gmail.com wrote:
I don't really know Ruby yet
And if you want to know what can you do with strings in Ruby (for future
reference):
Hi Shweta,
Index property will not visible to you. Just use it as a supporting
property along with other property.
Index values for each tab should be 1- first tab
2- Second tab
3- Third tab like
This happens due to the fact, that Watir::IE#exists? does just
@ie.name =~ /Internet Explorer/, which returns nil or a number.
But, since in Ruby everything except nil or false will be treated as
true, then you can still use it as regularly like this:
if $browser.exists?
# do this
else
# do
Hi George,
According to my knowledge, these are the applications you can automate
using win32ole.
Ms Word
Ms Excel
Ms PPT
MS Out look,
Internet Explorer
Regards
Siva Phaneendra krapa
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
I got following error when I try to run unit tests from location C:
\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\unittests\core_tests.rb
==
ruby core_tests.rb
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load --
Hello Satish,
Unit test will currently not run properly 'out of the box' with Watir
ver 1.6. Please
follow this link: http://wiki.openqa.org/display/WTR/Run+the+Watir+Unit+Tests
Best regards,
Darryl
On May 4, 1:06 pm, satish spanchumar...@gmail.com wrote:
I got following error when I try
Hi Darryl,
I followed all the instructions in that page.
Still I could not do it.
Please help me.
Thanks
Satish.
On May 4, 1:20 pm, Darryl (gem dandy) Brown d-l-
br...@roadrunner.com wrote:
Hello Satish,
Unit test will currently not run properly 'out of the box' with Watir
ver 1.6.
Hello Chandu,
Sorry, I didn't finish my thoughts at the end of the earlier reply -
For future posts, it is advisable to reduce the script down to the
problem
area if possible. In this case, perhaps leave off the lines after the
jsclick call.
Regards,
Darryl
On May 4, 1:12 pm, Darryl (gem
Hello Satish,
I have not attempted to run the Unit tests. I just recalled reading
that page when
I started with Watir several months ago. I'll update again if I can
help more.
Regards,
Darryl
On May 4, 1:38 pm, satish spanchumar...@gmail.com wrote:
Hi Darryl,
I followed all the
Hi Paul,
Can you please let us know what you did you to get this Unit Tests to
work. I am having same problem too.
Can you please let me know where to create that folders and what to
copy etc.
Really appreate your help.
Thank you very much.
Satish.
On Apr 9, 11:35 am, Moochie
This might help for some one to respond to me.
Actually Paul posted saying he is able to fic this problem by creating
a folder but he did not give any details there.
Hey All,
I've been trying to use firewatir to retrieve some xml data from a
server endpoint. At first I thought I could use the browser.html
method to simply return the page source. Unfortunately I received the
following error :
htmlTypeError: htmlelem is undefined/html
I did some googleing
Are using /#{value}/ syntax for regular expression?
On Thu, Apr 30, 2009 at 1:29 AM, Prince3105 prince3...@gmail.com wrote:
Hi All,
I am a newbie to Watir and Ruby. I use below function for login
process. As per user's Role Rights the user can navigate to the
permitted pages. Initially
There is a nice post here already on this. Please go through that.
Thanks
Satish.
On May 4, 5:34 pm, Anu Gangavaram anuwri...@gmail.com wrote:
Are using /#{value}/ syntax for regular expression?
On Thu, Apr 30, 2009 at 1:29 AM, Prince3105 prince3...@gmail.com wrote:
Hi All,
I am a
Hello,
I am working drop down lists...(select_list).
I want to know what is currectly selected. Both 'getAllContents' and
'text' is returning all of them available in drop down box. I just
need a item that is currently selected.
puts ie.select_list(:id, 'SelectList1').getAllContents
puts
Hi Satish!
Give this a try:
puts ie.select_list(:id, 'SelectList1').value
Hope this helps!
-Tiffany
On May 4, 3:54 pm, satish spanchumar...@gmail.com wrote:
Hello,
I am working drop down lists...(select_list).
I want to know what is currectly selected. Both 'getAllContents' and
'text' is
Did you know: Extra value is what you get, when you buy Coronet!
I don't know why I thought of that...or why I even bothered typing it
out.
On May 4, 3:05 pm, Tiffany Fodor tcfo...@comcast.net wrote:
Hi Satish!
Give this a try:
puts ie.select_list(:id, 'SelectList1').value
Hope this
I keep thinking I'd like to have access to a celerity-style driver
when I'm running from normal Ruby for faster feedback...Is this on the
radar? What would be required to get celerity to run under Ruby
rather than JRuby?
Jared
You could run your tests throughCeleritywhich wraps HtmlUnit in a
Check this out.
http://github.com/langalex/culerity/tree/master
It makes it possible to run watir test using celerity
from C-Ruby.
You need jRuby and Celerity though.
Regards,
Manish
Jared wrote:
I keep thinking I'd like to have access to a celerity-style driver
when I'm running from normal
Hi
How to handle file download popup. i've scenario where if i click on a
button a filedownload popup will open and i need to click on the save
button and specify path to save the file. how to do it? please
suggest some solution.
On May 4, 5:12 pm, Željko Filipin
Hey Spike,
I'm not too familiar with WatiN, but I do know that you can set the
path using file_field
$ie.file_field(:name, blah).set file_path
On May 4, 9:10 pm, spike vinaykumarl...@gmail.com wrote:
Hi
How to handle file download popup. i've scenario where if i click on a
button a
30 matches
Mail list logo