Generate Yearly Report- Error

How do we get below selector if we are using chrome ?

image

That is a VB Expression typed into the Selector Box.
You can try adding a new activity and click on the drop-down list in Chrome to get the raw selector.
Did you go through the light-touch documentation that comes with this assignment?

I went through the walkthrough however still getting below selector:

That’s because the aaname = β€˜2’ is hard coded.

You have to change that to an expression

β€œ<webctrl aaname = '”+ in_TransactionNumber.ToString + '" tag = β€˜A’>"

You then have to remove everything from the selector box on the right-side window in your studio and replace it with the VB Expression

1 Like

Hi @AndyMenon,

How can I change to that expression?

Hi @AndyMenon,

I tried to change it but it is showing below error:

1 Like

The quotes around A, must be single quotes.

'

Hi @AndyMenon,

Yes, I kept single quotation

β€˜A’ />

The front-slash is missing,

Hi @AndyMenon,

It is still throwing error.

These are not single quotes.

image

These are : 'A'

Hi,

Corrected but still showing error:

image

Single quote is missing and that is not a double-quote

image

you should learn VB syntax firstly to understand why the inserted expression is wrong and how to write them at all

1 Like

Hi @AndyMenon,

Could you share the full expression?

@Shah

β€œ<webctrl aaname=’”+in_TransactionNumber.ToString+β€œβ€™ tag=β€˜A’ />”

3 Likes

Hi @sandeep13,

Thanks, it seems like that error is fixed.

Could you help in fixing below selector error?

@Shah what error you get??

1 Like

Hi @sandeep13,
It is not getting validated in Selector Editor…

@Shah

maybe this time acme site will not be open.

1 Like