Forum Discussion
NisHera
11 years agoValued Contributor
Just scanning through your code it seems not works..
(Hvn't done through investigation...)
while(!Central_StatusBar.Enabled) // Checking whether the status bar is enabled or not
in hear your code trying search for "Enabled" property of Central_StatusBar But Central_StatusBar is yet to create/appear on screen. so it could fail.
Insted try Central_StatusBar.WaitProperty("Exists",true,6000)
(Hvn't done through investigation...)
while(!Central_StatusBar.Enabled) // Checking whether the status bar is enabled or not
in hear your code trying search for "Enabled" property of Central_StatusBar But Central_StatusBar is yet to create/appear on screen. so it could fail.
Insted try Central_StatusBar.WaitProperty("Exists",true,6000)