Skip to main content

Hi,

I have started using AA360 since 2 months for automating one of the process.

I have a scenario where window had dynamic Titles when opened every time. Basically its a pdf document opened through my ERP system. Since it has dynamic Titles always, I have some difficulties in closing these windows. I tried using GetActiveWindowTitle and SetTitle actions but realized that window never gets closed. 

I tried creating window variable without title, setting its title as google.com dynamically and then tried  browser close action using same variable. Didn’t worked. 

Any idea how to deal with dynamic title windows?

Note: There is no pattern in title so cant use regex.

Hello @prashantpatil02 

 

Will you be able to access the PDF file name before the window opens?

IF YES 

STEP 01 : Create a variable of type 'Any' and assign that pdf name which you will get usually as window name.

 

 

STEP 02 : assign that created variable to window variable 

 

 

STEP 03 : Use close action


Hi ​@Ganesh Bhat ​@prashantpatil02 ,

 

Is this issue resolved?

I am having same scenario and tried the above steps ​@Ganesh Bhat  but it is throwing an exception.

Context: I have to download PDF and I have name with me which can be the window title.

It shows about :Blank but when AA recorder captures it take the PDF name and PDF name:Google Chrome.

 

Please guide !

Thanks !!

 

 


Hi ​@Ganesh Bhat ​@prashantpatil02 ,

 

Is this issue resolved?

I am having same scenario and tried the above steps ​@Ganesh Bhat  but it is throwing an exception.

Context: I have to download PDF and I have name with me which can be the window title.

It shows about :Blank but when AA recorder captures it take the PDF name and PDF name:Google Chrome.

 

Please guide !

Thanks !!

 

 

Have you tried the Currently Active window option?


Hi ​@Ganesh Bhat ​@prashantpatil02 ,

 

Is this issue resolved?

I am having same scenario and tried the above steps ​@Ganesh Bhat  but it is throwing an exception.

Context: I have to download PDF and I have name with me which can be the window title.

It shows about :Blank but when AA recorder captures it take the PDF name and PDF name:Google Chrome.

 

Please guide !

Thanks !!

 

 

Have you tried the Currently Active window option?

Hi ​@Padmakumar Issue has been resolved.

I used Window set title action, created one window variable and assign Pdf numbers to set title which dynamically taking the window names and working fine.

 


Reply