Please try running the attached script.  I am trying to use AutoIt to click
on the Yes/No popup and I have not been successful.  When my co-worker runs
this script she is not seeing the popup, but in my environment I see the
pop up, but the syntax as is does not click on the no button.

Thanks in advance for your input.

(See attached file: GoogleTestAutoIt.rb)


                                                                           
             Vishal Chavan                                                 
             <[EMAIL PROTECTED]                                             
             ester.com>                                                 To 
             Sent by:                  [email protected]           
             wtr-general-bounc                                          cc 
             [EMAIL PROTECTED]                                              
                                                                   Subject 
                                       Re: [Wtr-general] Desperately       
             10/18/2005 10:36          seeking Popup assistance            
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
             [EMAIL PROTECTED]                                             
                 orge.org                                                  
                                                                           
                                                                           




Hi Carl,


If you can post the HTML code or better save the file, zip it & send it
across to me, I wld be more than glad to help U & trust others in our group
can give u correct pointers. Hope U post the attachment or provide link to
the application (if hosted) or provide link to similar app on internet that
U know of...I trust Watir!!


Regards,


Vishal

--- [EMAIL PROTECTED] wrote:

From: [EMAIL PROTECTED]
Date: Tue, 18 Oct 2005 07:55:55 -0500
To: [email protected]
Subject: Re: [Wtr-general] Desperately seeking Popup assistance





Thanks for the response Chris! Unfortunately I am not a programmer. I
understand the concept of multiple threads, but I do not know how to make
it happen in Ruby. I have tried numerous combinations of WATIR syntax, but
I am simply guessing. The Unit tests run in my environment, so I expected
one of the examples would work.

My inability to get over this Pop Up issue is forcing me to use another
functional testing tool, but my preference would be to use WATIR. WATIR
provides us with several advantages over the other functional testing tool.

WATIR provides us the ability to check in scripts into source control along
side the code under test. WATIR also allows us to quickly generate test
scripts that outline the steps to the developers for a specific defect and
the expected result. Our goal is to attach these WATIR scripts to the
actual defects.

I am not able to do these things with the other functional testing tool.
The other tool however handles Pop ups flawlessly.

I think WATIR is the way to go, so I plea once again for assistance.





Chris McMahon
<christopher.mcma
[EMAIL PROTECTED]> To
Sent by: [email protected]
wtr-general-bounc cc
[EMAIL PROTECTED]
Subject
Re: [Wtr-general] Desperately
10/13/2005 12:11 seeking Popup assistance
AM


Please respond to
[EMAIL PROTECTED]
orge.org






On 10/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>

> Apparently I am just not getting it. I have tried for several days now
to
> get WATIR to handle a modal without success. I also have a Popup utility
> that I cannot get WATIR to recognize.
>
> Any tips, code snippets, questions, divine guidance, and lecturing would
be
> most appreciated. Unfortunately I can not share the application specific
> HTML nor provide access to this application, so not much help there.


Hi Carl...
I really, really feel your pain, and I am just not in a position
right now to take a crack at your question.
I can't give you divine guidance (and I don't live in Austin) but
here's a clue: threads. And fork()
One way or another, you have to handle popups in a different
process than the one that is controlling your IE.
If you don't have an answer by next week, I'll be back, but in
the meantime, think about forking and threads, and maybe ask one more
time.
-Chris

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general




Join SQAtester.com Community --->
http://www.sqatester.com/testersarea/joinus.htm
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general


Attachment: GoogleTestAutoIt.rb
Description: Binary data

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to