Re: [Wtr-general] run a javascript in html?

2007-06-07 Thread mihai
nobody can help me? ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] click link in iframe?

2007-06-07 Thread mihai
i have this html code: table border=0 cellpadding=0 cellspacing=0 width=100% tr td colspan=2 class=PContent style=background-color: #FF; IFRAME src =

Re: [Wtr-general] run a javascript in html?

2007-06-07 Thread Manish Sapariya
mihai wrote: nobody can help me? Did you try solution posted by me? reproduced here--- This should work. ie.area(:href, /digit\(4\)/).click For accessing the operators you will have to change the regexp and you are done. --- -Manish

[Wtr-general] [firewatir] Fire_event not working in Firefox

2007-06-07 Thread jhun
I have this in my code: lis = $browser.elements_by_xpath(//li); lis.each do |li| $logger.log(value: + li.id); if (li.id

Re: [Wtr-general] run a javascript in html?

2007-06-07 Thread Manish Sapariya
This should work. ie.area(:href, /digit\(4\)/).click For accessing the operators you will have to change the regexp and you are done. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] forum do not get the postings made using the mailing list

2007-06-07 Thread Manish Sapariya
Hi All, This particular mail is targeted to the admin of watir-general forum on openqa.org. This may be known issue, but I observed that the postings done using mailing list mail id, does not get reflected in the forum and many user's are using just forum for discussing the queries. Is there any

[Wtr-general] Link description from file

2007-06-07 Thread John
Hi, I have stored the link descriptions in a file to limit the maintenance efforts. I read the description from the file, store it in a variable and then click the link. When I use the whole link description, everything works fine: [code] link = www.example.com/contact.php ie.link(:url,

Re: [Wtr-general] Link description from file

2007-06-07 Thread
hi try this : link = contact ie.link(:url, /#{link}/).click 2007/6/7, John [EMAIL PROTECTED]: Hi, I have stored the link descriptions in a file to limit the maintenance efforts. I read the description from the file, store it in a variable and then click the link. When I use the whole link

Re: [Wtr-general] run a javascript in html?

2007-06-07 Thread mihai
that doesn't work Error: undefined method `area' for #Watir::IE:0x2e02304 (NoMethodError) watir code: require 'watir' #includes include Watir ie = IE.new ie.goto( 'http://www.squarebox.co.uk/scalc.html' ) sleep(5) ie.area(:href, /digit\(4\)/).click

Re: [Wtr-general] run a javascript in html?

2007-06-07 Thread Manish Sapariya
I think watir 1.4 does not support map and area element. Try watir 1.5. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] [firewatir] Fire_event not working in Firefox

2007-06-07 Thread Prema Arya
Hi Jhun, Thanks for reporting this. You can use the latest code form svn/trunk at http://firewatir.googlecode.com/svn/trunk/FireWatir/ We have already fixed this issue. In case you face any problem let me know. Regards, Prema On 6/7/07, jhun [EMAIL PROTECTED] wrote: I have this in my code:

Re: [Wtr-general] [firewatir] Fire_event not working in Firefox

2007-06-07 Thread jhun
i hope u could help me. Im in a rush. Thanks!!! ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] odd thing on comparing strings

2007-06-07 Thread reinier
Something odd here, or something foolish I simply miss;) [CODE] strTemp=browser.getEditbox(guiMap.getWindow('login').getObject('Login Editbox','','').getFysicalDescription()) strTemp2='[EMAIL PROTECTED]' if (strTemp.eql?(strTemp2)) puts('strings match') else puts('string does not match') end

Re: [Wtr-general] forum do not get the postings made using the mailing list

2007-06-07 Thread Bret Pettichord
Manish Sapariya wrote: This particular mail is targeted to the admin of watir-general forum on openqa.org. This may be known issue, but I observed that the postings done using mailing list mail id, does not get reflected in the forum and many user's are using just forum for discussing the

Re: [Wtr-general] forum do not get the postings made using the mailing list

2007-06-07 Thread Chris McMahon
Because of the increased traffic on this list and the ongoing troubles we have had keeping the forums and mailing list synchronized, I have been considering migrating watir-general to google groups. I would like to hear comments on this idea, as well as other suggestions. +1 Now that I'm

Re: [Wtr-general] Modal dialog

2007-06-07 Thread Bret Pettichord
Hayato wrote: Does anyone know how to resolve this issue? Please let me know. Don't use threads. Blocking COM calls will block ALL ruby threads. You'll have to spawn code to run in a separate process instead. Bret ___ Wtr-general mailing list

Re: [Wtr-general] Modal dialog

2007-06-07 Thread Hayato Iriumi
Yeah, that's what I was thinking of in my dream. LOL Thanks for your advice, Bret. :-) On 6/7/07, Bret Pettichord [EMAIL PROTECTED] wrote: Hayato wrote: Does anyone know how to resolve this issue? Please let me know. Don't use threads. Blocking COM calls will block ALL ruby threads. You'll

Re: [Wtr-general] not able to click ok for the pop up , after a selection from select lis

2007-06-07 Thread matt
It may be a general winClicker issue. I found that in order to get the winClicker to work, the getWindowHandle() had to perform an exact match. This is because many of the IE windows had the same Microsoft Internet Explorer text in the title. As a result, the incorrect window handle was

Re: [Wtr-general] Trouble selecting list box item - Any suggestions

2007-06-07 Thread Chris McMahon
On 6/7/07, Norris [EMAIL PROTECTED] wrote: Hi, I'm currently having trouble selecting a list box item, any solutions? For example, I'm trying to select the Quantity from the attached Gap site, but I can't. http://www.gap.com/browse/product.do?cid=7389pid=453549 I hope Charley answers

[Wtr-general] Trouble selecting list box item - Any suggestions

2007-06-07 Thread Norris
Hi, I'm currently having trouble selecting a list box item, any solutions? For example, I'm trying to select the Quantity from the attached Gap site, but I can't. http://www.gap.com/browse/product.do?cid=7389pid=453549 Any suggestions will help. Thanks in advance.

Re: [Wtr-general] Trouble selecting list box item - Any suggestions??

2007-06-07 Thread Norris
Thanks for trying. I can't do it with explorer either. Anyone else? ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Trouble selecting list box item - Any suggestions

2007-06-07 Thread Charley Baker
Norris, This will work with Watir 1.5: ie.select_list(:id, 'qtyDropDown').option(:value, '5').select Send me an email, I'm curious to hear what you guys are doing and glad to see you coming out to mailing lists. -Charley On 6/7/07, Chris McMahon [EMAIL PROTECTED] wrote: On 6/7/07, Norris

Re: [Wtr-general] Trouble selecting list box item - Any suggestions

2007-06-07 Thread Norris
Hi Charley, I don't think Watir 1.5 is out yet. What email address can I reach you at? ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] forum do not get the postings made using themailing list

2007-06-07 Thread Jason Darling
Bret, +2. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris McMahon Sent: Thursday, June 07, 2007 12:19 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] forum do not get the postings made using themailing list Because of the increased

Re: [Wtr-general] To view the message send based on ID created.

2007-06-07 Thread sapna
Hi, I think this [ie.link(:href, /id=1274/).click] will help me out but I have another question for this as the id created is dynamic it keep changing for every new transaction. So I need to make transaction and navigate to message page click on the Bill Payment Inquiry link based on the

[Wtr-general] To click on the text link which is the combination of number and text

2007-06-07 Thread sapna
Hi, I had posted this question earlier but could not get any answere to this. I need to click on the text link which has combination of number and text. It looks like pWelcome, you have a href=/AppsUIWeb/SelfService/Messages.aspx2 new messages/a./p. The number is actually the total count of

[Wtr-general] How to capture mail box icon

2007-06-07 Thread sapna
Hi, Help me understand how to do this. I need to capture mail box icon and want to verify whether the mail box is open or closed. Kindly treat this as high priority. Regards Sapna ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] To click on the text link which is the combination of number and text

2007-06-07 Thread sandeep
Let me know if this works ie.link(:text, /[0-9]+ new messages/).click ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] To click on the text link which is the combination of number and text

2007-06-07 Thread sapna
Thanks Sandeep ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Fetching Today's date in the mm/dd/yyyy

2007-06-07 Thread sapna
Thank you... ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How to get the all the content of list box into variable

2007-06-07 Thread sapna
Thank you. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How to give the next line b/w the sentences for window text.

2007-06-07 Thread sapna
Thank u... ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Trouble selecting list box item - Any suggestions

2007-06-07 Thread Norris
Thanks Charley. This worked. In addition, do you know how I can select the size of the waist and length? Thanks in advance. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general