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
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
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_Elem
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
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 make
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.
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
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,
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 sharing