Jump to content

How to winActivate, MouseClick on a No Title window and having class Information only.


KVS
 Share

Recommended Posts

Hi , 

Please help me  to know the way to activate and muse click on an window i.e. having no Title and only class information , I am using below code 

ConsoleWrite('STEP4' & @CRLF)
WinWait("[TITLE:; CLASS:Qt5QWindowIcon]", "")
ConsoleWrite('STEP5' & @CRLF)
WinActivate("[TITLE:; CLASS:Qt5QWindowIcon]", "")
ConsoleWrite('STEP6' & @CRLF)
MouseClick('primary', 152, 151 ,1 ,0)
ConsoleWrite('STEP7' & @CRLF)

But in Execution i see till "STEP 4 " only STEP 5 never gets executed.Below code works fine i.e. till STEP4. 

WinWait("[TITLE:xxxx; CLASS:Qt5QWindowOwnDCIcon]", "")
ConsoleWrite('STEP2' & @CRLF)
WinActivate("[TITLE:xxxx; CLASS:Qt5QWindowOwnDCIcon]", "")
MouseClick('primary', 66, 263 ,1 ,0)
ConsoleWrite('STEP3' & @CRLF)
Send('password00')

Send('{ENTER}')

Please Help !!!!

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...