Dear All,
I just finished the web automation test use Watir.
Now I have new web project (base on .Net framework) may be use C# or
ASP.net.
I would like to know is Watir suitable for it.
Thank you and best regards,
Hue Mach
___
Wtr-general mailing
Hi,
You can use this method for increase Watir speed
ie.set_fast_speed
Regards,
Hue
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi All,
Currently, Watir input data into control so slow. Bc it input one by one
character.
But we can do this for increase watir input data into control by change
a little bit core code of watir
I change a little bit code in watir.rd and got the speed increase very
fast. I think the Watir
Hi All,
I have the one way work around in this case.
Normally, I still use method to_a read data in table.
So I flatten it to 1D array.
In the expected result, I also put it in 1D array.
By the way, I can compare value of both arrays.
Anyway, in some cases the compare result may be incorrect.
Hi All,
I have 2D array like this
A1: [[1,2,3],[4,5,6],[7,8,9]]
Now, I would like truncate the any column in array A1
For ex: A1: [[1,2,3],[4,5,6],[7,8,9]]
I truncate the column 1 of A1
The expected 2D array as like this
A2: [[2,3],[5,6],[8,9]]
Thank you for help
Hue
Hi,
I think the problem cause with
D:/Applications/ruby/lib/ruby/site_ruby/1.8/log4r/configurator.rb
don't know the base directory.
When I run the TC.rb from console the ruby interpreter get the current
directory as base path. So it executed without problem.
And in case I run it within
Hi,
I solve my problem as like this,
It work with my cases
string = ABC12345
numPos = string =~ /\d/
alpha = string.slice(0,numPos)
number = string.slice(numPos, string.length - numPos).to_i
Regards,
Hue Mach
___
Wtr-general mailing list
Hi,
I read the tutorial about WET framework (http://www.wet.qantom.org), It
seem good. Now I'm starting try it with my current project
Regards,
Hue
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Dear All,
I need split Character Numeric from string to 2 elements.
My string in some case as like this:
Case1: A13 - The result must be in array: [A, 13]
Case2: ACB12334 - The result must be in array: [ABC, 12334]
...
Thank you for help
Hue
___
Hi Raghu Venkataramana,
You mean define $input_test_data_path = '.\testdata.xls' in config.rb
file
use this variable in TC1, TC2
I have define it as $input_test_data_path = '.\testdata.xls', but I got
the exception
Thank you for help
Hue
___
Hi
I follow your ways, but it seem don't work
Here my script
string = ACB12334
puts string
string =~ /[A-Z]/
puts string
alphas = $
puts alphas
string = ACB12334
puts string
string =~ /[0-9]/
puts string
numerics = $
puts numerics
And I got the result:
ACB12334
ACB12334
A
ACB12334
ACB12334
1
Hi All
Currently, I define the fix path of test data. But in this way is not so
good when we run test script in other computer with difference folder.
Currently, The structure of my test script like this
--testScript
-- TC1
-- TC1.rb
-- TC2
-- TC2.rb
-- ..
-- Util
--
Hi All,
How can I check popup dialog exist or not
Thank you for help?
Regards,
Hue
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Dear ALL,
Does anyone have define all object in one file and these object
reference by other test cases like [QuickTest Pro] or [Silktest] object
repository
# ObjectRepository
require 'watir'
include Watir
@ie = IE.new
@obj_leftFrame = @ie.frame(leftframe)
@obj_btnSubmit =
Dear All
How can I get this Radio Button Text (in this case is Stepper or C/D)
The HTML code as below
..
tr
td class=sitemType/td
td input type=radio name=kind value=0
onClick=change_kind(); checked
Stepper
input type=radio name=kind value=1
onClick=change_kind();
Hi
I define click popup method like this:
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 ==
__FILE__
require 'watir'
require 'watir/WinClicker'
include Watir
def startClicker( button , waitTime = 0.5)
w = WinClicker.new
longName = $ie.dir.gsub(/ , \\ )
(Bret Pettichord)
7. Get 2D Array size? (Hue Mach Dieu)
8. Re: finding javascript-created browser window (Shao Kang Tat)
9. Re: finding javascript-created browser window (Kurt Sussman)
10. Re: Get 2D Array size? (Jared Quinert
Hi All,
I would like get data from table, but when view HTML code of this page,
I don't found the id of this table.
html
head
meta http-equiv=Content-Language content=ja
meta http-equiv=Content-Type content=text/html;
link rel=stylesheet type=text/css href=../style.css
script
18 matches
Mail list logo