Have you installed gem install win32ole
If yes use require 'win32ole'
Regards
Arihan
Sent from my iPhone
On 25 Aug 2010, at 12:05, Rajiv Nanduani
rajivkumarnandv...@gmail.com wrote:
Hi All,
I am facing the problem while running my script
It gives me an error like this
C:/Ruby/lib/ruby
Dear All,
Which version of ruby I need to be installed if I am using window 7 OS..
please refer the exact one
http://www.ruby-lang.org/en/downloads/
http://rubyforge.org/frs/?group_id=167
Cheers
A
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be
you have to attach that new windows, do the activities and then close that
and come back to your original browser.
in my ruby+watir framework I use the below if any new window opens where i
need to do anything
if attach_url(/url in reg exp/) then
enter_text_into_text_field_text(Enter the value
Have you given the correct id name?
it seems from html code the id is *cblModules_2* but you have used i*
cblModules_0*
On Thu, Aug 12, 2010 at 10:15 PM, Chan Nguyen atbl1...@gmail.com wrote:
Hi everyone,
I followed a very simple example in Watir tutorial website
pls try this.. and I think it would work.. its working ok for me.
def clear_cache_folder()
Watir::CookieManager::WatirHelper.deleteSpecialFolderContents(Watir::CookieManager::WatirHelper::COOKIES)
in my Ruby+Watir framework which I've designed , I've created a testbase.rb
where I've put the function like below and call this wherever I need it.
def select_from_select_list(title,name,value)
startAction title, Select from the select list with name' + name + ' and
value ' + value + '
if
count the no of radio buttons with certain ids first then use the for loop
for this
On Thu, Jul 1, 2010 at 12:08 PM, Shlomit Gazit shlomitpatr...@gmail.comwrote:
I am trying to iterate through radio buttons in the page, but I dont
want to iterate through all the radios in the page, only those
through
win32ole.
Regards
Arihan
On Fri, May 21, 2010 at 10:38 PM, koicat pmn...@yahoo.com wrote:
Am running ruby and watir 1.6.5 which uses AutoItX3.dll (v. 3.1.1) on
a Windows Server 2003 virtual machine accessed from an XP Pro laptop
through Remote Desktop.
If I run the script and leave
Thanks everyone. Its done . I found the solution in the microsoft site. No
need to spend time on this.
Regards
Arihan
On Thu, Apr 15, 2010 at 2:59 PM, arihan sinha
arihan.si...@googlemail.comwrote:
Hi,
In my application I've changed the setting so that the powerpoint would be
opened without
rather than opening the ppt i should be
able to directly count the slides on that ppt.
i tried with below code but it seems not working. any thoughts???
ppt = WIN32OLE.new('PowerPoint.Application')
ppt.Visible = true
slidecount = doc.Slides.Count
puts slidecount
Regards
Arihan
On Wed, Apr
as a separate ppt file without file
download prompt because settings changed.
ppt = WIN32OLE.new('PowerPoint.Application')
ppt.Visible = true
slidecount = * ppt.Presentations*.Slides.Count
puts slidecount
Regards
Arihan
--
Before posting, please read http://watir.com/support. In short: search before
it to the 120 secs and it would be applicable
to globally for wait_until method whereever it is called
Thanks
Arihan
On Fri, Apr 9, 2010 at 12:24 PM, arihan sinha
arihan.si...@googlemail.comwrote:
I am using wait_until and its working fine and it seems the default value
is 60 secs. I mean
your main machine. No other solutions so far
unfortunately.
Jarmo
On Apr 13, 5:50 pm, arihan sinha arihan.si...@googlemail.com wrote:
Any solution to this problem. any work around etc.
Regards
Arihan
On Fri, Apr 9, 2010 at 4:03 PM, Ethan notet...@gmail.com wrote:
When
Any solution to this problem. any work around etc.
Regards
Arihan
On Fri, Apr 9, 2010 at 4:03 PM, Ethan notet...@gmail.com wrote:
When the system is locked, windows doesn't send things like keypresses and
button presses, as far as I've been able to determine. I know of no
workaround
. there must be
something in the library file where we can change. anyone can suggest pls
Thanks
Arihan
On Mon, Mar 29, 2010 at 3:24 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Mon, Mar 29, 2010 at 4:22 PM, arihan sinha arihan.si...@googlemail.com
wrote:
can I use the synchronisation
in our remote build server when this piece of code is running and we
just minimise that remote window then it stuck there and not moving further.
Thanks
Arihan
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this message because you
Hi,
Could you please let me know how to test the pdf through ruby/watir.
at present when we click any pdf link in our apps it gets opened in the
browser in a separate window and we only verify the url. but can we verify
the content as well or something else.
Thanks
Arihan
--
Before posting
Is there any way can take the title of the browser
I tried with $ie.title but its not working
Arihan
On Fri, Apr 9, 2010 at 12:40 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Fri, Apr 9, 2010 at 1:36 PM, arihan sinha arihan.si...@googlemail.com
wrote:
Could you please let me
Can any one please confirm that this is the correct news.
On Thu, Apr 1, 2010 at 11:19 AM, Melkon, Raffi rmel...@gmail.com wrote:
Good luck!!!
*From:* watir-general@googlegroups.com [mailto:
watir-gene...@googlegroups.com] *On Behalf Of *Željko Filipin
*Sent:* Thursday, April 01, 2010
Hi ,
can I use the synchronisation statement in the ruby test rather than sleep
statement.
I am using some similar kind of code as below where the for loop runs with
0.5 secs gap unless the assert gets passed. once passed then it would come
out of the for loop. Any other approach?
Any where
have u tried with reigstry keys because i ve faced this problem while the
link triggers the ppt. so by changing the registry key , it would prompt a
save/open window or directly open in the new browser etc.
On Thu, Feb 25, 2010 at 6:51 PM, bk bkhambadk...@gmail.com wrote:
Hello,
I'm trying to
those three files in a single go , then what i need to do. any
thoughts? any reg expression kind of things I can use?
Thanks
Arihan
--
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
Thanks.
Though bit struggled initially but finally able to :)
Arihan
On Tue, Feb 2, 2010 at 3:47 PM, Charley Baker charley.ba...@gmail.comwrote:
Check out the documentation for FileUtils#rm:
http://ruby-doc.org/core/classes/FileUtils.html#M004332
You can glob files and pass them to rm
in my code..doesn't seem to
work..
just stalls at this point and doesnt proceed further to click the
'Run' button of the file download - security warning window. any
thoughts on this?
many thanks..
On Jan 23, 6:19 am, Arihan arihan.si...@googlemail.com wrote:
Pls use clicknowait method
Pls use clicknowait method .. It would work ..
Sent from my iPhone
On 22 Jan 2010, at 22:53, capri capricorn...@gmail.com wrote:
Hi,
I tried the below code to identify file download -security warning
message using autoit in my watir script. However it does not seem to
work. I am trying to
Then I think I've to install AutoIt ...rt?
On Tue, Dec 8, 2009 at 3:26 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
Does this help?
http://wiki.openqa.org/display/WTR/File+Downloads
Željko
--
watir.com - community manager
watirpodcast.com - host
--
You received this
- 100).click
$ie.link(:text, Full Text).click
$ie.link(:text, PowerPoint Slide Set).click
end
if you need to run this again and again then manually click the *sign out *link
and then *yes sign me out of the nejm button*.
Thanks
Arihan
On Tue, Dec 8, 2009 at 5:05 PM, mohe
eclipse ( of course the
section in the red is not coming ). Always working ok in IE6.0/IE7.0
any solution to this
Thanks
arihan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post
:in `test_firefox'
1 tests, 0 assertions, 0 failures, 1 errors
Please let me know if you need anything else.
Thanks
Arihan
On Thu, Oct 22, 2009 at 1:58 PM, Angrez Singh ang...@gmail.com wrote:
Can you post the HTML and your ruby code for the same?
On Thu, Oct 22, 2009 at 5:14 PM, arihan sinha
Hi All,
Is there any option to disable javascript of browser through ruby/watir?
Thanks
Arihan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to watir
Hi ,
Can anyone please help me asap that how i would disbale the javascript
of the browser through ruby/watir
Thanks in advanced.
Arihan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group
31 matches
Mail list logo