Re: [Wtr-general] Watir and smartclient

2007-04-19 Thread Sergio Pinon
What is that you are looking for help with? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sadeesh Vinoth Sent: Thursday, April 19, 2007 7:28 AM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Watir and smartclient Can anyone help me.

[Wtr-general] Your Opinion

2007-03-27 Thread Sergio Pinon
I hope this isn’t unappropriate but I figured that since it was a general community for WATIR it would be ok. I have developed a small test engine for hanlding automated testing of application UI’s. I was looking to get some feedback on how it can improve. Here is the source forge link to the

Re: [Wtr-general] Your Opinion

2007-03-27 Thread Sergio Pinon
will installing this affect my current Watir installation ? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sergio Pinon Sent: 28 March 2007 04:09 AM To: wtr-general@rubyforge.org Subject: [Wtr-general] Your Opinion I hope this isn't unappropriate

Re: [Wtr-general] WIN32OLERuntimeError: unknown property or method`readOnly'

2007-03-08 Thread Sergio Pinon
Jeff, I'm sure Charley will answer this as well but I just looked at it right now and if you look at the page source you will see that the control you were trying to access was a label and not a textfield. The label had the id of label_user_email. The textbox had the id of user_email. You

Re: [Wtr-general] Moving to OpenQA.org

2006-03-14 Thread Sergio Pinon
Yeah I will look into them and see what I come up with. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord Sent: Tuesday, March 14, 2006 3:57 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Moving to OpenQA.org On 3/12/06, Sergio

Re: [Wtr-general] Moving to OpenQA.org

2006-03-11 Thread Sergio Pinon
I don't know. What do you need help with? From: [EMAIL PROTECTED] on behalf of Bret Pettichord Sent: Fri 3/10/2006 8:56 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Moving to OpenQA.org On 3/10/06, Sergio Pinon [EMAIL PROTECTED] wrote

Re: [Wtr-general] How do you find a specific string in an HTML page?

2006-02-09 Thread Sergio Pinon
I always like to use the _javascript_ objects. So one way is to be able to get the _javascript_ underlying object from the div reference in WATIR. Then when you get that just call the getAttribute() method on that object and pull out the attribute that you would like. Another way would be

Re: [Wtr-general] Anyone use Test::Unit::Reporter? Fwd: Help withFile.join(File.dirname(__FILE__), '..') ?

2006-01-31 Thread Sergio Pinon
Chris, I have no idea what Reporter is but a while back I submitted a testing framework that sits on top of WATIR and the results are generated in an xml form which I then have parsed by CCNET. Don't know if this is something that you are looking for but if you would like to check it out I can

Re: [Wtr-general] Another JavaScript Question

2006-01-26 Thread Sergio Pinon
This might be another possibility to try: Get the underlying _javascript_ DOM object from the browser: js_dom = ie_browser.getDocument(); At this point you can execute any _javascript_ methods you want against the browser. Since you dont have any name or id attributes you can get

Re: [Wtr-general] Tab Click

2006-01-26 Thread Sergio Pinon
Some thoughts: Can you give the td that contains the text you want clicked an ID attribute. If so then you could try accessing the td directly and calling the click method on it. This can be done with _javascript_ using the following code.

Re: [Wtr-general] Tab Click

2006-01-26 Thread Sergio Pinon
) When I used div, its not throwing any message, but no object is returned. Thanks Meghanath -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Sergio Pinon Sent: Thursday, January 26, 2006 2:03 PM To: wtr-general@rubyforge.org Subject

Re: [Wtr-general] Tab Click

2006-01-26 Thread Sergio Pinon
PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Sergio Pinon Sent: Thursday, January 26, 2006 4:12 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Tab Click Did you try the solution that I mentioned. Give the td an id attribute and then you are golden. You shouldnt have any problems

Re: [Wtr-general] Tricky checkbox selection

2006-01-24 Thread Sergio Pinon
Title: Tricky checkbox selection David, I would need to see the code to see what is happening. But if you are getting the collection of objects with the same name and then trying to sort that array you cant. The reason is that the array of controls is really not an array it is unique

Re: [Wtr-general] Random number generation.

2006-01-23 Thread Sergio Pinon
I dont know too much about the first problem that you are having but as for your second one try this. I changed the max to be no higher than 9 and then you get a maximum of 5 digits. If you have less then I just concat zeros on the end. Hope this helps. Sergio def Random_number

Re: [Wtr-general] Tricky checkbox selection

2006-01-23 Thread Sergio Pinon
:[EMAIL PROTECTED] On Behalf Of Sergio Pinon Sent: Monday, January 23, 2006 1:58 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Tricky checkbox selection Did you try the method I gave you? I wanted to know if it worked. Sergio From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

Re: [Wtr-general] Tricky checkbox selection

2006-01-23 Thread Sergio Pinon
. which I believe represents memory locations? How can I get the values? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sergio Pinon Sent: Monday, January 23, 2006 1:58 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Tricky checkbox selection Did you try

Re: [Wtr-general] Variable Number and Type of Method Parameters?

2006-01-20 Thread Sergio Pinon
Not sure if you guys realize it but there is an xml library available in Ruby called REXML and from there you can use it in your WATIR scripts. I don't know if you saw my last post but I had written a small testing framework on top of Ruby and WATIR that utilizes REXML so that I can store my

Re: [Wtr-general] Variable Number and Type of Method Parameters?

2006-01-20 Thread Sergio Pinon
-general] Variable Number and Type of Method Parameters? Hi Sergio, The XPath extension internally uses REXML only to find the elements in IE DOM. Regards, Angrez On 1/20/06, Sergio Pinon [EMAIL PROTECTED] wrote: Not sure if you guys realize it but there is an xml library available in Ruby

Re: [Wtr-general] How to Have Watir Run Unattended?

2006-01-20 Thread Sergio Pinon
Title: How to Have Watir Run Unattended? I know this may be a little bit of extra work but here is what we do and it works fine. We use CruiseControl.Net which is a service that runs on our build machine and runs at timed intervals or we can force it as well. But then from CruiseControl

Re: [Wtr-general] How to click a button that has no id or name attribute

2006-01-20 Thread Sergio Pinon
Title: How to click a button that has no id or name attribute You can just click the button by using the value attribute: browser.button(:value, Login).click; That should work just fine. Sergio From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paatsch,

Re: [Wtr-general] How is it possible to specify to look foraspec ifictext in a sp ecific tag?

2006-01-20 Thread Sergio Pinon
is it possible to specify to look foraspec ifictext in a sp ecific tag? Could you give me an example? I am fairly new to web testing. Thanks. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sergio Pinon Sent: Friday, January 20, 2006 4:29 PM To: wtr-general@rubyforge.org Subject: Re

Re: [Wtr-general] A testing framework

2006-01-16 Thread Sergio Pinon
In regards to your first question I think the thought process behind that design was that I wanted something robust enough to be able to handle any web testing. I didn't want to have to write if statements for each control on each page so after researching I figured the easiest way would be to