Forum Discussion

jerkins's avatar
jerkins
Occasional Contributor
5 years ago
Solved

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
    LinoTadros
    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.

    example: 

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

     

    Hope that makes sense

    Cheers

    -Lino