This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Google tag

Does anyone have a SIlktest script to locate if a google tag is present?

  • Suggested Answer

    0  

    Hi  

    It looks like a Google Tag is a non functional element and therefore would not be picked up by Silk Test.

    I suspect that you will likey need to refer to Google's documentation to determine if there is a way to retireve these via JavaScript. If this is possible, you can script an ExecuteJavaScript statement in Silk Test to retrieve the tag(s).

    Regards
    Robert

  • 0 in reply to   

    I'm new to this command so wanted to try it.  I'm not versed in javascript so I'm not sure what "code" Silktest is lo0oking for when I choose the action of ExecuteJavaScript.  Would that be retrieve?