Forum Discussion

jerkins's avatar
Occasional Contributor
5 years ago

Edited cell turns to a different color, how to automate this?

Hi, I am working on an electron application. I have a cell which when edited turns green(bg color) colour for 3 seconds and goes back to original bg colour which is black. How do I automate this sc...
  • LinoTadros's avatar
    5 years ago

    Look at WaitProperty("propertyname", "value", time to wait in milliseconds)


    In your case, you will be waiting for the bgcolor of the textbox to be red or green and wait for whatever amount of time that usually takes.


    Mytextbox.WaitProperty("bgcolor", "red", 30000);


    Hope that makes sense