The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> Micro Focus/Compuware TestPartner

Pages: 1
amodio
Newbie


Reged: 08/22/12
Posts: 12
manage messageboxes without using whenever func?
      #717495 - 10/04/12 08:28 AM

hi there
i tried to use whenever function, but...WOW my computer become very slow (i have pentum 4 with 1GBmemory)

so
i need manage all the messagebox that appears on the window
how can i do by code?
i have 10 messagebox that appears in different order
some messagebox have YES/NO, others have only OK button

any solutions?
the problem is that i need to manage my program, and the messageboxes can appear at any time

--------------------
i am a troll
do not take so seriously my posts

Edited by amodio (10/04/12 08:31 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
eggbox
Advanced Member


Reged: 01/27/02
Posts: 457
Loc: Detroit, Michigan
Re: manage messageboxes without using whenever func? [Re: amodio]
      #717824 - 10/10/12 07:32 AM

What type of event are you using, some events are more expensive than others. Maybe you could use a Window Event that looks for the MessageBox to appear, once you trap that, use CaptureText to work out what the message is and then press the appropriate button.

--------------------
//*eggbox


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 3 anonymous users are browsing this forum.

Moderator:  Myrtle, Jim Brennan, AJ, DSquared 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 1596

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5