You may try: ie.text.include?(***)
Wesley.
For life, the easier, the better.
On Mon, Mar 7, 2011 at 1:18 PM, Soori sure...@gmail.com wrote:
All,
I would like to search for a text My Engineering Services on a
webpage. This can be a link too.
Should I use contains_text method or
I think your html code is not enough for others to understand.
Wesley.
For life, the easier, the better.
On Tue, Oct 5, 2010 at 7:10 PM, Taki Sama timothy...@gmail.com wrote:
Hi All,
Im new to Watir, coming from a QTP background.
I'm using the following Ruby 1.8.7, Rubygems 1.3.6, Watir
Welcome Pertman, another great guy!
I think Watir will be more powerful and attractive!
Wesley.
For life, the easier, the better.
On Mon, Sep 27, 2010 at 4:56 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
Jarmo,
welcome to the team! :)
One comment inline.
On Fri, Sep 24,
Hi, Guys,
Currently, I use a tool in windows, named WinSCP, I login by username
password, then I turn to a path /usr/lib/system.log, I will capture the
unexpected content in the log.
Now, I want to write a ruby code in windows to do the job, capture the log
out directly.
It will be the best if my
zeljko.fili...@wa-research.ch wrote:
On Wed, Sep 29, 2010 at 3:10 PM, Wesley Chen cjq@gmail.com wrote:
It will be the best if my script can capture only the latest error
interface errors.
If I understood you, you want to parse a log file and create a report? If
that is correct, I have a script
zeljko.fili...@wa-research.ch wrote:
On Wed, Sep 29, 2010 at 3:17 PM, Wesley Chen cjq@gmail.com wrote:
I have to capture the log from the remote server with username/password.
I will access it in my machine.
The problem is opening a remote file? Or something else? What have you
tried so
Hi, Zeljko,
Thank you for your help, I tried your suggestion, but I didn't find the
solution.
Wesley.
For life, the easier, the better.
On Wed, Sep 29, 2010 at 9:27 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Wed, Sep 29, 2010 at 3:24 PM, Wesley Chen cjq@gmail.com wrote
If you are not sure what you want to do, please try the cases you have.
Wesley.
For life, the easier, the better.
On Wed, Jun 30, 2010 at 1:38 PM, naresh nareshvatsa...@gmail.com wrote:
Hi,
I am confused in rich calender, i need to click image and then get
elements or
do like following
Nice to hear that. :)
Wesley.
For life, the easier, the better.
On Thu, Jun 24, 2010 at 7:03 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
A big thank you to everybody that voted for Watir ad at Stack Overflow. We
have 7 votes at the moment, 6 are needed before the ad is
Your script runs well on other system, so it is not script problem;
Would you try clear your browser session and cookies and try again?
What's error message when you run the script?
Wesley.
For life, the easier, the better.
On Mon, Jun 21, 2010 at 7:52 PM, Zubair zubair.rk...@gmail.com wrote:
at 4:27 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Sat, Jun 12, 2010 at 7:42 AM, Wesley Chen cjq@gmail.com wrote:
Problem 1: Send an gmail(Click Compose Mail link, input Email to,
Subject, Email content, click Send button);
Problem 2: Go to Google Documents page, open
First, you have to prepare a xls file, in the file, in the file, the data is
your expected data, the format is as below:
s.pageNameHome Page
s.channel
s.prop3x
Please write a method, get all the data from xls out into an array/hash A;
Second, you have to capture
Hi, Guys,
I have used Watir for a long time, now, two difficult problems are
still challenges to me.
Problem 1: Send an gmail(Click Compose Mail link, input Email to,
Subject, Email content, click Send button);
Problem 2: Go to Google Documents page, open an existing DOC/PPT/excel, read
the data
When you have installed Ruby, there is a man doc, I think for the newbie,
you can study a lot from it, and it is really basic but important.
Wesley.
For life, the easier, the better.
On Fri, Jun 4, 2010 at 2:01 AM, orde ohil...@gmail.com wrote:
The Ruby IO and File classes contain untold
Maybe the pop up is a div or a iframe.
Wesley.
For life, the easier, the better.
On Tue, Jun 1, 2010 at 1:19 AM, windy lyfi2...@sina.com wrote:
do you mean that popup is a modal dialog ?
please try this :
ie.modal_dialog() to attach this popup.
see more :
Hi, Zeljko,
Have you got the inner code for *snapit.exe*?
Wesley.
For life, the easier, the better.
2010/5/28 Željko Filipin zeljko.fili...@wa-research.ch
On Thu, May 27, 2010 at 10:23 PM, Jarmo Pertman jarm...@gmail.com wrote:
I'm thinking that here are probably some people who would
I think you can search the method as set_no_wait in Watir general group.
Then you may have a try on it.
Wesley.
For life, the easier, the better.
On Fri, May 28, 2010 at 7:54 AM, kashyap kashyap...@gmail.com wrote:
Thank you for posting in the link.I checked it before and I tried one
of the
When I google Nokogiri, not much info, any great amazing place for
Nokogiri?
Wesley.
For life, the easier, the better.
On Thu, May 20, 2010 at 10:32 PM, Berto m...@clutchwave.com wrote:
Nokogiri
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be
You have so much page source code. Is it better for other people to read
your emails if you attach an attachment?
Wesley.
For life, the easier, the better.
On Mon, May 17, 2010 at 8:55 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Monday, May 17, 2010, Betsy joybe...@gmail.com
ie = Watir::IE.attach(:title, xxx) can locate an existing IE window.
ie.close can close the ie window
Wesley.
For life, the easier, the better.
On Thu, May 13, 2010 at 4:26 AM, Brad bradask...@gmail.com wrote:
Hello,
I want to click on all the links on a page, got it, I have this
working
I think you don't know how to use iframe.
It should be ie.frame(:name, xxx).image(:src, ).click
Wesley.
For life, the easier, the better.
On Fri, Apr 16, 2010 at 1:06 PM, Kinnu kiranyajaman...@gmail.com wrote:
Hi Friends,
I am unable to identify elements inside a frame and no method of
Please try to remove
require 'rubygems'
from your script and then run it.
Wesley.
For life, the easier, the better.
On Mon, Apr 12, 2010 at 1:47 PM, Vijay Shinde shindevija...@gmail.comwrote:
ode:0x800706b5
--
Before posting, please read http://watir.com/support. In short: search before
Please don't use the method: try again
The method below is really helpful.
Watir::Waiter.wait_until{$ff.div(:id, addAlbumLink).exists?}
Wesley.
For life, the easier, the better.
On Fri, Apr 9, 2010 at 2:00 AM, Sal Jamil salem.m.ja...@gmail.com wrote:
mber of tries and wait between tries
--
Watir::Waiter.wait_until{$ff.div(:text, /Done/).exists?}
can also work for Firefox
Wesley.
For life, the easier, the better.
On Thu, Feb 11, 2010 at 12:04 PM, Ramapulla Reddy
ramapullare...@gmail.comwrote:
I have faced same problem
and firewatir allows multiple attributes to use.
Try
ie.text_field(:id,mytextfield).value will get the value in the text field.
You can't get the text_field attribute value by it.
Wesley.
For life, the easier, the better.
On Thu, Apr 8, 2010 at 9:27 AM, Rats crapats...@yahoo.com.au wrote:
I'm trying to check if a field is populated on a page.
You'd better not use :value to locate on text field.
Because the value in text field can change manual.
Wesley.
For life, the easier, the better.
On Thu, Apr 8, 2010 at 9:47 AM, Wesley Chen cjq@gmail.com wrote:
ie.text_field(:id,mytextfield).value will get the value in the text
field
If there is ajax, please use *fire_event* before you *set*
Wesley.
For life, the easier, the better.
On Thu, Apr 8, 2010 at 11:09 AM, Rats crapats...@yahoo.com.au wrote:
On Apr 8, 2:59 pm, Sal Jamil salem.m.ja...@gmail.com wrote:
I just tried that and I am getting the same error.
Is this
from the server. Do I need to also do a fire_event? Isn't that
duplicating the button set event?
On Wed, Apr 7, 2010 at 11:12 PM, Wesley Chen cjq@gmail.com wrote:
If there is ajax, please use *fire_event* before you *set*
Wesley.
For life, the easier, the better.
On Thu, Apr 8, 2010
For file upload button, there is a ready method, named:
$ie.file_field(:name, ).set(your file.txt)
Wesley.
For life, the easier, the better.
On Tue, Apr 6, 2010 at 12:07 PM, Rats crapats...@yahoo.com.au wrote:
Firstly, I should have probably mentioned in my previous posts I am a
Watir
Thank you, guy, it is helpful.
Wesley.
For life, the easier, the better.
On Thu, Mar 25, 2010 at 7:40 PM, Ankur Gera ankurg...@gmail.com wrote:
Hi All,
I have created a gem 'watir_helper' for making Automation Testing Simpler
and Easier.You all can download it from the following link :-
Your problem is dealing with the file download popup.
Please search in Watir official website or in the group.
Wesley.
For life, the easier, the better.
On Tue, Mar 23, 2010 at 11:15 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Tue, Mar 23, 2010 at 4:10 PM, Praveen
I think you have to post your script here.
Wesley.
For life, the easier, the better.
On Thu, Mar 18, 2010 at 6:18 PM, Dilip M lovingdilip...@gmail.com wrote:
Hi All,
I am automating yahoomail..while i am doing so i
encountered a problem.. i
will explain here that problem plz can
I use the latest version of chromewatir, I have also met a problem.
When I run the code below:
*require chrome_watir**
**$browser = ChromeWatir::Browser.new*
*$browser.goto(**www.google.com* http://www.yahoo.com/*)*
*$browser.text_field(:name, q).set hello world*
*$browser.button(:index,
In fact, it can open the IE window, but it can't access the text field.
Wesley.
For life, the easier, the better.
On Thu, Mar 11, 2010 at 5:17 PM, Wesley Chen cjq@gmail.com wrote:
Hi, Zeljko,
When I install
gem install selenium-webdriver
gem install watir-webdriver --pre
I run
Try:
require chrome_watir
$k = ChromeWatir::Browser.new
$k.goto(www.yahoo.com)
Wesley.
For life, the easier, the better.
On Wed, Mar 10, 2010 at 6:59 PM, Mrunal mrunal.gor...@gmail.com wrote:
Hi
I want to test the web applications with google chrome.
I've installed Google Chrome browser
For the HTML you provide, we can't do anything.
Do you want a right click? Why?
element_by_xpath is not a good method to locate an element.
Wesley.
For life, the easier, the better.
On Tue, Mar 9, 2010 at 4:56 AM, barb bfwork2h...@yahoo.com wrote:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML
The code below can work in my editor.
puts $ie.text_field(:xpath, //inp...@qa='request-form.first_name']/)
puts $ie.form(:index, 1).attribute_value(qa)
*
*
*I have the same Watir, ruby version, windows version as you.*
*I think you may try the code again.*
*
*
Wesley.
For life, the easier, the
for the command, but I had it
correct in previous testing, just not posting.
Thanks again,
Adam
On Feb 10, 7:02 pm, Wesley Chen cjq@gmail.com wrote:
The code below can work in my editor.
puts $ie.text_field(:xpath, //inp...@qa='request-form.first_name']/)
puts $ie.form(:index, 1
Of course not.
It will wait no more than 300s.
Please search in the group, I think you can get what you want.
Wesley.
For life, the easier, the better.
On Tue, Feb 9, 2010 at 11:39 AM, Logic Bomb januwa...@yahoo.com wrote:
Hi,
I would like to ask how many seconds does Watir waits for the
Please search in the group about how to read and write in openoffice in
ruby.
Wesley.
For life, the easier, the better.
On Tue, Feb 9, 2010 at 6:24 AM, Naga ravikus...@gmail.com wrote:
Hello,
I am new to Ruby - Watir. I am trying to export results in to an excel
sheet. I am running watir
require 'D:\Waltair scripts\My wokings in waltair\script1.rb'
will execute *MyClass.some_method*
Wesley.
For life, the easier, the better.
On Tue, Feb 9, 2010 at 12:14 AM, Charley Baker charley.ba...@gmail.comwrote:
You seem to be calling MyClass.some_method from both scripts. Delete the
call
I think that's not what he want.
Wesley.
For life, the easier, the better.
On Fri, Feb 5, 2010 at 4:16 AM, AR reed.a...@gmail.com wrote:
You can also set visible:false in the the options.yml file if you
don't want to do it on a script by script basis.
More details here:
You can store it anywhere, you just need require the file and invoke the
methods in it.
Wesley.
For life, the easier, the better.
On Wed, Feb 3, 2010 at 6:10 PM, Nishant nishant.jain2...@gmail.com wrote:
http://wiki.openqa.org/display/WTR/HTML+report+class
The actual report class
Try these below, I don't know whether they are you want or not:
ie.#{element}(:id, foo).document.currentstyle.attributeAsCamelCase
so
ie.#{element}(:id, foo).document.currentstyle.fontFamily
ie.#{element}(:id, foo).document.currentstyle.fontSize
ie.#{element}(:id,
You may try fire_event(onmouseover) first, then fire_event(ondblclick).
Wesley.
For life, the easier, the better.
On Sat, Jan 30, 2010 at 4:01 AM, tester86 sagar.am...@gmail.com wrote:
Can you make it when you click twice?
***.click
***.click
I tried .click .click twice on the
me in this regard
Thanks,
Naveen
On Fri, Jan 22, 2010 at 6:32 AM, Wesley Chen cjq@gmail.com wrote:
If the methods above can't work, you can try the one below.
# When it displays the OKCancel or OK pop up, it will click it
def popup_clicker(ie = $ie, buttonname= OK
Can you make it when you click twice?
***.click
***.click
Wesley.
For life, the easier, the better.
On Fri, Jan 29, 2010 at 12:04 AM, tester86 sagar.am...@gmail.com wrote:
Try this:
fire_event(ondblclick)
There is a label on the page and I have to double click on that label
in
Why do you add the underline between not and you?
If you want to skip the '?', you have to regular expression, like:
ff.link(:class, /not you/).exists?
Thanks.
Wesley Chen.
For life, the easier, the better.
On Tue, Jan 26, 2010 at 9:20 PM, Gimle toni.k.aittoni...@gmail.com wrote:
Hello all. I
Two different ways you can make it.
You can use *index*:
$b.cell(:class =user-column, :index =the text's index).click
You can use *text*:
$b.cell(:class =user-column, ::text=the text you want to click).click
Expect it helps.
Thanks.
Wesley Chen.
For life, the easier, the better.
On Thu, Jan
The problem is on nil:NilClass
It means the script can't find the browser you have defined.
Thanks.
Wesley Chen.
For life, the easier, the better.
On Thu, Jan 21, 2010 at 4:50 AM, QAguy qablogm...@gmail.com wrote:
I'm using safariwatir. I am trying to set a checkbox using the
following
$b.close
end
end*
Thanks.
Wesley Chen.
For life, the easier, the better.
On Tue, Jan 19, 2010 at 10:23 PM, tester86 sagar.am...@gmail.com wrote:
Welsey,
I changed my script according to what you mentioned above. When I run
it in IE I get the following error message:
NoMethodError
I use netbeans editor, it works. If you use different editor, please make
sure the character set is right in the editor settings.
Thanks.
Wesley Chen.
For life, the easier, the better.
On Tue, Jan 19, 2010 at 7:32 PM, jnxgn s...@jnxgn.cn wrote:
Thanks a lot, I had tried before but it did
I think the code you provided above is not enough.
When I paste the code to my local, open it with my IE, I can't see anything.
Have you got a public website with the html code?
For this kind of location, I think it is not difficult.
Thanks.
Wesley Chen.
For life, the easier, the better
Try:
$ie.text_field(:name, keyword).value = 你好
I have not replaced anything.
Thanks.
Wesley Chen.
For life, the easier, the better.
On Tue, Jan 19, 2010 at 12:11 AM, jnxgn s...@jnxgn.cn wrote:
I cannot figure out how to enter the Chinese characters into the
textfield of a webpage
You may change
*Class TestGoogle Test::Unit::TestCase*
to
*class TestGoogle Watir::TestCase*
And
*require 'watir'
require 'watir/testcase'*
Thanks.
Wesley Chen.
For life, the easier, the better.
On Sat, Jan 16, 2010 at 5:35 AM, Bill Agee billa...@gmail.com wrote:
Can you post the complete
I think the xpath is not supported when in a frame.
Thanks.
Wesley Chen.
For life, the easier, the better.
On Thu, Jan 14, 2010 at 10:04 PM, Kunal kunal...@gmail.com wrote:
Hi Angrez,
Do you think this issue can be solved ?
-Kunal
On Jan 11, 12:33 pm, Wesley Chen cjq@gmail.com wrote
.
Wesley Chen.
For life, the easier, the better.
On Mon, Jan 4, 2010 at 11:03 PM, tester86 sagar.am...@gmail.com wrote:
Hi
From my research as far as I understand you can not drive watir
scripts at the same time in the browser unless you create seperate
scripts for them. I have a Test::Unit
$ie.send_keys({ENTER})
Thanks.
Wesley Chen.
For life, the easier, the better.
On Tue, Jan 5, 2010 at 6:22 AM, xguarder shams...@gmail.com wrote:
Thanks, it looks like it is indeed a JS event. However, none of the
fire_events I have tried seems to be working. Is there a JS event name
You're welcome.
I think you need study more about the basic stuff about Watir.
For your question above, it is a link in a CSS, when you view the source,
you should have known that it is a link, rather than a button.
Wish you will realize the powerful of Watir and Ruby.
Thanks.
Wesley Chen
$ie.link(:href, javascript: void(0)).click
or
$ie.link(:text, Auto Complete).click
Thanks.
Wesley Chen.
For life, the easier, the better.
On Sat, Jan 2, 2010 at 1:43 PM, Shaiful Islam jshai...@gmail.com wrote:
Hello All,
I am learning Watir and implementing it one of my project. I have done
Watir latest version is 1.6.5. Please don't use Watir1.5.4.
Thanks.
Wesley Chen.
For life, the easier, the better.
2009/12/30 lu.hr2009 lu.hr2009 lu.hr2...@gmail.com
thread name can i have it ,thank you.
watir-1.5.4.gem have downloaded,it can help me ?
2009/12/29 Wesley Chen cjq
wait for two hours until a stuff load in FF3.5.
Thanks.
Wesley Chen.
For life, the easier, the better.
On Wed, Dec 16, 2009 at 2:13 PM, bender25 zuzi...@yahoo.com wrote:
page does many refreshes / loa
--
You received this message because you are subscribed to the Google Groups
Watir General
No different between text and innerText, they are the same, as if just
alias.
Thanks.
Wesley Chen.
For life, the easier, the better.
On Wed, Dec 16, 2009 at 5:31 PM, Yuping Zhong littlezhong...@gmail.comwrote:
How to print it out?I want to print it in the Terminal.
For* Wesley Chen
:), thank you, Tiffany,
I check my gem local list, I found all the gems version are newer than
yours. I always update them and uninstall the old version.
Thanks.
Wesley Chen.
For life, the easier, the better.
On Sun, Dec 6, 2009 at 8:53 AM, Tiffany Fodor tcfo...@comcast.net wrote:
Oops, sorry
Why don't you use:
$ie.select_list(...).set($ie.select_list(...).getAllContents[2])
Thanks.
Wesley Chen.
For life, the easier, the better.
On Tue, Nov 24, 2009 at 11:58 PM, James jgcpal...@gmail.com wrote:
Well, I sort of resolved my own issue by using getAllContents and then
selecting
.
Thanks.
Wesley Chen.
For life, the easier, the better.
--~--~-~--~~~---~--~~
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@googlegroups.com
Before posting, please read
Sorry for the question.
I should have read the doc below:
http://wiki.openqa.org/display/WTR/Firewatir+Compatibility
Thanks.
Wesley Chen.
For life, the easier, the better.
On Wed, Nov 11, 2009 at 10:36 AM, Wesley Chen cjq@gmail.com wrote:
Hi, Guys,
It is a great news that FireWatir1.6.5
I think you have to study the Watir guide.
Solution 1:
$ie.divs.collect {|div|
if div.class_name == mydata
puts div.text
end
}
Solution 2:
$ie.lis.collect {|li|
puts li.div(:index, 1).text
}
Thanks.
Wesley Chen.
For life, the easier, the better.
On Mon, Nov 9, 2009 at 6:32 PM, Soori sure
That's funny.
Thanks.
Wesley Chen.
For life, the easier, the better.
On Tue, Nov 10, 2009 at 5:15 AM, Ethan notet...@gmail.com wrote:
Somebody seems to be stealing all of your letters 'a'. Watir needs these,
otherwise it's just 'wtir', and lacking the 'application' part can't do
anything. I
But I can't access the URL: http://bit.ly/4mDHoJ
How can I make it?
Thanks.
Wesley Chen.
For life, the easier, the better.
On Tue, Nov 3, 2009 at 4:42 PM, Raveendran P jazzezr...@gmail.com wrote:
Hi Marlon,
welcome ... !
On Tue, Nov 3, 2009 at 1:11 PM, Marlon marlonmoja...@gmail.com
Thank you very much.
Only this way to get the meta data? I think it is not convenient enough.
Thanks.
Wesley Chen.
For life, the easier, the better.
On Tue, Nov 3, 2009 at 10:41 PM, chandu.tennety chandu.tenn...@gmail.comwrote:
Marlon,
Your original code works for me:
{Content-Type=text
I think you have to go to Watir official website, it introduces the basic
knowledge about how to locate.
If you use IE, please download IEdeveloper toolbar plugin;
If you use FF, please use firebug.
Thanks.
Wesley Chen.
For life, the easier, the better.
On Sun, Nov 1, 2009 at 12:39 PM
Yes, it works, but I have to change Uid as User ID, Pw as password.
Thanks.
Wesley Chen.
For life, the easier, the better.
On Fri, Oct 30, 2009 at 4:53 PM, SMF SMF shaikm.fi...@gmail.com wrote:
Hi Pritam,
No problem. Could you please do one favor, can you post the
steps/configuration you
If the sql server port is not the default one 1433, how can we set
it? In the connect string, can we set any other attribute?
On 10/30/09, Wesley Chen cjq@gmail.com wrote:
Yes, it works, but I have to change Uid as User ID, Pw as password.
Thanks.
Wesley Chen.
For life, the easier
Please try:
element(:xxx, 'xxx').parent.element(:yyy, 'yyy')
Thanks.
Wesley Chen.
For life, the easier, the better.
On Fri, Oct 30, 2009 at 9:09 AM, Jeff Fry jeff@gmail.com wrote:
Hey all,
Remind me, is there a way in watir to navigate to the parent of an element?
I'm thinking
That's great news.
Expect all the Watir script in IE can also run through in Chromewatir.
Thanks.
Wesley Chen.
For life, the easier, the better.
On Fri, Oct 23, 2009 at 7:55 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
for creating the project
, Photogallerysanity1).parent.link(:index, 1).click
5. $ie.image(:alt, Photogallerysanity1).parent.link(:text, Edit).click
6. $ie.image(:alt, Photogallerysanity1).parent.link(:class = underline,
:index =1).click
We don't need use Xpth here.
Thanks.
Wesley Chen.
For life, the easier, the better.
2009/10/23
I think, Watir general is a great group, it is kind of because there are
many kind men who are generous.
I think we won't reject any guys who wants to contribute.
We may allow any talent to share their ideas, even if they may leave in
seconds.
Do you think so?
Thanks.
Wesley Chen.
For life
.
Wesley Chen.
For life, the easier, the better.
2009/10/22 Amit Kulkarni amitkkulkarni...@gmail.com
Hi Angrez,
I tried with the link you provided but it shows below error
Unable to locate element, using :xpath,
//i...@title='Photogallerysanity']/
(Watir::Exception::UnknownObjectException
You can use $ie.checkbox(:id, /rating\[\d+\]/)
Thanks.
Wesley Chen.
For life, the easier, the better.
On Wed, Oct 21, 2009 at 7:02 PM, Amit Kulkarni
amitkkulkarni...@gmail.comwrote:
Hello,
I have this html script.
td width=20%
input id=rating[65] type=checkbox value=1 name=rating[65
Maybe Firebug can.
Please try it.
Thanks.
Wesley Chen.
For life, the easier, the better.
On Sun, Oct 18, 2009 at 4:10 AM, Alan Baird aba...@bairdsnet.net wrote:
We have about the same situation in our office. We were able to issue a
CTRL-N on the new browser, which copies the security info
Yes, Zeljko is really a nice, warm-heart person.
Thanks.
Wesley Chen.
For life, the easier, the better.
On Fri, Oct 9, 2009 at 1:34 PM, Raveendran P jazzezr...@gmail.com wrote:
ZelijGO,
Congrats. Awesome effort.
Thanks.
On Fri, Oct 9, 2009 at 11:00 AM, Pallavi Sharma
Hi, Zeljko,
So, would you please show the click method here?
How to flash or click after element_by_xpath method?
Thanks.
Wesley Chen.
The easier, the better.
On Fri, Sep 25, 2009 at 10:34 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Fri, Sep 25, 2009 at 2:26 PM, Angrez Singh
It must be in a frame.
You may use:
ie.frame(...).document.body.focus
ie.send(hello)
Thanks.
Wesley Chen.
The easier, the better.
On Fri, Sep 18, 2009 at 1:39 PM, karim rayani karim@gmail.com wrote:
Why not use Javascript commands,
there is a technique to insert/execute javascript
require 'watir'
require 'watir/testcase'
class Test1 Watir::TestCase
def test1
end
def test2
end
end
When there is exception in test1, test2 will still run.
Expect it could work.
Thanks.
Wesley Chen.
On Thu, Sep 17, 2009 at 3:02 PM, Vishal bvkon...@gmail.com wrote
For the comment below:
$ie.element_by_xpath(//img[contains(@src, 'report_delete.png')]).click
It can locate an image element, which has src attributes, for the
report_delete.png is just part of the src.
I think it can help you.
Thanks.
Wesley Chen.
On Fri, Sep 11, 2009 at 6:03 PM, Guy guy.kid
Hi, Guys,
Now, there is a link on the page, can I get the abscissa and longitudinal
coordinates of it?
I would like to use that coordinates to locate a flex button beside it.
Any suggestion would be quite appreciated.
Thanks.
Wesley Chen
I know that points.
But it is a frame, not a URL.
How can I set it in my browser?
Thanks.
Wesley Chen.
On Wed, Sep 2, 2009 at 4:41 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Wed, Sep 2, 2009 at 10:37 AM, Wesley Chen cjq@gmail.com wrote:
When I try the script below
Hi, Tony,
Thank you so much, I tried your code, it works perfect! It is amazing!
Thanks.
Wesley Chen.
On Wed, Aug 26, 2009 at 4:49 PM, Tony ynot...@gmail.com wrote:
Hi Wesley,
iewin.clickprompt() will click the button in the popup and return the
popup text.
This is the definition - def
) # wait
the popups for 3 minutes.
ret=autoit.WinWait(title,,60) # wait the
popups for 3 minutes.
...
=
Any suggestion would be quite appreciated.
Thanks.
Wesley Chen
Hi, Namit,
Your suggestion maybe good. I know some kinds of solution.
But if I use autoit, there is no title, how can I make it?
autoit=WIN32OLE.new('AutoItX3.Control')
ret=autoit.WinWait(*title*,,60)
Thanks.
Wesley Chen.
On Wed, Aug 26, 2009 at 3:08 PM, Namit namitjai...@gmail.com wrote:
Hi
Hi, Tony,
Thank you very much for the quick reply.
:), 1) I can't find the *below code*;
2)will iewin.clickprompt( ) click the button on the pop up? If it does, if
on the pop up, there are two buttons such as OK/Cancel, how to identify
them?
Thanks.
Wesley Chen.
On Wed, Aug 26, 2009 at 3:43
Why don't you try what you thought?
Thanks.
Wesley Chen.
On Tue, Aug 18, 2009 at 11:17 AM, Marlon marlonmoja...@gmail.com wrote:
Hi George,
Thanks! What if its a div?
Marlon
--~--~-~--~~~---~--~~
You received this message because you are subscribed
You can search in the google group, you can also turn to Watir community,
you can get all the great documents about what you want.
Please search...
Thanks.
Wesley Chen.
On Tue, Aug 11, 2009 at 5:04 PM, Smruti Ranjan Kar
smrutiranjan@gmail.com wrote:
require 'win32ole'
$application
Thank you, Alister.
I run in XP professional version 2002 service pack 3.
Thanks.
Wesley Chen.
On Mon, Jul 20, 2009 at 2:37 PM, Alister Scott alister.sc...@gmail.comwrote:
Are you running Vista?
If so, try this:
http://wiki.openqa.org/display/WTR/FAQ#FAQ
You may try netbeans. It is really good.
Thanks.
Wesley Chen.
On Sun, Jul 12, 2009 at 2:40 PM, khaja shaik khaja.sh...@gmail.com wrote:
Hi
Yes in our product, javaeditor was already implemented and i need to enter
the text using editor.
can is there any way to automate this process
It will be good if you add:
sleep(3) in your script.
Thanks.
Wesley Chen.
On Wed, Jul 8, 2009 at 4:10 AM, Brautigam Gergely skarlso...@yahoo.comwrote:
Hi Ray!
Try the wait_until function.
It's in the Waitr::Waiter class.
--- On *Tue, 7/7/09, Ray rayjh...@gmail.com* wrote:
From: Ray
Hi, Chethan,
I am looking for a good HTML report Ruby class all the time.
Would you please share what you're using?
Thanks in advance.
Thanks.
Wesley Chen.
On Tue, Jun 30, 2009 at 1:43 PM, Chethan chethan2...@gmail.com wrote:
I didn't get your problem, I assume that you want a system to run
Please change:
view_frame=browser.home_frame.frame(:name, view)
to
view_frame = home_frame.frame(:name, view)
Your comment equals to browser.browser.***
Of course it didn't work.
Thanks.
Wesley Chen.
On Mon, Jun 29, 2009 at 10:34 AM, Peace peaceofmind1...@gmail.com wrote:
view_frame
If you can search more in the group, you can get more you want.
Few weeks ago, I have asked the same question.
I don't know whether you can access the post or not:
https://mail.google.com/mail/?zx=3a1ipdi1bgm4shva=1#sent/121b152d08b7ea8e
Thanks.
Wesley Chen.
On Wed, Jun 24, 2009 at 1:14 PM
1 - 100 of 236 matches
Mail list logo