Hi,
Did you register the AutoItx3.dll?
Run the following command from command prompt.
regsvr C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir
\AutoItX3.dll
Thanks Regards
Siva Phaneendra K
On Oct 5, 5:34 pm, Prince3105 prince3...@gmail.com wrote:
Hi Al,
I am using below code in my
Hi Mojares,
Recorders will help at the early stages of learning. Those are not
meant for complex tasks. It can record events performed on web
objects. But coming to a alert popup, It is a window based component.
We must call the win32api to handle such components. Better not to
relay on
Hi Zhimin
I had a try to automate Chinese Google website using watir. All the
Chinese characters are displayed as square boxes when i use IE
developer tool bar and when I try to copy Chinese characters in to
Scite, those are displayed as ?.
Please tell me the approach for testing Chinese (any of
Hi Chris,
Your idea of implemnting a CSV based framework is very nice. It used a
lot in my current framework. - Thanks
Regards
Siva
On Jul 27, 10:56 am, takanobu watanabe rreedd...@gmail.com wrote:
Sorry spread it.
This is that CSV sample.
--
ID,mnemonic,var-name,value
Hi james,
use the following code for clicking the image
browser.button( :id, /imgNavImage$/ ).click
Regards
Siva
On Jul 25, 12:33 am, James jgcpal...@gmail.com wrote:
Never Mind! I should have tried button.
On Jul 24, 3:25 pm, James jgcpal...@gmail.com wrote:
Here's the source:
It is very mush fine in my system George. No error is given. - Thnaks
Regards
Siva
On Jul 25, 4:14 am, George george.sand...@gmail.com wrote:
Sorry, please update the script to:
Watir::Browser.default = 'firefox'
On Jul 24, 4:13 pm, George george.sand...@gmail.com wrote:
Help!
I
javascript.
Thanks,
Tony
On Jul 19, 8:16 pm, sHiVa krapa.ph...@gmail.com wrote:
Tony,
Are you able to get the popup text using Autoit when the popup is
resulted from Firefox?. When i tried to get it popup text is displyes
as blank.
Regards
Siva
On Jul 17, 8:43 pm, Tony ynot
Tony,
Are you able to get the popup text using Autoit when the popup is
resulted from Firefox?. When i tried to get it popup text is displyes
as blank.
Regards
Siva
On Jul 17, 8:43 pm, Tony ynot...@gmail.com wrote:
Hi,
Working on getting a common way to handle popups in IE and Firefox.
Iam
or
ie.speed = :zippy
Hope this will help you.
Regards
Gokul
On Jul 18, 3:25 pm, sHiVa krapa.ph...@gmail.com wrote:
HI ,
Does firewatir support speed controls like in IE :fast,:zippy?. If not
how can i control the execution speed of my test?
Thanks in advance
Regards
Siva- Hide quoted
Thanks Alister.
On Jul 20, 10:28 am, Alister Scott alister.sc...@gmail.com wrote:
Hi,
Only IE support browser speeds.
See JIRA:http://jira.openqa.org/browse/WTR-303
Cheers,
Alister
On Jul 20, 1:53 pm, sHiVa krapa.ph...@gmail.com wrote:
Gokul,
Thanks for your quick reply. But I
Hi Raveendran,
I think there could be a hidden button existed on the page with same
properties of the button you are trying to click. Try to use index
property along with the current button value property.
Ex:
ie.button(:id=/action_button/,:index=2).click
try to verify index value with 1,2,3.
HI ,
Does firewatir support speed controls like in IE :fast,:zippy?. If not
how can i control the execution speed of my test?
Thanks in advance
Regards
Siva
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir
Hi
I am trying to write a single function to handle popups in all
browsers. My idea is identify popup windows using its titles. I used
Autoit for achieving this but failed to handle popups in firefox. I am
unable to identify popups using title property.
As angrez said i tried to use startClicker
Hi , There is problem with ruby 1.8.6 -27 build. use 1.8.6 - 26
build. I think WindowHelper.rb has very nice functions. use it.
Regards
Siva
On Jul 16, 8:19 pm, Smruti Ranjan Kar smrutiranjan@gmail.com
wrote:
Hi Charley,
I'm using ruby186-27_rc2
C:\Documents and Settings\userruby -v
1. Click on My Groups link on the top of the page
2. Find Manage my memberships link on the groups list page and click
on it
3. Select No Emails from the list box which is exactly opposite to the
watir general group.
4. Save settings
On Jul 16, 10:12 pm, Dylan mej...@gmail.com wrote:
Edit my
Exactly.. Click_no_wait method is not working in 1.8.6 27 build.
On Jul 17, 7:44 am, Bill Agee billa...@gmail.com wrote:
I finally got around to trying this on my Vista environment - turns out this
recommendation was absolutely right. :)
click_no_wait works fine in Vista as long as Ruby is
I have copies latest firefox.rb from watir trunck and able to attach
popup winows.
Thanks
Siva
On Jun 20, 2:59 pm, sHiVa krapa.ph...@gmail.com wrote:
Please help me in this isue. I am unable to solve this problem
Thanks Regards
Siva
On Jun 20, 8:41 am, sHiVa krapa.ph...@gmail.com wrote
Hi all,
I have some reusable functions on WMI in a vbscript file. I would like
to call those functions from ruby code. I don’t know how to evaluate/
call vbscript code from ruby. My plan is to integrate my vbscript
functions with watir test cases. Is it possible?
Regards
Siva
Hi,
I would like to close a popup after certain time interval through
external thread. is it possible?
How to find out an already opened popup creation time?
Regards
Siva Phaneendra Krapa
On May 15, 10:49 pm, Chuck van der Linden sqa...@gmail.com wrote:
is this just one particular place in
Hi TCBlues,
As it is an another package in ruby, you can mix up both Watir and net/
http.
Grab all the html content in to a file or string, and perform your
desired operations.
Regards
Siva Phaneendra Krapa
Virtusa
--~--~-~--~~~---~--~~
You received this message
Hi TCBlues,
This code can help you. Here what i am doing is, using watir i opened
yahoo.com and by passing the current yahoo url to the net/http i am
capturing all the html code as a response for the url
require 'watir'
require 'net/http'
require 'rubygems'
ie=Watir::IE.start('www.yahoo.com')
Hi Hunter,
Please refer this below link for simulating right click on any of the
browser element.
http://wiki.openqa.org/display/WTR/Right+Click+an+Element
Regards
Siva Phaneendra Krapa
Virtusa
--~--~-~--~~~---~--~~
You received this message because you are
Hi Kamesh,
Use this code to click on the New Voice Record link:
#---
ie.link(:innerText,/New Voice Record/).click
#---
Regards
Siva Phaneednra
Send your composed mail to watir-general@googlegroups.com with
attachment. Automatically you can see your post with attachment.
Regards
Siva
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To
Hi Sathish,
Please increase the waitTime value from 3 to 15 or 30. With out using
click_no_wait script will not move further. So click_no_wait is
mandatery.
Click_no_wait will take more time to click on a button than ordinary
click method. So increasing the waitTime value will give you desired
Hi Sathish,
Use this code to click on a popup
require 'test/unit'
require 'watir/ie'
require 'win32ole'
require 'watir/screen_capture'
require 'watir\contrib\enabled_popup'
#Code START for handling a
popup
def jsClick( ie,
Use this code for retriving the current value of a list box
selectedItem= ie.select_list(:name,'List box name').value
Regards
Siva Phaneednra Krapa
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General
Dude,
Please use this before setting a value in your text field and let me
know if any issue.
ie.text_field(:id,
ctl00_contentChildWindow_secUserDetails_subsecUserInfo_txtPhoneNumber_txtM
askTextBox_I).clear
ie.text_field(:id,
Hi Phil,
You can open internet explorer in kiosk mode using the kiran's method.
Where you can open the explorer only.
Later if you want to drive the browser, you need to use attach method
for automate the browser.
Follow the send keys method where you can not necessary to open the
browser and
I tried to print the frame set in a page using this code snippet and
able to view frmaes
require 'watir'
ie=Watir::IE.start('http://www.quackit.com/html/templates/frames/
frames_example_3.html')
puts ie.show_frames
But when i tired to print the frames in www.makemytrip.com, 'access
denied'
Hi Vicky,
When you try the both commands, to install Watir, any of the below two
things might be happen
1. If you get invalid gem format error -- Please disable the
antivirus, and firewall settings (I faced the same in my company)
2. If the script is keep on downloading gems means, system
Hi all,
I need to find out the last used row number in my excel work sheet. I
am able to find out the number of rows in a used area using this code
snipped
worksheet = workbookObject.WorkSheets(Results Sheet)
worksheet.Select
usedArea=worksheet.usedRange
puts usedArea.Rows.Count
Please any
Hi Anu,
Thanks for your suggestion. As u said i can navigate to the last row
in the used range of excel and print the data. My question is the used
range may start from any cell like Range(D5:H10). I would like to
determine the H10 (Where 10 is the last used row number) value in the
range.
any
Hi Swatha,
1. Are those TABS are standard tabs or will change based on the user
data?
2. Could you confirm that is there any Ajax calls when you are
navigating from one tab to another?
3. Verify the index property of each tab when moving from one tab to
another. Index property might be get
Hi all,
While running my test suite, if any exception is raised, that is
handled by my driver program and rest of the scripts are executing
smoothly. But if any unexpected popup which is not expected on the
application, then total script is getting blocked from execution. Can
any one give me an
I am able to handle known and unknown exceptions. The main problem
is, if some unexpected popup alert is appeared in the application how
can i handle it? With out click the alert popup, my script will never
move on.
My Idea of handling unknown popup alert is handling with threads. One
thread
Hi Shweta,
Index property will not visible to you. Just use it as a supporting
property along with other property.
Index values for each tab should be 1- first tab
2- Second tab
3- Third tab like
Hi George,
According to my knowledge, these are the applications you can automate
using win32ole.
Ms Word
Ms Excel
Ms PPT
MS Out look,
Internet Explorer
Regards
Siva Phaneendra krapa
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
at 11:47 PM, sHiVa krapa.ph...@gmail.com wrote:
Hi all,
I would like to manage my test suite in excel sheet. I put all of my
function calls in excel.
when i call a functions from excel sheet that is a string type. How
can i execute that funtion at runtime?
Regards
Siva Paneendra
Hi all,
I would like to manage my test suite in excel sheet. I put all of my
function calls in excel.
when i call a functions from excel sheet that is a string type. How
can i execute that funtion at runtime?
Regards
Siva Paneendra krapa
--~--~-~--~~~---~--~~
Hi all,
Greetings!. I need to find out the row and column number of a table
based on the given text. Do we have any direct method available in
WATIR for this or do i need to write the old traditional class for
retrieving cell numbers?
Thanks Regards
Siva Phaneendra Krapa
Hi all,
When i use this code with relative path, i am getting an error, but
not if i use absolute path.
As a part of my Watir framework, i need to use relative path. Please
help me in this. - Thanks
excel =
Hi all,
i am trying to use roo for reading Excel file.
When i am trying to invoke 'roo' package using
require 'roo' the following error is displayed. Plase help me in
this.-- Thanks
Errno::EBADF: Bad file descriptor
from c:/ruby/lib/ruby/gems/1.8/gems/parseexcel-0.5.2/lib/parseexcel/
Hi Vasu, use this code;
#*
text=Ref ID: 12345
num=text.split(:)
intnum=num[1].to_i
print intnum
#*
I hope this will help u . :)
On Jan 29, 9:56 am, vasu br.vas...@gmail.com wrote:
Hi,
44 matches
Mail list logo