Anyone know how can dynamic content be ignored if if I am doing Visual assert

Yes! You can use the two “limit search area” commands to restrict the image search to a certain area. This also applies to OCR.

Demo: This command is used in the DemoXDesktopAutomation and DemoXDesktopAutomation_OCR demo macros to limit the image search and OCR to the “tab area” of UIvision: