How to Identify a Citrix Window using Sikuli

Asked by Satish

Hi,

   Am new to Automation and am trying to automate my Application which is on Citrix. Am using Sikuli with selenium Java

Steps to Automate:
1) Open webBrowser
2) Enter Login Credentials
3) Select Citirix icon
4) Citirx Window pops up, click ok on Citirix window

I have automated till step3, the Citrix window is opened but am not able to focus on the citrix window and not able to click on Ok button

i have tried with
  App.open("Applicationname"); //Tried with application name as well as Process Name
  App.focus("ApplicationName"); //Tried with application name as well as Process Name
  screen.find(LogonPopUP); //LogonPopUP is the pattern or path of the image
  screen.click(OkButton); //LogonPopUP is the pattern or path of the image

Need you Help and Advise.

Thanks,
Satish D

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Satish
Solved:
Last query:
Last reply:
Revision history for this message
masuo (masuo-ohara) said :
#1

Why focus() is necessary ?
There is Popup window behind of another window ?

If Popup window is front of screen.
Try wait() or exists() instead of find()?

[example1:]
wait("image.png", seconds)

[example2:]
while not exists("image.png"):
  wait(1)

Revision history for this message
Satish (satish-d1) said :
#2

Hi Masuo,

    Thanks for the reply, this helped me.