Forum Discussion

arjlee's avatar
arjlee
Occasional Contributor
3 years ago

TestComplete unable to identify objects in iFrame

TestComplete is unable to identify objects in iFrames within Chrome. This is somewhat of a deal breaker as it makes the product significantly unsuitable for needs. Please let us know ASAP if there is workaround/fix as we are considering whether or not to renew licenses.

4 Replies

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    We can give you more specific answers if you give us more details in your questions.

     

    What version of TestComplete are you using?

    What version of Chrome are you using?

    What did you try and what happened when you did it?  Giving us screenshots is helpful.

    • arjlee's avatar
      arjlee
      Occasional Contributor

      TestComplete: 14.81.217.7 x64 with desktop and windows app modules

      Chrome: Version 92.0.4515.159 (Official Build) (64-bit)

       

       

      I have tried using the Object Spy- it highlights the iFrame but nothing within it

      I have tried using the Object Tree - it shows nothing under the iFrame

       

      I have tried using the following command-line switches:

        --disable-web-security (for all Chrome versions)

        --user-data-dir=<ProfilePath> (for all Chrome versions)

        --disable-site-isolation-trials (for Chrome version 70 and later)

      it made no difference difference.

       

      I have identified the objects using IE11 and then tried:

      Nativewebobject.Find

      Object.Find

      Object.FindAllChildren

      Object.FindChild

      No luck.