Forum Discussion

bhcommunity1's avatar
bhcommunity1
Contributor
10 months ago
Solved

Searching Sys object doesn't seem to see Browser objects anymore.

Testcomplete:  15.51.30.7 x64

Testing Web Based applications.

 

Searching Sys object for objecttype "Browser" - no longer seems to see them.

 

Have browsers open (chrome, firefox, edge)

Running the following command returns 0

 

Sys.FindAll("ObjectType", "Browser", 10).length;

 

See attached screen shot.

  • I've copied the coding shown in your screenshot, and here it is working,

    Using TC v15.52.2.7 x64

9 Replies

  • Hey,

    1) Project uses JavaScript

    Sample code indicates 

     

      // Search for all edit buttons in the Font dialog
      textBoxes = w.FindAll("WndClass", "Edit", 5);

     

    2) I believe this stopped working sometime over the last couple of weeks

    We have a function for closing down browsers which performs a sanity check against the browser page prior to attempting to call the close method. 

    • Marsha_R's avatar
      Marsha_R
      Champion Level 3

      Did you happen to upgrade your TestComplete right before then?

      • bhcommunity1's avatar
        bhcommunity1
        Contributor
        I don't recall when I upgraded to Version: 15.51.30.7 x64

        * Probably shortly after it was released

        I think this was released around first week of June,

        Bright Horizons Children's Centers LLC., 2 Wells Ave. Newton, MA 02459 USA
        Bright Horizons Family Solutions Limited (Co. No. 2328679), r/o 2 Crown
        Court, Rushden, Northamptonshire NN10 6BS UK

        This e-mail and any attachments to it are intended only for the addressee
        and may contain information which is confidential and/or legally privileged.
        If you are not the intended recipient, you are hereby notified that any
        dissemination, distribution or copying is strictly prohibited. If you have
        received this e-mail in error, please contact the sender immediately and
        delete the material from any computer and any printout thereof. Bright
        Horizons cannot guarantee that this e-mail communication is secure or free
        of error. No liability is accepted for any viruses or for any corruption,
        amendment to or deletion of or from this e-mail.
  • rraghvani's avatar
    rraghvani
    Champion Level 3

    I've copied the coding shown in your screenshot, and here it is working,

    Using TC v15.52.2.7 x64

    • bhcommunity1's avatar
      bhcommunity1
      Contributor

      Upgraded to Version: 15.52.2.7 x64

      - Issue is resolved with this version.