TestComplete

Reply
Highlighted
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.

 

 

 

 

 

 

Occasional Contributor

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

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.

Occasional Contributor

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

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..

Community Hero

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

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 Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
Occasional Contributor

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

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

Staff

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

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

Occasional Contributor

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

@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.

Occasional Contributor

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

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



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

Posts: 4,458
Topics: 39
Kudos: 1,698
Solutions: 337
Registered: ‎11-30-2009

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


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
[Community Expert Group]
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.

Extensions available
Community Leaders Program
Occasional Contributor

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

@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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Join us to win gifts
Daily Articles: 1, 2, 3, 4, 5, 6, 7

Program Rules