Forum Discussion

Petewilson's avatar
Petewilson
Contributor
6 years ago

Menu not selected as TC reports as not visible on screen, but i'm looking right at it.

Bit of an unusual one here and i'm very confused.   The below code is run and searches for and selects the menu item detailed. The code is used several times in a loop to build a system, so it ...
  • Petewilson's avatar
    Petewilson
    6 years ago

    Thank you both and apologies for the late feedback.

     

    I have a feeling that it is some sort of delay in the screen displaying what it is looking for although i am not sure why it is only affecting that particular menu item, since they all run the same code, just with a different param to tell it what text to search for. I have increased my delays in the script and it appears to now be fine for 15 out of 16 loops.

     

    Thank you both for the input as it gave me other avenues to look at.