Awesome!Thanks for Frédéric's reply.
On Oct 27, 2:26 pm, de Villamil Frédéric
wrote:
> Le 27 oct. 2009 à 07:24, yuping zhong a écrit :
>
>
>
> > Dear All,
>
> > As it is known to all that,"assert" can be use in the unit test But
> > when I try to use the "!assert" ,it always fails,any idea of th
Le 27 oct. 2009 à 07:24, yuping zhong a écrit :
>
> Dear All,
>
> As it is known to all that,"assert" can be use in the unit test But
> when I try to use the "!assert" ,it always fails,any idea of this?
>
> Thanks in advance.
>
> -Zhong
Hello,
To have a negative assert working (mostly on non
Dear All,
As it is known to all that,"assert" can be use in the unit test But
when I try to use the "!assert" ,it always fails,any idea of this?
Thanks in advance.
-Zhong
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
You can try with index property, if any two objects have the same property,
use a third one called index. Watir supports multiple attributes to
recognize an object.
You can directly give the object properties, doesn't matter whether it is in
a div or not with watir.
Hope this helps.
--
Pallavi
Hi Ethan,
I have tried using link method.
(But Actual Problem is there are more links which have same
attributes.)
For e.g.
Verify for 'Home',My Account','Trade,'Charts' etc.
class: mytext
href: http://www.edelbullion.com/edelweiss/content/index.jsf#
The only attribute which distinguish be
Sorry Angrez, forgot to mention that. it is 0.9.4.
I think i should upgrade firewatir now.
On Mon, Oct 26, 2009 at 3:50 PM, Angrez Singh wrote:
> Not sure about that. Which Firewatir version are you using?
>
>
> On Mon, Oct 26, 2009 at 3:41 PM, Pallavi Sharma
> wrote:
>
>> The version on whi
It is a link. Use the #link method.
Please read wiki entries under http://wiki.openqa.org/display/WTR/Start+Here
particularly: http://wiki.openqa.org/display/WTR/Watir+in+5+Minutes
and: http://wiki.openqa.org/display/WTR/Cheat+Sheet
On Mon, Oct 26, 2009 at 23:41, abhisheksreepal wrote:
>
> I am
I am sorry. I was just going by name class='normalbutton'
But Any solution to access these fields.
and Also To access menu like 'Home','MyAccount' etc.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General"
the submit and reset buttons are also links
Paul
On Mon, Oct 26, 2009 at 9:23 PM, abhisheksreepal
wrote:
>
> Hi Paul,
>
> I am sorry. I should have added these comments.
> Just Navigate to Login screen.(By clicking Login link on top right
> corner)
> Please examine these two fields
> Submit and
Hi Paul,
I am sorry. I should have added these comments.
Just Navigate to Login screen.(By clicking Login link on top right
corner)
Please examine these two fields
Submit and Reset.
(I couldn't give you this link(link to Login Screen) since link
contains session id which keeps on changing)
(Somet
the 'register now' and the 'buy now' arent buttons. they look like buttons,
but they are links. Use firebug to investigate the dom before posting here
please.
Paul
On Mon, Oct 26, 2009 at 8:54 PM, abhisheksreepal
wrote:
>
> Thanks for the reply Ethan.
>
> I tried this
> puts ie.buttons.length
>
Thanks for the reply Ethan.
I tried this
puts ie.buttons.length
But it returned '0'
This is the reference link.
http://www.edelbullion.com/edelweiss/content/index.jsf
Any Suggestion how to go forward.
--~--~-~--~~~---~--~~
You received this message because you ar
You want to interact with the elements of the 'file upload' dialog? As far
as I know that thing doesn't have a document or elements that you can access
like an html page. Or if it doesn't watir doesn't support that anyway. I
could be wrong - if you figure out how to get a WIN32OLE handle on element
Thank you for quick reply. But I cannot see each object in dialog box as
html element. Is there anyway I can view as html elements? IE developer
toolbar does not work. I am now trying with WIN32OLE.
On Mon, Oct 26, 2009 at 8:15 PM, Bret Pettichord wrote:
>
> H Kogi wrote:
> >
> > I may be mi
H Kogi wrote:
>
> I may be missing something very simple. When I get window's File
> Upload dialog, how can I identify file_field's i.e. id, name, index,
> etc? (index did not work). I looked in to the the following site and
> all the links from there but not finding answers.
>
> http://wik
I may be missing something very simple. When I get window's File Upload
dialog, how can I identify file_field's i.e. id, name, index, etc? (index
did not work). I looked in to the the following site and all the links from
there but not finding answers.
http://wiki.openqa.org/display/WTR/File+Upl
:onclick isn't supported as a method of locating elements - it doesn't
actually appear on the DOM as text, as far as I know, but shows up as a
function, so you can't compare text to it. I could be wrong, maybe there's a
way to get the text, but I don't think it's likely to be supported in any
case.
Hi,
Did Anyone come to know about this problem.
--~--~-~--~~~---~--~~
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 t
No. I think Aslak is running the new Technology Preview of the one-click
installer. They are using the ming32 compiler instead of Visual Studio.
http://rubyforge.org/frs/?group_id=167&release_id=38052
This sounds like an issue. We're also going to need to recompile Watir's
support for modal dia
Check this out:
http://wiki.openqa.org/display/WTR/FAQ#FAQ-HowdoIfixaWIN32OLERuntimeErrorwhenIuseAutoIt%3F
Hope that helps.
On Oct 26, 10:48 am, Shlomit Gazit wrote:
> I am getting this in the console, but it is not breaking the test, I
> just need manually to click on both OK buttons.
>
> c:/
Hey Aslak,
Missed seeing you this year at Agile. :) Thanks for the details,
responses inline
On Mon, Oct 26, 2009 at 9:48 AM, Aslak Hellesøy wrote:
>
> I realisesd I had a rather old Ruby in my previous post, so I
> installed the newest Ruby One-Click installer (1.8.6):
>
I believe you were
I am getting this in the console, but it is not breaking the test, I
just need manually to click on both OK buttons.
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb:113:in
`initialize': unknown OLE server:
`AutoItX3.Control' (WIN32OLERuntimeError)
HRESULT error code:0x800401f3
For me, I was working around problems I was having with FileField#set in
IE8, and I ended up just rewriting the #set method. For my implementation, I
needed the hWnd of the FileField's browser, so I just iterated up through
the @containers to find the browser.
-Ethan
On Mon, Oct 26, 2009 at 13:09
Good question, I'm actually somewhat curious as well as to the use case. :)
-c
On Mon, Oct 26, 2009 at 11:07 AM, Paul Rogers wrote:
> can you explain why you need this?
>
> Paul
>
> On Mon, Oct 26, 2009 at 9:46 AM, Yuriy wrote:
>
>>
>> Thanks a lot, Ethan!
>>
>> On Oct 26, 4:33 pm, Ethan wrot
can you explain why you need this?
Paul
On Mon, Oct 26, 2009 at 9:46 AM, Yuriy wrote:
>
> Thanks a lot, Ethan!
>
> On Oct 26, 4:33 pm, Ethan wrote:
> > Unfortunately, there doesn't seem to be. I have run into this, and what I
> > ended up doing was to iterate up through the containers until I
There are ways to make your Silverlight apps scriptable, so it would follow
a similar model potentially as Funfx or FlashWatir. Scripting
Silverlight(there's probably a fair amount of other documentation out there
as well as this):
http://mark-dot-net.blogspot.com/2007/06/howto-make-your-silverligh
Shaik Mohammed Firoz wrote:
> Does WATIR will work on Silverlight and Ajax technologies?
>
Ajax: yes. Silverlight: i don't think so.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to
On Mon, Oct 26, 2009 at 4:48 PM, Aslak Hellesøy
wrote:
> What Ruby versions do people use to get Watir installed
> and working?
I have recently also had a fresh Ruby and Watir installation and had some
problems. I would recommend:
(from http://watir.com/installation/)
- ruby186-26.exe (http://
I realisesd I had a rather old Ruby in my previous post, so I
installed the newest Ruby One-Click installer (1.8.6):
> ruby --version
ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32]
This Ruby version doesn't come with the win32* gems installed, so when
I try to gem install watir it wants t
Thanks a lot, Ethan!
On Oct 26, 4:33 pm, Ethan wrote:
> Unfortunately, there doesn't seem to be. I have run into this, and what I
> ended up doing was to iterate up through the containers until I found the
> browser. something along the lines of:
>
> browser=some_div
> while browser && !browser.
Hi All,
Sorry, I have no idea whether this is right area to post this question or
not. But please someone response to the below would be appreciated.
Does WATIR will work on Silverlight and Ajax technologies?
Thanks in advance,
--~--~-~--~~~---~--~~
You received
Hi folks,
Any idea how to solve this problem? http://gist.github.com/218720
I'm on Windows XP (Norwegian Windows, English IE). Running in VMWare
Fusion on OS X Leopard.
I googled around but didn't see anything to help me get around this.
(I found several mentions of the error message, but no ref
I'm wondering if the problem might be traced to a plugin?
--~--~-~--~~~---~--~~
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, ple
Unfortunately, there doesn't seem to be. I have run into this, and what I
ended up doing was to iterate up through the containers until I found the
browser. something along the lines of:
browser=some_div
while browser && !browser.is_a?(Watir::IE)
browser=browser.instance_variable_get('@container
Code works for me. I am using Firewatir 1.6.5rc2 and Firefox 3.5. Can you
try updating your firewatir installation using instructions over here and
then try your code?
http://wiki.openqa.org/display/WTR/Development+Builds
- Angrez
On Mon, Oct 26, 2009 at 5:55 PM, rrash586 wrote:
>
> I installed
On Mon, Oct 26, 2009 at 1:23 PM, Naveen devadass
wrote:
> watir (1.6.1)
Type this into command prompt and try again:
gem update --system
gem install watir
Željko
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Wa
Hi all,
is there any way I can get browser instance from inside an element?
Here is what I mean by that:
ie_instance = IE.new
some_div = ie.div(:any, 'any')
some_div.a_method_to_get_browser_instance # <--- this is an assumed
method which would return the ie_instance
Thanks.
--~--~-~--~--
I installed jssh from
http://wiki.openqa.org/download/attachments/13893658/jssh-20080708-WINNT.xpi?version=1
as i am using the mozilla firefox 3.0
i also tried with jssh
http://wiki.openqa.org/download/attachments/13893658/jssh-3.5.x-WINNT.xpi?version=1
but the same problem persist
On Oct 26,
HI ,
I am getting following
C:\>gem list watir
*** LOCAL GEMS ***
watir (1.6.1)
Please help me out.i am unble to use the watir
On Oct 22, 1:32 pm, Željko Filipin
wrote:
> On Thu, Oct 22, 2009 at 9:16 AM, Naveen devadass
> wrote:
>
> > irb(main):002:0> require "watir"
> > LoadError: no suc
Hi All,
I am testing the GWT based application on IE7. In my application when
i click on the add button a new row (run time generation) is
generated .I am facing the problem while locating the object as it is
in DIV.
can anyone let me know how to click on the object in DIV
i am having only the t
Hi,
I have just started working with real time application.I am facing
some problems.
Issue 1: Unable to Click Buttons
I have observed that there are two buttons.
Button1:
class: 'normalbutton'
href: 'http://192.168.135.75:8080/edelweiss/content/login.jsf'
Button2:
class:
Your code works well on watir 1.6.2 and FF 3.5.3
--~--~-~--~~~---~--~~
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 t
Not sure about that. Which Firewatir version are you using?
On Mon, Oct 26, 2009 at 3:41 PM, Pallavi Sharma wrote:
> The version on which we are checking is Firefox 3.0, maybe it is because of
> this.
>
>
>
> On Mon, Oct 26, 2009 at 3:22 PM, Pallavi Sharma
> wrote:
>
>> Hi Angrez
>>
>> So can it
The version on which we are checking is Firefox 3.0, maybe it is because of
this.
On Mon, Oct 26, 2009 at 3:22 PM, Pallavi Sharma wrote:
> Hi Angrez
>
> So can it be a possibility that this might fail with other firewatir and
> firefox versions?
>
> Please let me know.
>
> Thanks
>
> Pallavi.
>
Hi Angrez
So can it be a possibility that this might fail with other firewatir and
firefox versions?
Please let me know.
Thanks
Pallavi.
On Mon, Oct 26, 2009 at 3:04 PM, Angrez Singh wrote:
> Your code works for me. I am using Firewatir 1.6.5rc2 with Firefox 3.5.3
>
> - Angrez
>
> On Mon, Oc
On Mon, Oct 26, 2009 at 10:33 AM, Angrez Singh wrote:
> all I wanted is to make the project read only in google code and move
everything to openqa
Sure, I will reply in another thread about what to do.
I hope I did not sound rude, I just wanted to point it as an example why I
am pushing so hard
Your code works for me. I am using Firewatir 1.6.5rc2 with Firefox 3.5.3
- Angrez
On Mon, Oct 26, 2009 at 2:17 PM, Pallavi Sharma wrote:
> Hi
>
> I have a weird situation where the Fire-watir sometimes work very smoothly
> with the scripts involving regular expression to identify the objects but
I agree with you .. all I wanted is to make the project read only in google
code and move everything to openqa
- Angrez
On Mon, Oct 26, 2009 at 2:38 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:
> On Mon, Oct 26, 2009 at 7:44 AM, Angrez Singh wrote:
> > Which JSSh extension you hav
On Mon, Oct 26, 2009 at 7:44 AM, Angrez Singh wrote:
> Which JSSh extension you have installed and from where?
Angrez,
I hope I am not pushing this too much, but you would not need "and from
where" if we had firewatir stuff located only in one place.
Željko
--
watir.com - community manager
wati
Hi
I have a weird situation where the Fire-watir sometimes work very smoothly
with the scripts involving regular expression to identify the objects but in
another case, the script just hangs.
and also this scenario happens on different systems, which have the same
configuration.
Can anyone advic
Hi
I have a weird situation where the Fire-watir sometimes work very smoothly
with the scripts involving regular expression to identify the objects but in
another case, the script just hangs.
and also this scenario happens on different systems, which have the same
configuration.
Can anyone advic
require 'rubygems'
require 'watir'
require 'spec'
describe "Blah" do
before :all do
@b = Watir::Browser.new
end
it "does something" do
@b.goto "http://google.com";
end
describe "some other thing" do
@b.goto "http://watir.com";
end
end
Jarmo
On Oct 23, 4:4
Thanks.
"do" was missing after "Enter Username"
On Oct 23, 7:45 pm, Bret Pettichord wrote:
> abhisheksreepal wrote:
> > include Watir::Container
>
> Don't do this.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Wa
53 matches
Mail list logo