Assignment 2: Error in Generating Yearly Report

I am trying to run this file with some hardcode, but it’s throwing an error. The month is not being updated, due to which the yearly report is not able to generate. How to resolve.

Thank you in advance!

System1_CreateYearlyReport.xaml (28.8 KB)

This is the error I am getting.

Hi @Anky,
I think your selector is wrong. First of all based on walkthrough document you need to define variable consist of months names. Then use For Each loop and navigate to each month with use of this variable.
This selector should work:

"<html title='ACME System 1 - Reports*' /><webctrl idx='1' tag='SPAN' aaname='"+item+"' />"


@Pablito I edited according to your suggestion but I am facing the same problem. As the variable month is numeric for me so I had used .tostring in addition to what you suggested.

1 Like