Jump to content

Winwaitactive with jenkins


Micheal
 Share

Recommended Posts

  • Moderators

@Micheal welcome to the forum. You will often find you get a faster/more complete response if you post the code you're working with, rather than asking us to guess at what you're doing. :)

 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Run("D:\ABS\Install.exe")
WinWaitActive("ABS installation setup", "&Next", 100) ;

Send("!n")

 

if i run this code directly from autoit , It is working fine. But when i am trying to execute from jenkins , it is getting failed due to the "ABS installation setup" is getting minimized by jenkins.  

Link to comment
Share on other sites

  • 11 months later...

Hi guys, 

A good thing is to be sure it s not working with the received title name.

$WinTitle = WinGetTitle ("[active]")



MsgBox (0, "WinTitle" , "WinTitle = "&$WinTitle)

An other way whould be to try with a part of the windows name and the option TitleMatch set on 2

Opt("WinTitleMatchMode", 2)

;If your windows name is "blablablabla 456789"

WinWaitActive ("blabla")

WinActivate ("blabla")

WinWaitActive("ABS")

 

 

Edited by caramen

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...