I have come across the situation where an element's attribute (e.g, visibility) may change in run time, and I need to detect this change. however, it seems Ranorex does not update the attribute of an element in run time (or it does not reflect the change of element's attributes immediately??)
what I am doing now is as following:
Code: Select all
dim anElement as element = "<element rxpath>"
dim visibility as boolean
visibility = anElement.visible
while anElement.visible = visibility
delay.ms(100)
anElement = "<element rxpath>"
wend
I would like to know if there are any method to force element refresh its attribute on request?
thanks a lot