Forum Discussion

softwarevikram's avatar
softwarevikram
Occasional Contributor
12 years ago

some objects (in desktop app) couldn't be identified by the tool except for 1st time in the same execution

Application: Desktop Application



Object: Sys.Process("BLInput").VBObject("frmRelease").VBObject("SSTab1").VBObject("frameRel").VBObject("txtJobID").VBObject("txtJobID")



Issue: The above object is identified only for the first time when opened and the same object is not getting identified by the tool when tried to access it in the same run/execution. It is identified again only when current execution is stopped & the window containing the object is launched again after closing the existing(already opened) window with the same object.



What could be the cause of this problem? I need suggestions & solutions from my dear professionals..



Thanks in Advance :)




2 Replies

  • Hi Vikraman,

     


    Try calling the Refresh method of the whole window or the problematic object.


     

  • softwarevikram's avatar
    softwarevikram
    Occasional Contributor
    Hi Tanya,



    I have tried refreshing the object as well as the window that contains the object, yet 'm unable to resolve it. The issue remains the same. Thank you for the guidance & would like to know more from you :)