Close popup window in Citrix recorder

citrix

#1

Syllaba Abou Ndiaye
June 24, 2016 17:56 ANSWERED
Hi,

l would like to close a popup window in citrix recorder.

However l don’t know how many times the popup is shown.

Is someone have a solution.

Thanks for your help


#2

Mihai Badita June 28, 2016 23:16
Does using Find Image or Image Exist when the window may pop up help?


#3

Syllaba Abou Ndiaye June 29, 2016 00:21
Finally I have a solution by using Image Exist

I look for if the popup exist, if it exist, the popup will be closed and I check again if it exist.

However if the popup doesn’t exist, I check if it’s the end of the data archiving, if this is true, the archiving is successfully done, if it’s false l checked even the existence of the popup


#4

Nitin Safaya July 02, 2016 07:38
You can also use do-while function containing image-exists and if statement.

which means: image-exists will find the image of pop-up.

if true, pop up will be closed. if false, process will continue.

in coding term:

do

{

image-exists={returns-boolean};

if(image-exists=true)

{

//close popup

}

else

{

//perform-task

set flag=1;

}

}while(flag=0);

//default value of flag=0


#5

I am using Citrix recording unable to edit the , TARGET in Selector option , always Selector option is blank.


#6

Hi there @cutevenky
It appears the scope (target) has not been set for your ‘Click Image’.

Though it should be generated by default, you can easily build it via:

  • Clicking the ‘Options’ for the activity and ‘Indicate Scope on Screen’
    image

  • Selecting the window, element, or region you wish.

Thanks in advance,
Josh


#7

Thank you so much Jdavey its working fine