Done.
On Nov 19, 5:08 pm, Bret Pettichord <[EMAIL PROTECTED]> wrote:
> JArkelen wrote:
> > I added a HTML report class example to the wiki:
> >http://wiki.seleniumhq.org/display/WTR/HTML+report+class
> > This class can be used to create a HTML report of a test script
> > execution.
>
> thanks for
Try the code below:
def upload_file(ie, filepath)
if filepath.include?("/")
filepath.gsub!("/","\\")
end
if FileTest.exists?(filepath)
ie.file_field(:id,"theFile[0]").set(filepath)
else
return false
end
end
upload_file($ie,
Hi,
In our application we have Upload option is there to upload
photos from local machine,but the upload button is not identified in
watir.
Give me the solution for this
Thanks and Regards,
Pub
--~--~-~--~~~---~--~~
You received this message becau
Hi Friend,
I couldn't understand, Its a text field it should accept only numeric
value. If we enter any other values it will create a error message pop
up. I am using the any one of the above codes, but it creates the pop
up, Just i want to know that,
Any error on the code?
or any other codes av
http://www.AWSurveys.com/HomeMain.cfm?RefID=shivraj.jadhav14
Hi,
Click on the link and do registration. This is the online survey
site. When you do registration, it will create your own account. They
will send some link in your account. When you click on that link it
will open one website. You h
This is now fixed in trunk. I would have updated the Jira ticket, but
Jira seems to be unavailable right now. (I can view the ticket, but
can't log in to update it. OTOH, Confluence is working.) I'll update
Jira later.
Bret
Tiffany Fodor wrote:
> Hey Bret!
>
> I've opened Jira ticket WTR-271
Hi All,
I having trouble executing my scripts on MAC. They work well on
Windows OS.
I have installed firewatir and safariwatir on MAC.
1. Its giving me an error for the following statement:
require 'firewatir'
Error:
'require': no such file to load -- firewatir(LoadError)
2. Also can I execut
Hi All,
Can someone help me in writing better efficient code for the
following:
Following is a snippet of my of my tests:
---
require 'watir' # the controller
require 'test/unit'
Watir.options_file = 'C:/natasha/RubyScripts/F
Perhaps my real question is whether or not there is a Watir method
that scrapes the current browser page for object names, ids, etc... I
think I know the answer ;) Still, this solution can be used, it's just
that the conditional part of the case statement would be looking for
page objects like lab
Problem: We have a wizard-like application that I have built a Watir
and Rasta-based test framework around. A number of the steps in this
application contain dynamic forms...meaning, the form changes quite
drastically and with many new options being included or dropped
depending on the test case.
JArkelen wrote:
> I added a HTML report class example to the wiki:
> http://wiki.seleniumhq.org/display/WTR/HTML+report+class
> This class can be used to create a HTML report of a test script
> execution.
>
thanks for sharing this. could you attach a sample report to the wiki
page? that will m
This is exactly the right thing to do. Your description is quite good
and belongs on our wiki.
This is the right thing to do *before* the options have been parsed.
Watir::Browser.default = x
This is the right thing to do *after* the options have been parsed.
Watir.options[:browser] = x
Thi
Hi all,
When I try to run my scripts on remote machine Watir creates browser
window as usually but this window stays inactive. So all my scripts
with AutoIt fails.
But when I open this machine in remote desktop connection and try to
run the same scripts browser window became active just after cr
Thanks John,
The code works quite well.
I think we can change the code, make it more beautiful and adapt to our
project.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To
I'm really not quite sure I understand what you're trying to do here. A
couple of possibilities:
-- forget the module altogether, in your example it doesn't really serve any
additional value.
class QQ
def print_elem
puts "elem"
end
def test
print_elem
puts "test"
end
end
qq =
For same reason, I want to invoke the 'include' in the class instance
function.
The code like this:
**
class QQ
module QQ_Elem
def print_elem
puts "elem"
end
end
def test
include QQ_Ele
For some reason, I want to invoke the "include" in a class instance
function,
but the code below returns error like this:
in `test': undefined method `include' for #
(NoMethodError)
code:
**
class QQ
module QQ_Elem
def print_e
Hi
My team recently upgraded to watir 1.6.2.
To drive our testing we read data from a file and build data sets for
each test case. One element of the data set is the browser we wish to
test against (i.e. IE or Firefox).
If the browser changes (e.g. from IE to Firefox) we close the IE
browser a
You have to probably fire_event("onchange") or whatever JavaScript
event you have tied to that text_field after you've set the value.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to t
It works for me fine if Remote Desktop window is not minimized. It
might not be maximized or under any other window, but as soon as it
gets minimized, then AutoIt and screenshots won't work. Also, it
should not have screensaver, nor locked (on remote machine). You can
have screensaver and lock you
I added a HTML report class example to the wiki:
http://wiki.seleniumhq.org/display/WTR/HTML+report+class
This class can be used to create a HTML report of a test script
execution.
Cheers,
John
--~--~-~--~~~---~--~~
You received this message because you are subscri
Hi all!
I run watir scripts on remote computer (logged-in through MS Remote
Desktop ). In case of error/exceptions script make a screenshot with a
win32screenshot.gem , but result of screenshot - black rectangle.
On local machine screenshot has normal image.
What can I do for take a normal scree
22 matches
Mail list logo