Skip to Main Content

DevOps, CI/CD and Automation

Variable that was set in Header and Modified the variable between start and end body

User_0E2YRNov 17 2022

I have a requirement where page footer need to display a message when ever in that page we have a special character on one of the field.
Here

  1. set a variable Flag as 0 in header
    2)Mofied the flag from 0 to 1 in start and end body whenever i am appending the special character to the field
    3)Trying to access the flag in footer and if the flag is 0 then print the message
    But though i set the falg variable to 1 in body in footer it is still showing as 0.
Comments
Post Details
Added on Nov 17 2022
1 comment
15 views