Ask a Question

Firefox Is Running In MultiProcess Mode .. TestComplete May Work With Firefox Incorrectly......

SB345
Occasional Contributor

Firefox Is Running In MultiProcess Mode .. TestComplete May Work With Firefox Incorrectly......

TestComplete May Work With FireFox Incorrectly.......PNGFireFox_Fix_Browser.Tabs.Remote.AutoStart_1And_2 - Changed_To_False.PNG

 

 

I ran a browser-based test (from: https://support.smartbear.com/testcomplete/videos/smartbear-academy-testcomplete-101-april-2017/), and, I got the error in the 1st screen shot.

 

Action Taken So Far:

A.) Used Test Complete Help Menu To Change FireFox To Single Process Mode. The Parameters: “browser.tabs.remote.autostart” and “browser.tabs.remote.autostart.2” have been set to “False” – as per instructions from the TestComplete Help File Regarding This Issue.




B.) Re-Recorded The Test. But, The Same Issue Arises.

 

 

Let me know what your thoughts are please.

 

 

 

 

 

 

12 REPLIES 12
SB345
Occasional Contributor

I have turned off Automatic Updates on Firefox. But it appears that Firefox has been updated already.


I also tried using Google Chrome, but, I get a different set of errors.

Thank you.

SB345
Occasional Contributor

I am using Mozilla Firefox V 57.0 (64-Bit). I am downloading Firefox patches from here:

https://support.smartbear.com/downloads/testcomplete/firefox-patches/ & will update you.

Thanks..

AlexKaras
Champion Level 2

Hi,

 

Have you read this help article: https://support.smartbear.com/testcomplete/docs/app-testing/web/general/preparing-browsers/firefox.h... (Disable Multiprocess Mode) ? Does it help?

Regards,
  /Alex [Community Champion]
____
[Community Champions] 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 Champions]
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 Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
SB345
Occasional Contributor

@AlexKarasThanks for your response. Yes, I used the information in that article. But, that did not help in solving the problem.

Please try to change value of Firefox setting "security.sandbox.content.level" to 1, restart Firefox and try again.

SB345
Occasional Contributor

@dganov- Many Thanks for your prompt response.. I tried what you suggested. But, the issue still persists.KEYWORD_TEST_LOG AFTER SETTING SECURITY.SANDBOX.CONTENT.LEVEL TO 1.PNG

On replaying the recorded test, it takes me to the checkout cart webpage. This is different from what I did when I was recording the test.

Thank you.

SB345
Occasional Contributor

@dganov- Here Is Where I Changed The Value Of The Parameter To 1:



SECURITY.SANDBOX.CONTENT.LEVEL - VALUE OF 1.PNG

tristaanogre
Esteemed Contributor


@SB345 wrote:

@dganov- Many Thanks for your prompt response.. I tried what you suggested. But, the issue still persists.KEYWORD_TEST_LOG AFTER SETTING SECURITY.SANDBOX.CONTENT.LEVEL TO 1.PNG

On replaying the recorded test, it takes me to the checkout cart webpage. This is different from what I did when I was recording the test.

Thank you.


Your problem reported above is not a problem with FireFox security but with object recognition.  You have more than one web browser open when the tests run so TestComplete needs to figure out which browser to use... and it's getting confused.  

 

You need to launch your browser as part of the test case.  This will make sure that TestComplete sets it's internal value to indicate what browser is to be used for the tests.  \

 

Once that's corrected, then you should try running the test case again and correct any mapping issues that my come up because it looks like you have problems with other areas of object recognition.  

 

Note that while recording a test case and letting TestComplete automatically map your components is a good starting point, you should almost ALWAYS go back and review what TestComplete mapped and correct/update any mapping so as to be accurate and reliable.


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
SB345
Occasional Contributor

@tristaanogre- Thank you for your email.



I closed the browser (as suggested) & re-recorded the test. I also opened the browser as part of my test.

Afterwards, I got fewer than expected test steps in the test log.  In addition, when I re-ran the recorded test, the test steps TestComplete displayed were much shorter than what I did when I recorded the test.

I am attaching a screen shot of the error.

TEST STEPS IN KYWRD TEST LOG - FOR FIREFOX TEST - BRDLEAFCOMMERCE.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

cancel
Showing results for 
Search instead for 
Did you mean: