Ask a Question

Script written/recorded in IE 11 is failing in Chrome

Naveenks
Contributor

Script written/recorded in IE 11 is failing in Chrome

Hello,

 

I have written/recorded script in IE 11 and when i try to execute in chrome it is failing as in chrome it showing extra object.Do we have any settings to execute written in IE 11 executes successfully in chrome vice versa.

 

Thanks ans Regards,

Naveen 

2 REPLIES 2
AlexKaras
Community Hero

Re: Script written/recorded in IE 11 is failing in Chrome

Hi,

 

You need to:

a) Consider and adjust Aliases tree to handle page markup differences; and

b) Handle browser differences itself (https://support.smartbear.com/testcomplete/docs/app-testing/web/general/cross-browser/handling-diffe...)

 

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
================================
tristaanogre
Community Hero

Re: Script written/recorded in IE 11 is failing in Chrome

This is not unexpected.  Browsers manytimes render the markup differently and so you will have different objects and such available.  In this case, this is where the "Extended Find" feature MIGHT be helpful to allow for the differences in rendering.  


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
cancel
Showing results for 
Search instead for 
Did you mean: