Does anyone have a SIlktest script to locate if a google tag is present?
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it! Learn more.
Does anyone have a SIlktest script to locate if a google tag is present?
Hi MariaMaier
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
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?