Forum Discussion

jithendrra21's avatar
13 years ago

Object Full Name is different everytime when object spying



object is identified as(with control name in it)(ex "ultraExplorerBarContainerControl1")

Sys.Process("netapplication").WinFormsObject("MainForm").WinFormsObject("uExBarLeft").WinFormsObject("ultraExplorerBarContainerControl1").WinFormsObject("uTreePatData")



and sometimes it is  identified as :(without control name in it) Sys.Process("netapplication").WinFormsObject("MainForm").WinFormsObject("uTreePatData")

without the ultragrid etc ..



anyone faced the same  problem like this?

same object identified as different name

1. including the control name

2. without including the control name



You can see some extra names included when objectspying it.



does anyone facing same problem like this?



Thanks in advance,



2 Replies

  • scott_staniewic's avatar
    scott_staniewic
    Occasional Contributor
    yes, with v9 sometimes the value of an object is VBOject(something) and then its Windows(something).Windows(something).

    Two totally different values for the same object but ONLY when Testcomplete is running our application during playback.

    If I manually open the object over and over again the Object Spy always gets a value of VBOject(something).



    I am running v8 TC scripts in v9 TC.



    Scott

  • @Jithendrra, try increasing the value of the Method invoke timeout option - set its value to 30000ms. Also, make sure that the Auto-wait timeout is set to the default value - 10000ms.


     


     


    @Skott, as I've replied to you here, please contact our Support team to get the patch that may fix the problem you faced.