Hi everyone
In my application I want to assert on the color of the row of a particular
table.
Based on the certain rules the color of these rows are changing.so every
time i need to assert on those .
Thank you in advance
___
Wtr-general mailing list
Hi all ,
The html code looks like this
td style='background-color:#33FFCC; color:#CC0033'
a href=#
onClick=populateLinks('subscriber_info',event, 'Recharge Info,Caller
Subscriber Info', '2,4', '1,0','+919812005762'); return
highlightRow('2');
Hi all,
I want to open a link in new winow(By right clicking the link we can say
open in new window).
How this can be achieved in watir.
Regards
Ajitesh S.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Ajitesh Srinetra
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi Bret
This is one sample testcase
require File.dirname(__FILE__) + '/../../../test_helper'
require File.dirname(__FILE__) + '/../../../Methods/ProcessRecords'
require File.dirname(__FILE__) + '/../../../Methods/RuleCreation'
class RuleTemplateWithRule_test Test::Unit::TestCase
def setup
Hi Bret
Sorry I missed the wrapper code that i have written
require 'watir'
include Watir
include SupportsSubElements
module SupportsSubElements
def _getNikiraLink(links, how, what)
link = nil
case how
when :index
begin
You can use
ie.fileField(:id, 'file_name').set(D:/Files/filename.txt)
Ajitesh Srinetra
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi All
In my Application I have one link which puts the data from a table on the
web-page to a pdf .
Now can i assert on the contents of this PDF file through watir
Can the same be done with excel and text files
Ajitesh Srinetra
___
Wtr-general
and throwing error
NoMethodError: undefined method `yday' for main:Object
from (irb):13
I have seen in date.rb the function, yday() is present so no problems with
ruby version
Ajitesh Srinetra
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http
=padding: 5px; 400.00 /td
td align=right style=padding: 5px; 400 /td
td align=right style=padding: 5px; 40 /td
/tr
I tried ie.table (:id,'tbl_show_records')[5][1].style but i am getting
#WIN32OLE:0x2dad28c as the returned value.
Thanks in advance
Ajitesh Srinetra
Hi Sapna,
The HTML code was not there , But you can try this
string=ie.link(:id,'yourlink'sID').text
mytext=string.split(' ') #Separated by space
yourtext=mytext[mytext.length - 1]
For more help you can refer array class in ruby
Let me know if it is helpful
Ajitesh
:fill_save_image_dialog
end
In the above code if we change ' Save Picture' with 'File DownLoad ' and
put the same in Button class , the same should work for File download. Am I
right with this ?
Thanks and Regards
Ajitesh Srinetra
___
Wtr-general mailing list
Wtr
You can look into
http://wiki.openqa.org/display/WTR/FAQ
It will tell you about the installation steps as well as the source .
Look for Installing a gem from the latest development source .
I hope it helps
I
___
Wtr-general mailing list
13 matches
Mail list logo