Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

perlguitest · Win32::GuiTest (Perl)

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 2444
  • Category: Perl
  • Founded: Jul 25, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 1596 - 1626 of 1818   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#1596 From: "Earthlink-m_ryan" <m_ryan@...>
Date: Mon Nov 13, 2006 8:34 pm
Subject: Re: Are you using Win32::GuiTest?
m_ryan_1
Send Email Send Email
 
Gabor wrote:

>I very much would like to know if there are real life uses of the module out
there? If you are using it, what are you doing with it?

I use the Win32::GuiTest module to interact with the MLS database in Northern
Virginia. I have found no other way to negotiate the website and use the
Javascript actions on the pages necessary to retrieve the data I need for my
website.
I control an instance of IExplorer in order to navigate through seven pages to
export a search result from listings available on the real estate website. This
program runs from task manager once every two hours and is a life saver for
updating my database.

I get occasional mistakes with SendKeys but not so bad as to make me turn my
back on the module.


Matthew Ryan
703-642-2651
Administrator/Realtor
RE/MAX CitySide
7700 Little River Tpke #305
Annandale, VA 22003

http://www.ListingMap.net

*We will never share your email with anyone without your consent.
*reply with the word 'remove' in the subject line to stop receiving emails from
us.

[Non-text portions of this message have been removed]

#1597 From: "chrs_mcmhn" <christopher.mcmahon@...>
Date: Tue Nov 14, 2006 4:04 pm
Subject: Re: Are you using Win32::GuiTest?
chrs_mcmhn
Send Email Send Email
 
--- In perlguitest@yahoogroups.com, "Danny R. Faught" <faught@...> wrote:
>
> >Are there any similar Perl modules for Linux and Mac OSX? I would
like to
> >automate the key pressing in some
> >programs for these operating systems.
>
> You can use AppleScript for GUI automation on OS X.  I was impressed
with
> how much automation is built in to the OS.  I could have used a Perl
> module to bridge to AppleScript, but I decided that because of the
> skimpy documentation (isn't it always?) for both AppleScript and the
> Perl module that sits on top of it, it would be best to learn the native
> AppleScript first.
>
> I managed to use AppleScript to script several repetitive tasks in my
> client's Mac application (which has no explicit scripting support) and
> caused numerous crashes, many of them reproducible. But when I tried to
> implement a random monkey test, I never quite figured out how to do it.
>
> Linux has something like an X11::Guitest perl module. I haven't tried
> it.  There's also a tool called Android, which isn't object-based, so
> I don't recommend it.
>
> -Danny
>

#1598 From: "chrs_mcmhn" <christopher.mcmahon@...>
Date: Tue Nov 14, 2006 4:07 pm
Subject: Re: Are you using Win32::GuiTest?
chrs_mcmhn
Send Email Send Email
 
--- In perlguitest@yahoogroups.com, "Danny R. Faught" <faught@...> wrote:
>
> I have written a "monkey test" for one of my clients that randomly
> clicks on their application until it crashes. It found several bugs,
> though they tend to be difficult to reproduce.  It's based on a monkey
> test script I found on a web site, and it relies on Win32::GuiTest. I
> ought to write a paper about it some day.

Would that be the monkey-test script that I posted on the
agile-testing wiki http://www.agilistas.org/agile/MonkeyTestingWindows
and perlmonks http://perlmonks.org/index.pl?node_id=357341 and
mentioned on the list itself
http://tech.groups.yahoo.com/group/agile-testing/message/5427 a couple
of years ago?

#1599 From: Rajeev Srivastava <rajanvita@...>
Date: Wed Nov 15, 2006 11:20 am
Subject: Re: Are you using Win32::GuiTest?
rajanvita
Send Email Send Email
 
Hi, I have started perl GUI test few days ago and I am very happy with the
initial API which I am using.For demo purpose I have developed script for
calculator testing. I am Planning for presentation in my comp after doig some
more projects and real work.

   Regards
   Rajeev


---------------------------------
Sponsored Link

Mortgage rates near 39yr lows. $510,000 Mortgage for $1,698/mo -   Calculate new
house payment

[Non-text portions of this message have been removed]

#1600 From: "enrico_1969" <perl_nell@...>
Date: Wed Nov 15, 2006 8:42 am
Subject: Re: Are you using Win32::GuiTest?
enrico_1969
Send Email Send Email
 
Thanks for the info.

Enrique


--- In perlguitest@yahoogroups.com, "Danny R. Faught" <faught@...>
wrote:
>
> >Are there any similar Perl modules for Linux and Mac OSX? I would
like to
> >automate the key pressing in some
> >programs for these operating systems.
>
> You can use AppleScript for GUI automation on OS X.  I was
impressed with
> how much automation is built in to the OS.  I could have used a
Perl
> module to bridge to AppleScript, but I decided that because of the
> skimpy documentation (isn't it always?) for both AppleScript and
the
> Perl module that sits on top of it, it would be best to learn the
native
> AppleScript first.
>
> I managed to use AppleScript to script several repetitive tasks in
my
> client's Mac application (which has no explicit scripting support)
and
> caused numerous crashes, many of them reproducible. But when I
tried to
> implement a random monkey test, I never quite figured out how to
do it.
>
> Linux has something like an X11::Guitest perl module. I haven't
tried
> it.  There's also a tool called Android, which isn't object-based,
so
> I don't recommend it.
>
> -Danny
>

#1601 From: "kpqt01" <kpqt01@...>
Date: Wed Nov 15, 2006 2:47 pm
Subject: Re: Are you using Win32::GuiTest?
kpqt01
Send Email Send Email
 
Hi,

I am using Win32::GuiTest (the only automation tool :) ) to test our
company's vsC++ application.  I found this tool about 5 months ago and
loving it.  From basic control to advance control, I able to write
mall test scripts as well as building an over all regression GUI test.
This tool really give me the feeling that I know what I'm coding and
in control.

Thanks for the great tool.

--- In perlguitest@yahoogroups.com, "Gabor Szabo" <szabgab@...> wrote:
>
> Hi,
>
> during my classes "Perl for QA professionals" - among many other
> things - I have been teaching how to use Win32::GuiTest for more than
> 2 years now. I am also a "maintainer" of the module though I have
> worked on it very little.
> On the other habd I have never needed it in real life projects as
most of my
> work is done on Linux.
>
> I also see very low traffic on the mailing list so I wonder if you
> people are using it.
> I very much would like to know if there are real life uses of the
> module out there?
> If you are using it, what are you doing with it?
>
> If you are using other things to automate interaction with Windows
> GUI, what other
> tools are you using? What kind of things are you doing with that?
>
> Gabor
>

#1602 From: "Eric" <paytonrules@...>
Date: Wed Nov 15, 2006 2:31 pm
Subject: Re: Are you using Win32::GuiTest?
rushtopher
Send Email Send Email
 
I'm currently using it for automating our installation program
tests.  We have a big, and stupid, paper checklist of stuff we have
to do to make sure our dialog boxes are still working.  I'm killing
that with Perl. It's actually growing to become a decent-sized suite
using the other Perl testing libraries.

I'd rather use Ruby - but the Ruby windows automation project isn't
finished yet and I really don't have the time to put into helping out
with that.

--- In perlguitest@yahoogroups.com, "Gabor Szabo" <szabgab@...> wrote:
>
> Hi,
>
> during my classes "Perl for QA professionals" - among many other
> things - I have been teaching how to use Win32::GuiTest for more
than
> 2 years now. I am also a "maintainer" of the module though I have
> worked on it very little.
> On the other habd I have never needed it in real life projects as
most of my
> work is done on Linux.
>
> I also see very low traffic on the mailing list so I wonder if you
> people are using it.
> I very much would like to know if there are real life uses of the
> module out there?
> If you are using it, what are you doing with it?
>
> If you are using other things to automate interaction with Windows
> GUI, what other
> tools are you using? What kind of things are you doing with that?
>
> Gabor
>

#1603 From: "Anand, Vaitheeswaran \(IE10\)" <Anand.Vaitheeswaran@...>
Date: Wed Nov 15, 2006 4:05 pm
Subject: RE: Are you using Win32::GuiTest?
sailanandcbe
Send Email Send Email
 
Hi,

I used initially and made my team also to use it. Right now I moved to
another role so not doing much with it.

I would suggest that if possible please share the class room material
for your classes so more and more QA professionals will be benefited.

Thanks for your good work.

V Anand

-----Original Message-----
From: perlguitest@yahoogroups.com [mailto:perlguitest@yahoogroups.com]
On Behalf Of Gabor Szabo
Sent: Monday, November 13, 2006 12:35 PM
To: perlguitest@yahoogroups.com
Subject: [perlguitest] Are you using Win32::GuiTest?

Hi,

during my classes "Perl for QA professionals" - among many other
things - I have been teaching how to use Win32::GuiTest for more than
2 years now. I am also a "maintainer" of the module though I have
worked on it very little.
On the other habd I have never needed it in real life projects as most
of my
work is done on Linux.

I also see very low traffic on the mailing list so I wonder if you
people are using it.
I very much would like to know if there are real life uses of the
module out there?
If you are using it, what are you doing with it?

If you are using other things to automate interaction with Windows
GUI, what other
tools are you using? What kind of things are you doing with that?

Gabor



Yahoo! Groups Links

#1604 From: "Gabor Szabo" <szabgab@...>
Date: Thu Nov 16, 2006 11:55 am
Subject: Re: Are you using Win32::GuiTest?
gabor529
Send Email Send Email
 
On 11/15/06, Anand, Vaitheeswaran (IE10)
<Anand.Vaitheeswaran@...> wrote:
>
>  I would suggest that if possible please share the class room material
>  for your classes so more and more QA professionals will be benefited.

Though this is not the latest version, you can find the slides and the examples
here: http://www.szabgab.com/perl_in_test_automation.html


Gabor
ps.
Invitations for live training classes are welcome

#1605 From: "mitun4u" <mitun4u@...>
Date: Thu Nov 16, 2006 1:35 pm
Subject: is there any downsides of useing the recorder
mitun4u
Send Email Send Email
 
is there any downsides of useing the recorder

#1606 From: "tpham1002002" <tpham1002002@...>
Date: Fri Nov 17, 2006 8:53 pm
Subject: How to find windows ?
tpham1002002
Send Email Send Email
 
Hi All,

I have seen an example in perlguitest about opening notepad and
enter
some words in there.
Would anyone please explain to me what is the number #32770, 0x470,
and ComboBox and how to get these name/value ?
Suppose I am doing something on the ComBobox and what I should do to
go back to the window 0 ?


# Open the Font dialog
SendKeys(OpenFont);

# Find the Font dialog using the title and window class
# The Font dialog isn't a child of the notepad window
my ($fontdlg) = FindWindowLike(0, FontTxt(), "#32770"); die "Where
is
the Font dialog?\n" unless $fontdlg;
# Find the right combo using it's control id
my ($combo) = FindWindowLike($fontdlg, "", "ComboBox", 0x470);
die "Where is the combo with the font names?" unless $combo;
SendKeys("Arial");

Thanks a lot.

#1607 From: vidhut singh <vidhut_ait2002@...>
Date: Sat Nov 18, 2006 7:57 am
Subject: Re: How to find windows ?
vidhut_ait2002
Send Email Send Email
 
Hi,

   I didn't get your question exactly but  what have been observed :

   #32770 is a windows class name and it is used to find the windows handle by
using FindWindowLike();
   and if u want to get the class name of any window then there are tools
available like Winspy , Autoit etc all are free ... using this tools you can
easily get the desire window class name ,control Id etc .

   Regards,
   Vidhut



tpham1002002 <tpham1002002@...> wrote:
           Hi All,

I have seen an example in perlguitest about opening notepad and
enter
some words in there.
Would anyone please explain to me what is the number #32770, 0x470,
and ComboBox and how to get these name/value ?
Suppose I am doing something on the ComBobox and what I should do to
go back to the window 0 ?

# Open the Font dialog
SendKeys(OpenFont);

# Find the Font dialog using the title and window class
# The Font dialog isn't a child of the notepad window
my ($fontdlg) = FindWindowLike(0, FontTxt(), "#32770"); die "Where
is
the Font dialog?\n" unless $fontdlg;
# Find the right combo using it's control id
my ($combo) = FindWindowLike($fontdlg, "", "ComboBox", 0x470);
die "Where is the combo with the font names?" unless $combo;
SendKeys("Arial");

Thanks a lot.









---------------------------------
  Find out what India is talking about on  - Yahoo! Answers India
  Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it
NOW

[Non-text portions of this message have been removed]

#1608 From: "Danny R. Faught" <faught@...>
Date: Mon Nov 20, 2006 2:41 am
Subject: Re: Are you using Win32::GuiTest?
sw_alchemist
Send Email Send Email
 
> 1f. Re: Are you using Win32::GuiTest?
>     Posted by: "chrs_mcmhn" christopher.mcmahon@... chrs_mcmhn
> Would that be the monkey-test script that I posted on the
> agile-testing wiki http://www.agilistas.org/agile/MonkeyTestingWindows
> and perlmonks http://perlmonks.org/index.pl?node_id=357341 and
> mentioned on the list itself
> http://tech.groups.yahoo.com/group/agile-testing/message/5427 a couple
> of years ago?

Yes, that looks like it - Google found it for me on perlmonks.org.  Thanks!  I
did a good deal of tweaking to make it more robust and to customize it to
dismiss the various dialogs that the particular application might pop up.  It's
difficult to make even a simple monkey test robust.
--
Danny R. Faught
Tejas Software Consulting
http://tejasconsulting.com/

#1609 From: "Dennis K. Paulsen" <ctrondlpaulsden@...>
Date: Sat Nov 25, 2006 2:56 pm
Subject: Re: is there any downsides of useing the recorder
ctrondlpaulsden
Send Email Send Email
 
Hello,

At this point there are a couple of downsides of using the recorder...
  It primarily records only mouse and keyboard interactions with little
support for control-specific functions.  Also, it seems (maybe just
for me) that with recent Windows updates, the recorder may crash
occasionally.

I haven't had much time lately to enhance the recorder, but welcome
any help in doing that.

Regards,
Dennis K. Paulsen

--- In perlguitest@yahoogroups.com, "mitun4u" <mitun4u@...> wrote:
>
> is there any downsides of useing the recorder
>

#1610 From: "negedi" <neven.dinev@...>
Date: Mon Nov 27, 2006 9:02 pm
Subject: Re: Using ie as a transporter via http
negedi
Send Email Send Email
 
it is not clear what are limitation on your machine(s).. you do not
have perl, no use of wget... curl etc... what else ... it will be hard
to do anything if you do not have rights on this machine.
you can upload only exe on the machine or what?

--- In perlguitest@yahoogroups.com, "y_s_geo" <yordan.georgiev@...> wrote:
>
> Hi all,
> Here a short conceptual view . All comments and suggestions are
> wellcome!
> Requirements
> An external programm calls and perl2exe made executable (we do not
> have perl on the workstations  ), which should
> transfer one snapshot *.jpg file (200-400 KB) to a server via http
> and some maximum 100KB of a simple text file.
> The http server is perl enabled IIS, configured with restricted
> access ( as restricted as IIS could do it ; )
> Curl and wget are out of question, because of very strict firewall
> rules....
> "Nice to have "
> Speed. Invisibility.
>
> Solution:
> Start IE in invisible mode with Win32::Process
> 						 {
> Win32::Process::Create( $ie_starter_o, "$ie_path", "ie $param" , 0,
> CREATE_NO_WINDOW ,"."); 	 }
> , where $param should be the URI post path formed so that there
> should not be any pressing of buttons  of the upload post form on the
> server side.
>
> How about the username and pass , if a want to start the process so
> that it will not be visible does the recognition work?!
>
> Or should I change the strategy and start to implement some reverse
> proxy stuff (seems to be a litte bit too difficult at the moment  )
>
> Ok you do not have to give the ready answers - I appriciate also
> hints to search / study for ?
>
>
> http://ysgitdiary.blogspot.com/
>

#1611 From: "y_s_geo" <yordan.georgiev@...>
Date: Tue Nov 28, 2006 1:54 pm
Subject: Re: Using ie as a transporter via http
y_s_geo
Send Email Send Email
 
Hi,

Thanks for answering !
I have the admin rights to those workstations. Yet I am not
allowed to change drastically the installed programs on them -
for example install perl ; (
But - I am able to copy executable files and run them (I can
create them with perl2exe as soon as they do not brake the
security policy of our company.
The limitations are due to the strict firewall rules - e.g. even
the http pipe is open it could be used only by iexplore.exe
firefox.exe and some others I do not really know and I am not
supposed to know, because of my position in the company ; )
That is why I chosed this solution, otherwise it seeems to me
that curl or LWP could have been the best choice for file
uploading via http.
Actually I got the file upload cgi script on the server side so
basically from those workstations I am able to updload manually
those files (even > 1 MB ) on the server.
I am missing the client gui implementation ( perl qui script
made into executable ) and some security stuff.
So all more clever than me (Your total number is devastatingly
greate ; ), please advise

#1612 From: "tpham1002002" <tpham1002002@...>
Date: Tue Nov 28, 2006 5:46 pm
Subject: Setting sleep time
tpham1002002
Send Email Send Email
 
Hi All,

I am writing a gui automation test for a fpga flow. For instance if
I click on icon A then run tool A, then click on icon B then run
tool B

MouseMoveAbsPix($left+50,490); <------ click on icon A
sleep(3);
SendMouse("{RightClick}");
SendKeys("{DOWN}");
SendKeys("{DOWN}");
SendKeys("{ENTER}"); <-------------- execute A
sleep(30);
MouseMoveAbsPix($rightF+60,$topF-20);<------ click on icon B
SendMouse("{LeftClick}");
SendKeys("{DOWN}");
SendKeys("{DOWN}");
SendKeys("{DOWN}");
SendKeys("{DOWN}");
SendKeys("{DOWN}");
SendKeys("{DOWN}");
SendKeys("{DOWN}");
SendKeys("{DOWN}");
SendKeys("{DOWN}");
SendKeys("{DOWN}");
SendKeys("{RIGHT}");
SendKeys("{DOWN}");
SendKeys("{DOWN}");
SendKeys("{ENTER}");
SendKeys("test.scr");
PushButton("OK");
sleep 5;
SendKeys("{LEFT}");
SendKeys("{ENTER}"); <-------------- execute A

The problem is the timing. Sometimes some designs need longer
runtime in tool A even I do set sleep(30) and it still go to execute
tool B. Because tool B needs output from tool A so it hangs there.
I have problem with this and would like to have your help.

Thanks

#1613 From: Susruth Sudhakaran <sush_1205@...>
Date: Wed Nov 29, 2006 1:00 am
Subject: Re: Setting sleep time
sush_1205
Send Email Send Email
 
Is there an indication when tool A is done executing? like a wndow pops or
something. If there is then u might haev to do FindWindowLike in a loop tiil d
window appears ofcourse making sure it doesnt do a death loop.
Another option would be for u to start the  Tool A in a synchronous process and
wait for the process to return b4 proceeding to start tool B


----- Original Message ----
From: tpham1002002 <tpham1002002@...>
To: perlguitest@yahoogroups.com
Sent: Tuesday, November 28, 2006 9:46:49 AM
Subject: [perlguitest] Setting sleep time

Hi All,

I am writing a gui automation test for a fpga flow. For instance if
I click on icon A then run tool A, then click on icon B then run
tool B

MouseMoveAbsPix( $left+50, 490); <------ click on icon A
sleep(3);
SendMouse("{ RightClick} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{ENTER} "); <----------- --- execute A
sleep(30);
MouseMoveAbsPix( $rightF+60, $topF-20) ;<------ click on icon B
SendMouse("{ LeftClick} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{RIGHT} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{ENTER} ");
SendKeys("test. scr");
PushButton(" OK");
sleep 5;
SendKeys("{LEFT} ");
SendKeys("{ENTER} "); <----------- --- execute A

The problem is the timing. Sometimes some designs need longer
runtime in tool A even I do set sleep(30) and it still go to execute
tool B. Because tool B needs output from tool A so it hangs there.
I have problem with this and would like to have your help.

Thanks






________________________________________________________________________________\
____
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

[Non-text portions of this message have been removed]

#1614 From: vidhut singh <vidhut_ait2002@...>
Date: Thu Nov 30, 2006 8:30 am
Subject: Re: Setting sleep time
vidhut_ait2002
Send Email Send Email
 
Hey !
   There is a functionality called waitwindowlike();No need to put in a loop , So
some times it happens that in a loop u dont get the handle.

Susruth Sudhakaran <sush_1205@...> wrote:
           Is there an indication when tool A is done executing? like a wndow
pops or something. If there is then u might haev to do FindWindowLike in a loop
tiil d window appears ofcourse making sure it doesnt do a death loop.
Another option would be for u to start the Tool A in a synchronous process and
wait for the process to return b4 proceeding to start tool B

----- Original Message ----
From: tpham1002002 <tpham1002002@...>
To: perlguitest@yahoogroups.com
Sent: Tuesday, November 28, 2006 9:46:49 AM
Subject: [perlguitest] Setting sleep time

Hi All,

I am writing a gui automation test for a fpga flow. For instance if
I click on icon A then run tool A, then click on icon B then run
tool B

MouseMoveAbsPix( $left+50, 490); <------ click on icon A
sleep(3);
SendMouse("{ RightClick} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{ENTER} "); <----------- --- execute A
sleep(30);
MouseMoveAbsPix( $rightF+60, $topF-20) ;<------ click on icon B
SendMouse("{ LeftClick} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{RIGHT} ");
SendKeys("{DOWN} ");
SendKeys("{DOWN} ");
SendKeys("{ENTER} ");
SendKeys("test. scr");
PushButton(" OK");
sleep 5;
SendKeys("{LEFT} ");
SendKeys("{ENTER} "); <----------- --- execute A

The problem is the timing. Sometimes some designs need longer
runtime in tool A even I do set sleep(30) and it still go to execute
tool B. Because tool B needs output from tool A so it hangs there.
I have problem with this and would like to have your help.

Thanks

__________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

[Non-text portions of this message have been removed]






---------------------------------
  Find out what India is talking about on  - Yahoo! Answers India
  Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it
NOW

[Non-text portions of this message have been removed]

#1615 From: "swanand111" <swanand111@...>
Date: Thu Dec 7, 2006 5:26 am
Subject: Have any one used this module for identifying Table or Grid in GUI...
swanand111
Send Email Send Email
 
Hi all,

I want use this module for identifying Table/Grid, Rows in Table/Grid
and selection of specific rows from Grid or Table.

if anyone has details or Code Snippets...
pls send it to me..

waiting for Valuable reply..

Swanand

#1616 From: "Cristian Casmala" <casmala_c@...>
Date: Fri Dec 8, 2006 11:05 am
Subject: access ComboBox located in toolbar
casmala_c
Send Email Send Email
 
Hi

I have difficulties accessing a ComboBox located in a toolbar. The
situation is similar to accessing the Font name ComboList in MsWord.
The ComboBox has a specific ID that allows actions such as browsing
through it's entries and selecting from a larger variety of ComboBoxes.
How do I find the correct id? And it's not widely valuable solution to
use tools such as Winspy or spy, because i need my program to be
portable.

Thanks alot,

Cristian

#1617 From: "nor" <testerng@...>
Date: Wed Dec 13, 2006 7:04 am
Subject: Win32::GuiTest - GetMenu function
testerng
Send Email Send Email
 
Hello

I have installed Win32::GuiTest v.1.3 and when trying to use GetMenu,
GetMenuItemInfo, GetSubMenu or GetMenuItemCount methods of that package
I get the following message: "Undefinedsubrutine &main::GetMenu
called...". Can anybody help me to solve that problem?

Sincerely, Norayr

#1618 From: "jonnyroberts1978" <jonnyroberts1978@...>
Date: Wed Dec 13, 2006 3:40 pm
Subject: Button Colour
jonnyroberts...
Send Email Send Email
 
does anyone have any idea if it is possible to get the colour of a
button, or the colour of the text on a button?

#1619 From: "Kiran Rajan" <kiran_rajan@...>
Date: Wed Dec 13, 2006 12:03 pm
Subject: RE: Win32::GuiTest - GetMenu function
kiranraj20
Send Email Send Email
 
Hi



I think you forgot to add the following line to the beginning of your
perlscript



Use Win32::GuiTest;



Add it and the script should work fine



Regards

Kiran





________________________________

From: perlguitest@yahoogroups.com [mailto:perlguitest@yahoogroups.com]
On Behalf Of nor
Sent: Wednesday, December 13, 2006 12:34 PM
To: perlguitest@yahoogroups.com
Subject: [perlguitest] Win32::GuiTest - GetMenu function



Hello

I have installed Win32::GuiTest v.1.3 and when trying to use GetMenu,
GetMenuItemInfo, GetSubMenu or GetMenuItemCount methods of that package
I get the following message: "Undefinedsubrutine &main::GetMenu
called...". Can anybody help me to solve that problem?

Sincerely, Norayr





**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for
the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are
not to copy, disclose, or distribute this e-mail or its contents to any other
person and any such actions are unlawful. This e-mail may contain viruses.
Infosys has taken every reasonable precaution to minimize this risk, but is not
liable for any damage you may sustain as a result of any virus in this e-mail.
You should carry out your own virus checks before opening the e-mail or
attachment. Infosys reserves the right to monitor and review the content of all
messages sent to or from this e-mail address. Messages sent to or from this
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

[Non-text portions of this message have been removed]

#1621 From: vidhut singh <vidhut_ait2002@...>
Date: Thu Dec 14, 2006 1:21 pm
Subject: RE: Win32::GuiTest - GetMenu function
vidhut_ait2002
Send Email Send Email
 
Hi,
   If the problem still persist even after you have included use Win32::Guitest
   then its a clear cut problem of win32 version .Instead of using old version
just download win32:guitest v 1.5 . It will definetly work :)
   regards,
   Vidhut

Kiran Rajan <kiran_rajan@...> wrote:

Hi



I think you forgot to add the following line to the beginning of your
perlscript



Use Win32::GuiTest;



Add it and the script should work fine



Regards

Kiran





________________________________

From: perlguitest@yahoogroups.com [mailto:perlguitest@yahoogroups.com]
On Behalf Of nor
Sent: Wednesday, December 13, 2006 12:34 PM
To: perlguitest@yahoogroups.com
Subject: [perlguitest] Win32::GuiTest - GetMenu function



Hello

I have installed Win32::GuiTest v.1.3 and when trying to use GetMenu,
GetMenuItemInfo, GetSubMenu or GetMenuItemCount methods of that package
I get the following message: "Undefinedsubrutine &main::GetMenu
called...". Can anybody help me to solve that problem?

Sincerely, Norayr



**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for
the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are
not to copy, disclose, or distribute this e-mail or its contents to any other
person and any such actions are unlawful. This e-mail may contain viruses.
Infosys has taken every reasonable precaution to minimize this risk, but is not
liable for any damage you may sustain as a result of any virus in this e-mail.
You should carry out your own virus checks before opening the e-mail or
attachment. Infosys reserves the right to monitor and review the content of all
messages sent to or from this e-mail address. Messages sent to or from this
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

[Non-text portions of this message have been removed]






---------------------------------
  Find out what India is talking about on  - Yahoo! Answers India
  Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it
NOW

[Non-text portions of this message have been removed]

#1622 From: <tikesh.rane@...>
Date: Tue Dec 19, 2006 12:37 pm
Subject: can we remove special meaning of ~ etc.
tikeshrane
Send Email Send Email
 
hello everyone,
i have newly joined this group. i am facing some problems in using
winguitest.
i want to know whether we can disble the special meaning of characters
like ~, % etc.... one way is given in the document to put {} around the
character, but it can not help me. i am writing program as follows
------------------------------------------------------
open (test, "some_file");
     while (<test>) {
     Win32::GuiTest::SendKeys($_);
   }
-------------------------------------------------------

now the problem is, "some_file" may contain characters like ~ , % etc...
that i want to send as literal characters without special meaning .....
if somebody have some solution to my problem please let me know ......

i have another problem -- i couldn't read the text of a word file using
the example of "notepad_test.pl". in this example following line is
being used
my @edits = FindWindowLike($notepad, "", "Edit");
what should i use in place of "Edit" to get the text from a word file
and how would i know the class i should use to get text from the
perticular application ?? please help me ....
Thanks..............

-- Tikesh



[Non-text portions of this message have been removed]

#1623 From: "jonnyroberts1978" <jonnyroberts1978@...>
Date: Tue Dec 19, 2006 8:44 am
Subject: Problems with GetListViewContents
jonnyroberts...
Send Email Send Email
 
Hi,

I have been having some problems using GetListViewContents with our
application so I thought I would try and get it to work with windows
explorer. However, I stil couldn't get it working with explorer. I
have added the code I am using below, has anyone got an ideas why it
isn't working?


my $fgWindow = WaitWindowLike(0, "My Computer", "ExploreWClass");
SetForegroundWindow($fgWindow);

my @folderView = FindWindowLike(undef,"FolderView",undef, 0x01, 9);

foreach my $w ( @folderView ) {
         if( IsWindowVisible( $w ) )
	 {
                 my @list1 = GetListViewContents($folderView);
                 $NumberOfElementsInArray = scalar(@list1);
                 print $w;
                 printf("The item is %d \n", $NumberOfElementsInArray);
                 if (%list1 >= 1 ) {
                         foreach my $s (@list1) {
                                 print($s);
                         }
                 }
         }
}

#1624 From: <tikesh.rane@...>
Date: Tue Dec 19, 2006 12:37 pm
Subject: can winguitest work in locked system ??
tikeshrane
Send Email Send Email
 
hello friends,
my perl script doesn't work when the system is locked.. i tried to
search on the group if anybody else also had the same problem. i found
that may other people had the same problem and they posted mails to find
some solution. but i couldn't see any mail in which any solution to this
problem is suggested... i want to use script to interact with the system
when i am not there and i can't leave my system unlocked :(  ... have
anybody got any solution to this problem ?? please let me know if u have
any solution....
--Tikesh .


[Non-text portions of this message have been removed]

#1625 From: Rajeev Srivastava <rajanvita@...>
Date: Wed Dec 20, 2006 11:58 am
Subject: Re: Win32::GuiTest - GetMenu function
rajanvita
Send Email Send Email
 
Hi I agree with Vidyut,

   The new version of Perl GUI test 1.50.05 will work for You. I faced same few
days ago but after installing new version problem got solved.

   Regards
   Rajeev

  __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

[Non-text portions of this message have been removed]

#1626 From: Tobin Cataldo <tcataldo@...>
Date: Tue Dec 19, 2006 2:38 pm
Subject: Re: can winguitest work in locked system ??
tobin_cataldo
Send Email Send Email
 
No. Windows does not allow a window to be in 'Front' on a locked system.
You also cannot move from locked to unlocked, but you can use a script
to edit the registry to allow autologin and then reboot into an unlocked
state, run your script, then reedit registry and reboot to locked state.
But the computer will and must be unlocked during the duration of the
SendKeys scripts.

Tobin Cataldo

tikesh.rane@... wrote:
>
> hello friends,
> my perl script doesn't work when the system is locked.. i tried to
> search on the group if anybody else also had the same problem. i found
> that may other people had the same problem and they posted mails to find
> some solution. but i couldn't see any mail in which any solution to this
> problem is suggested... i want to use script to interact with the system
> when i am not there and i can't leave my system unlocked :( ... have
> anybody got any solution to this problem ?? please let me know if u have
> any solution....
> --Tikesh .
>
> [Non-text portions of this message have been removed]
>
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.

Messages 1596 - 1626 of 1818   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help