Ask a Question

Is TC able to manipulate webpage by using browser developer tool?

SOLVED
AlexKaras
Community Hero

Re: Is TC able to manipulate webpage by using browser developer tool?

Hi,

 

Is the browser you are using for testing still supported by TestComplete? Maybe a patch from https://support.smartbear.com/testcomplete/downloads/ is needed?

 

 https://support.smartbear.com/testcomplete/articles/embedding-scripts-into-web-pages/, but this page seems not available anymore

@sonya_m : Sonya, could you please ask documentation team where this really useful and helpful article was moved to?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
sonya_m
Community Manager

Re: Is TC able to manipulate webpage by using browser developer tool?

Hi everyone! I asked around, the article section is under review, so it is hidden temporarily.

I got the article you were looking for though @whuang @AlexKaras @Marsha_R 

 

Embedding Test Scripts Into Web Pages - please find it attached.

 

 

 

 


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
AlexKaras
Community Hero

Re: Is TC able to manipulate webpage by using browser developer tool?

Thank you a lot, Sonya!

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
whuang
Regular Contributor

Re: Is TC able to manipulate webpage by using browser developer tool?

Thank you @AlexKaras @sonya_m I am updating the TC and Chrome right now, will see if that can fix the issue.

whuang
Regular Contributor

Re: Is TC able to manipulate webpage by using browser developer tool?

I think I found what cause the issue. I noticed that Chrome doesn't have Application property, but IE does, so I tried and it worked on IE but not Chrome. Is there anyway I can embed javascript on chrome? I am pretty sure it was working on Chrome before.

a.jpg

whuang
Regular Contributor

Re: Is TC able to manipulate webpage by using browser developer tool?

Never mind, I sorted it out, should use contentDocument instead

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: