Assignment 2 - Stuck at Create Yearly report XAML file . Please help and advice

System1_CreateYearlyReprt.xaml (49.1 KB)

I am getting Below exception
System exception.Cannot find the UI element corresponding to this selector: at Source: Invoke System1_CreateYearlyReprt workflow: Click Year.

TIA

Hi @Himani_K

I saw your workflow, first of all selector for Click Year should be dynamic and even if it is not, it should be like this

"<html app='chrome.exe' title='ACME System 1 - Reports - Download Monthly Report' /><webctrl aaname='"+in_Year+"' parentid='searchForm' tag='SPAN' />"

first tag can be changed according to browser you are using.

you are using this

<webctrl aaname='2018' parentid='searchForm' tag='BUTTON' />

Thanks,
Prankur

@PrankurJoshi Thankyou ! I think this has been resolved for now . But i am having another issue . Please see below and advice.

System exception.Cannot find the UI element corresponding to this selector: at Source: Invoke System1_CreateYearlyReprt workflow: Click Month

@niteshn Can you please help me here!

Appreciate your help! TIA

Hi @Himani_K

Months should be an array,

and your selector for click on month should be

"<html title='ACME System 1 - Reports - Download Monthly Report' /> <webctrl aaname='"+month.ToString+"' parentid='searchForm' tag='SPAN' />"

Thanks,
Prankur

1 Like