guide me where I am wrong or is Aptana IDE is good for
watir script developement and execution or there are other tools
available for the same?
I have already tried SciTE.
Thanks in advance,
Jagdeep Jain
--~--~-~--~~~---~--~~
You received this message because yo
Hi,
It seems that there are some problem with following methods with
frames... are there any other ways we can have all images, spans,
links, divs, frames, tables from the frames?
1) Error: NoMethodError: undefined method `show_images' for
#
puts $browser.frame("#...@frame}").show_images
puts $b
Thanks A lot JArkelen,
This is exciting :-)
I have started using this Class ;-)
On Jan 15, 8:03 pm, JArkelen wrote:
> http://wiki.openqa.org/display/WTR/HTML+report+class
>
> On Jan 15, 7:53 am, Jagdeep Jain wrote:
>
> > I got it through Rspec:
> > spec usi
Thanks Jarkelen,
This is exciting :-)
I have started using this class ;-)
On Jan 15, 8:03 pm, JArkelen wrote:
> http://wiki.openqa.org/display/WTR/HTML+report+class
>
> On Jan 15, 7:53 am, Jagdeep Jain wrote:
>
> > I got it through Rspec:
> > spec usi
Thanks John, this is really help full.
On Jan 15, 4:36 pm, John Kolokotronis wrote:
> I forgot to note that the above code does not contain a valid
> assertion so the test will always pass. You can fix this with a
> "should" statement, like this:
>
> $browser.contains_text("rubyforge.org").shoul
In the following code I am using Rspec for putting my results in
proper format.
If I am executing the below code by commenting the class declaration
then its working fine but if I want to use watir class here like the
code below then it not working and I got the following error on
console.
C:\Ru
I got it through Rspec:
spec usingrspec.rb --format html > testresult.html
On Jan 15, 11:31 am, Jagdeep Jain wrote:
> I want to populate Watir results to HTML format. Is there any way to
> do this?
> Or is there any way to have all 'puts
I want to populate Watir results to HTML format. Is there any way to
do this?
Or is there any way to have all 'puts' goes to HTML file?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post
;)
> $ie.link(:text, 'Click Here').click_no_wait
> startClicker("OK")
>
> Charley Baker
> blog:http://charleybakersblog.blogspot.com/
> Project Manager, Watir,http://wtr.rubyforge.org
> QA Architect, Gap Inc Direct
>
> On Sun, Jan 4, 2009 at 10:07 PM, Jagdeep Jain wrote:
&
Index can also be used to differentiate b/w the similar objects/
components.
On Jan 4, 6:29 am, "Wilson Xu" wrote:
> Please ignore 'iframe' element in your script code, you can try it again and
> can you post your html source code.
> Wilson
>
> On Wed, Dec 31, 2008 at 6:35 PM, rr wrote:
>
> > H
I got into the same problem and found that whenever you are using
variable we need to use .value=variable instead of .set variable.
On Dec 31 2008, 3:39 am, sowmya wrote:
> Never mind. It worked.
> [ie.text_field(:id, "create_id").value=(id)]
>
> On Dec 30, 2:26 pm, sowmya wrote:
>
> > Hello,
>
Hi,
The problem with the code below is that I am not able to move forward
to next page which appear after clicking on "OK" button of Java Script
pop up.
HTML is as follows:
I save this file in C: drive as test.html
function disp_alert()
{ alert("I am an alert box!!"); } Jagdeep
http://ww
Hi Aidy,
I have changed "disp_confirm" with the earlier one you have supplied
"window.confirm" and removed "JavaScript" from the end and it works
fine for me.
require 'watir'
ie = Watir::IE.new
ie.goto("http://www.w3schools.com/JS/tryit.asp?
filename=tryjs_confirm")
ie.maximize
ie.document.pare
Hi,
I have the following code but the problem here is that I am not able
to move forward to next page which appear after clicking on "OK"
button of Java Script pop up.
HTML is as follows:
I save this file in C: drive as test.html
function disp_alert()
{ alert("I am an alert box!!"); } Jagdee
Thanks Michael,
It works now...
Jagdeep
On Dec 8, 11:29 pm, Michael Hwee <[EMAIL PROTECTED]> wrote:
> change all your 'ie' to '$ie' in your scripts.
>
> - Original Message
> From: Jagdeep Jain <[EMAIL PROTECTED]>
> To: Watir Gener
owing is the error I
am getting after executing the script...
getters.rb:99:in `getUsertId': undefined local variable or method `ie'
for main:Object (NameError)
from getters.rb:108
Should I need to include 'ie' in the argument? If yes then how can I
include frame
Check if you path contains watir.
mine is C:\Ruby\lib\ruby\gems\1.8\gems\
Also have you installed watir properly?
Navigate to the site http://wtr.rubyforge.org/install.html for more
information.
Thanks,
Jagdeep
On Dec 8, 4:57 pm, Parul <[EMAIL PROTECTED]> wrote:
> hello frnds,
>
> in my sc
Thanks Chen,
Now the same error is not coming up.
Thanks Again!
Jagdeep Jain
On Dec 4, 8:49 pm, "wesley chen" <[EMAIL PROTECTED]> wrote:
> I am sure if you search detailed in the group, you can get the solution.
> Below is one way to deal with the problem.
> require
# Ruby Script for dealing with pop
require "watir"
require "logger"
require 'net/smtp'
require 'win32ole'
require 'watir/dialog'
require 'watir/ie'
require 'watir/contrib/enabled_popup'
require 'watir/WindowHelper'
require 'watir/winClicker'
# set a variable
test_site = "C:\\test.html"
# open th
19 matches
Mail list logo