You need JSSH plugin installed to your Firefox to run FireWatir tests,
http://wiki.openqa.org/download/attachments/13893658/jssh-20080725-Linux.xpi
$ruby your_test.rb
On Feb 25, 3:21 pm, amit onkar wrote:
> i have written the code in text editor and save it by .rb.
> But now how i should ru
i have written the code in text editor and save it by .rb.
But now how i should run it.
Can anybody help me for running it on ubuntu..
Please also send some links about firewatir on ubuntu.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Thanks charley,
I couldn't get the html source of the particular frame(Developers
blocked).
Just i want to know only one possible solution, can we use DOM in
watir. If is it possible does anybody have the snippet or workaround
or ref url? please post. IE developer tool bar shows the table cell's
I posted a long reply to your previous thread.
In short, visit http://www.itest2.com/help/install_recorder_manually.html
Zhimin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this
Hi there.
I just wanted to share something I found when looking at IE8
OS: WinXP
Ruby: 1.8.6
Watir 1.6.2
Browser: IE8 RC1
Problem:
When trying to set a file_field, the browser would open the dialog, but would
not actually choose the file.
It would appear that the browser would "hang" and none
iTest2/Watir Recorder installation
---
Download http://www.itest2.com/downloads/itest2recorder.xpi directly
and save the file.
Depends on your browser settings, safest way is to go to
http://www.itest2.com/downloads.html, right click link "iTest2 / Watir
Recorder P
Try this:
def connect(path_file)
excel = WIN32OLE::new('excel.application')
@my_workbook = excel.Workbooks.open(path_file)
end
def disconnect(path_file, workbook)
workbook.SaveAs(path_file)
workbook.close
end
Then you can call your methods like this:
connect("C:\\Spreadsheets\\MySpre
I had problems with the following html
Username
ie.text_field(:afterText,'Username').set("XXX") # fails
It seems the label tags cause a problem - likewise if they are any
other tags etc
Is this expected behaviour?
Paul
--~--~-~--~~~---~--~~
You received thi
Search for "multiple rescue clauses" in this url:
http://www.rubycentral.com/pickaxe/tut_exceptions.html#multiple
Thanks,
Al Snow
Agile Software Automation JumpStart/Turnaround Architect
My Blog of Links: http://the-neatest-stuff.blogspot.com/
Linkedin: http://www.linkedin.com/in/alsnow
Google Ta
can anyone tell me or send me tutorials how itest2recorder works and
can anyone send me a link where i can download full version of
itest2recorder?
its urgent.
thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
thnks for your helpbut when i clicked this link it gives me a zipped
folder which has some files but no installtion folder or file, so where
should i install it from?
itest2.com only has demo version of itest2.
and if possible can you tell me how can i use watir scripts and itest2
recorder toge
Problem solved in this way as indicated by a previous post:
gem uninstall win32-api
win32-api gem install - platform = x86 -mswin32-60
Excuse my English
Thank you very much.
On 24 feb, 17:09, Charley Baker wrote:
> Look through the mails for the past couple of days, there are a lots of
> posts
Hello,
thank you for your answer.
But in this:
#code
begin
#My code/script
rescue Exception
print "Your message"
How do I separate between different error messages?
As in if the error message is XXX - print this
or if error msg. is YYY - print that.
Or maybe this is an "ugly" way to do it??
Look through the mails for the past couple of days, there are a lots of
posts on this.
Charley Baker
blog: http://charleybakersblog.blogspot.com/
Lead Developer, Watir, http://wtr.rubyforge.org
QA Architect, Gap Inc Direct
On Tue, Feb 24, 2009 at 11:45 AM, Henry wrote:
>
> I can not solve the
Hi,
So I can write
> > def connect(workbook)
> > worksheet = workbook.WorkSheets(1)
> > #Manipulate the workbook cells as in i.e. get the cell values here
> > end
And have another method ´disconnect´
as this:
> > def disconnect(workbook)
> > workbook.close()
> > end
This will refe
I can not solve the following problem:
"Error uncertain that the application was not found msvcr80-
ruby18.dll"
This error occurred in 4 pc. And reinstall several times but continued
Watir and Ruby does not work.
I appreciate your help
Henry
On 18 feb, 13:31, Bret Pettichord wrote:
> some one el
Logged http://jira.openqa.org/browse/WTR-289
On Tue, Feb 24, 2009 at 8:52 AM, Bret Pettichord wrote:
>
> Not supported in FireWatir. You might want to add this to Jira.
>
> Bret
>
> Bill Mosteller wrote:
> > Thought I'd posted this last night, try, try again.
> >
> > I've got a script that's work
Ok got it - started getting a new error after attempting to install
the win32-api gem. I searched on this error and found a post by Bret
stating that the problem involves the following gems:
win32-api 1.3.0 or later
windows-api 0.3.0 or later
windows-pr 0.9.9 or later
I ran "gem update" on each
Sorry, my fault, try this:
gem install win32-api --platform=x86-mswin32-60
I missed a couple of letters. :)
Charley Baker
blog: http://charleybakersblog.blogspot.com/
Lead Developer, Watir, http://wtr.rubyforge.org
QA Architect, Gap Inc Direct
On Tue, Feb 24, 2009 at 10:14 AM, AR wrote:
>
>
I'll try that, thanks. I did a search for the error number and did
not find any other results here, I guess the other threads were
getting different errors or did not list them? I'll dig around.
On Feb 24, 10:56 am, Bret Pettichord wrote:
> Your problem is with the win32-api gem. Lots of other
Looks like the platform-force is having some trouble:
gem install win32-api --platform=x86-win32-60
Building native extensions. This could take a while...
ERROR: Error installing win32-api:
ERROR: Failed to build gem native extension.
C:/Ruby/bin/ruby.exe extconf.rb install win32-api -
I got this odd message from the following code fragment:
awesome = ie.div(:class, "sc-view sc-segmented-view awesome-editor-tab-
buttons sc-layout-horizontal sc-regular-size")
puts TimeStr() + "Clicking on " + awesome.link(:index, 2).text
awesome.link(:index, 2).fire_event("onMouseDown")
awesome.
Your problem is with the win32-api gem. Lots of others are having
problems with this as well, as you'll see if read some of the other
active threads. Right now, best solution is to uninstall ruby,
reinstall, and pray. We are working to better understand the details.
Bret
AR wrote:
> Thanks Ji
Hey there,
I'm looking for Recorders to generate Watir (especially Firewatir)
Code.
I came across tg2rb which translates testgen4web output, however,
tg2rb seems to be outdated (I had to patch it) and I can't reach the
author and testgen4web misses some essential things (not sure if it is
still
Jim's right about Builder not being a problem, the other one is the same
issue we've been discussing with msvcr80-ruby.dll problems. Try uninstalling
and reinstalling win32-api to get the right version. If that doesn't work,
force the platform:
gem uninstall win32-api
gem install win32-api --platf
Not supported in FireWatir. You might want to add this to Jira.
Bret
Bill Mosteller wrote:
> Thought I'd posted this last night, try, try again.
>
> I've got a script that's working nicely with Watir, MS-IE, and an
> imbedded YUI editor, and I'm trying to replicate things under
> FireWatir. I'v
Thanks Jim - I guess that leaves me with no leads. I attempted the
install again on another VM with the same 14001 error. Google is
especially dry on this topic - has no one seen this before?
Adam
On Feb 24, 10:34 am, Jim Matthews wrote:
> That error has been around a long time and only conce
That error has been around a long time and only concerns the
documentation for builder. I has no effect on the way it runs.
Jim
On Feb 24, 10:20 am, AR wrote:
> While viewing the watir installation again, I do get one error, but it
> seems to be fairly innocuous:
>
> ERROR: While generating d
While viewing the watir installation again, I do get one error, but it
seems to be fairly innocuous:
ERROR: While generating documentation for builder-2.1.2
... MESSAGE: Unhandled special: Special: type=17, text=""
... RDOC args: --ri --op C:/Ruby/lib/ruby/gems/1.8/doc/builder-2.1.2/
ri --titl
"I feel that Watir has seen a huge paradigm shift especially in the last
year. My thinking is, it has shifted from being a test driver
implementation to an API to which individual drivers conform to."
http://developer-in-test.blogspot.com/2009/02/watir-is-it-good-or-just-good-enough.html
--
Thought I'd posted this last night, try, try again.
I've got a script that's working nicely with Watir, MS-IE, and an
imbedded YUI editor, and I'm trying to replicate things under
FireWatir. I've gotten this error using the send_keys method that
works fine under the prior environment. Is it not
Unlike Selenium and SilkTest, the Watir methods one might use for drag
'n drop don't appear to support x, y coordinates or offsets. Am I
missing something, or is that how it is?
Thanks.
Bill Mosteller
Eloqua
--~--~-~--~~~---~--~~
You received this message because
Thanks. Will this work for a part of an element? For example, lets say that I
have 5 lines of characters in my array:
arr[0] = '12345'
arr[1] = '445566'
arr[2] = '4545543455'
arr[3] = '45367445'
arr[4] = '787873486895'
I want to look at each line, and determine which lines contains
Hello!
After the line:
workbook = excel.Workbooks.open("C:\\Programfiler\\Ruby\\FPSdata.xls")
the excel file is open and you can write to it with the object
'workbook'. When you're finished writing to the file, you can do the
following to save and close the file and exit excel:
workbook.SaveA
I'm getting this strange error after our Ops team built us some new
testing VMs. I installed Ruby and Watir, and am getting the same
error for anything that includes Watir. I can go into IRB and do Ruby
all day, but as soon as I enter "ie = Watir::IE.new", I get the
following error. Has anyone
Sorry, I should have also included that you can pass 'workbook' to
methods and write to the file within those methods.
On Feb 24, 1:02 am, magn...@ifi.uio.no wrote:
> This might be a ruby question, bit is it possible to have an WIN32OLE
> object as parameter to a method?
>
> excel = WIN32OLE:
Thanks for the url, I couldn't find it anywhere on the site.
Regards,
Manish
Zhimin wrote:
> Yes, iTest2/Watir recorder is free and open source.
> http://github.com/zhimin/itest2recorder/tree/master
>
> So is rWebUnit framework, a Watir extension iTest2 uses.
> http://github.com/zhimin/rweb
Sorry, we can also remove the old version of
actionmailer (2.2.2, 2.1.1)
actionpack (2.2.2, 2.1.1)
activerecord (2.2.2, 2.1.1)
activeresource (2.2.2, 2.1.1)
activesupport (2.2.2, 2.1.1)
We can remove all the 2.1.1 version
because the 2.2.2 dependent with each other with 2.2.2
Thanks.
Wesley Chen.
I tried on my another machine that:
gem list --local # Get all the gems I have installed
If there are more than one version of the gems installed, I
gem uninstall (repeated gems)
# Except
actionmailer (2.2.2, 2.1.1)
actionpack (2.2.2, 2.1.1)
activerecord (2.2.2, 2.1.1)
activeresource (2.2.2, 2.1
Hi
can any body suggest on this please..
I have IE n Firefoz set up. But i have to use IE as default one.
When i want to open a new window with firefox using watir. when i try
to use
new::IE im able to get IE but not the Firefox..
--~--~-~--~~~---~--~~
You
Yes, iTest2/Watir recorder is free and open source.
http://github.com/zhimin/itest2recorder/tree/master
So is rWebUnit framework, a Watir extension iTest2 uses.
http://github.com/zhimin/rwebunit/tree/master
On Feb 24, 4:38 pm, Manish Sapariya wrote:
> Isn't FF recorder plugin open source?
Tarun,
> but it only has trial version of itest2 ..so full version is not
> available?
You have downloaded the full version, just with 30 days trial.
> if you can tell me or send me a
> link that how can I use itest2 and watir together to run tests
> directly in web browser?
There are som
This might be a ruby question, bit is it possible to have an WIN32OLE
object as parameter to a method?
excel = WIN32OLE::new("excel.Application")
workbook = excel.Workbooks.Open("C:\\Programfiler\\Ruby\
\FPSdata.xls")
def connect(workbook)
worksheet = workbook.WorkSheets(1)
puts "You a
Here's an example of a little autoit script that might be useful in your
situation:
This little Ruby script (that uses autoit functions) will wait 10 seconds
for an active window with a title starting with "Connect to" to appear, and
then it will send a left click to a button with text 'OK' in tha
44 matches
Mail list logo