Hello everyone,
I have some kind of error. Im processing records on website and sometimes im dealing with error, it looks like this:
I can check if this “DIV” have some txt inside of it for example “ERROR!” so when its empty i know that there is no error.
The problem is that sometimes i find this type of error:
as you can notice there is no text inside of it so i cant check if “DIV” contains any text.
Here i attach code from website:
I want to check if display is “none” or “block” because if there is “block” then i know that error window is on screen, but then its “none” - i know that there is no error.
So how to check it? I tried selector like:
<webctrl id=‘InfoDiv’ tag=‘DIV’ css-selector=‘display: block’ />
and its not working, so i tried this one:
<webctrl id=‘InfoDiv’ tag=‘DIV’ style=‘display: block’ />
still not working.
Any ideas?
Thanks for your reply.