require 'win32ole'
$application = WIN32OLE.new('Excel.Application')
generalworksheet=$application.Workbooks.Open(Dir.getwd+\\Testdata\\testdata.xls).Worksheets(General)
generalworksheet.Activate
$test_site=generalworksheet.Cells(6,2).value
On Tue, Aug 11, 2009 at 1:14 PM, zakir hussain
Hi Pallavi,
That click_no_wait worked fine for me.
Just check your Ruby version. (click_no_wait does not work with
ruby186-27_rc2: known defect)
I am using Ruby186-26_Watir1.6.2
On Sun, Aug 9, 2009 at 1:28 PM, Pallavi Sharma write2pall...@gmail.comwrote:
Hi
Need some urgent help:
Go to
assert($browser.link(:text,Signout)exists?),The sign-out link is absent)
On Fri, Aug 7, 2009 at 2:25 PM, yuping zhong littlezhong...@gmail.comwrote:
Dear all,
Right now, I want to use the watir to check the button or link if exists in
the page. Who can help me?
Such as, I write the watir
And what you need will be:
assert($browser.link(:text,Signout)exists?),login failure)
puts Login was successful
On Fri, Aug 7, 2009 at 2:29 PM, Smruti Ranjan Kar
smrutiranjan@gmail.com wrote:
assert($browser.link(:text,Signout)exists?),The sign-out link is
absent)
On Fri, Aug 7, 2009
use
$ie.send_keys({ENTER})
On Fri, Aug 7, 2009 at 2:33 PM, Marlon marlonmoja...@gmail.com wrote:
Can anyone help me with this error? I'm trying to press ENTER key
focused on a text box.
code:
$ie.send({ENTER})
--~--~-~--~~~---~--~~
You received this
If I'm getting you, is this the requirement ?
- You click 'Proceed', Popup A appears
- Click 'OK', Popup B appears
- Click 'OK', New browser opens with a popup
- Click 'OK'
- Click 'Save'
- Click 'OK' on the confirmation
And what are the type of pop-ups at different steps ? i.e: modal, JS, new
Either use
require 'watir/contrib/enabled_popup'
and
hwnd1 = browser.enabled_popup(5)
Or use AutoITand WinGetHandle method
On Tue, Aug 4, 2009 at 7:55 PM, Vale vsant...@gmail.com wrote:
Hello everyone Im new at ruby/watir and im trying to do a performance
test.
To do this I have to run a
'
hwnd1 = $ie.enabled_popup(10)
$ie.link(:url, the url).click
and I get this error message:
Timed out after 10.5 seconds
what can i do?
thks
valeria
pd.: same error if I put:
$ie.link(:url, the url).click
hwnd1 = $ie.enabled_popup(10)
2009/8/4 Smruti Ranjan Kar
/8/4 Smruti Ranjan Kar smrutiranjan@gmail.com
Either use
require 'watir/contrib/enabled_popup'
and
hwnd1 = browser.enabled_popup(5)
Or use AutoITand WinGetHandle method
On Tue, Aug 4, 2009 at 7:55 PM, Vale vsant...@gmail.com wrote:
Hello everyone Im new at ruby/watir and im
seconds after
your click_no_wait call.
Hope this helps!
-Dylan
On Jul 16, 8:19 am, Smruti Ranjan Kar smrutiranjan@gmail.com
wrote:
Hi Charley,
I'm using ruby186-27_rc2
C:\Documents and Settings\userruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
On Thu, Jul
Hi Charley,
I'm using ruby186-27_rc2
C:\Documents and Settings\userruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
On Thu, Jul 16, 2009 at 7:58 PM, Charley Baker charley.ba...@gmail.comwrote:
Try click! instead of click_no_wait, which specific version of Ruby are you
using,
I also started using it since last couple of months. I did have automation
knowledge in QTP for 6 months, but then this thing fascinated me more. I am
still learning, but I can suggest a start
- Install Ruby and learn basics. Practice in irb (brush up your OOP
concepts)
- Then focus on learning
12 matches
Mail list logo