Forum Discussion

philipchan's avatar
philipchan
New Contributor
5 years ago

Script broken after migration to windows 10 1909

The script has no issue while executing under windows 10 1803.  

After uprading to 1909, the script failed to execute and had the following pop-up

 

Wrong number of arguments or invalid property assignment: 'Parent.WaitChild(...).Exists'
Error location:
Unit: "SS_Automation\SS_XXXXX\Script\ObjectUtils"
Line: 151 Column: 3. is

 

if Parent.WaitChild(Child,0).exists then

  • The issue was fixed after upgrading TC to version 12.6.

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    The code is very non specific.  My guess is that whatever "parent" is, it's not longer a valid object and so the other parts of the code are not going to work.

    Depending on what you are doing, some properties may have changed values with the Windows upgrade... but it's hard to tell without mmore info.

    • sonya_m's avatar
      sonya_m
      SmartBear Alumni (Retired)

      Thank you for the suggestion tristaanogre. 

       

      HI philipchan , was the issue solved for you?

      If not, please share a bit more info for the Community to try helping you further. Thank you.

      • philipchan's avatar
        philipchan
        New Contributor

        The issue was fixed after upgrading TC to version 12.6.