Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Selenium RC + Firefox profile behavior different than Manually Opening FF

View previous topic View next topic Go down

Selenium RC + Firefox profile behavior different than Manually Opening FF

Post by manman on Tue Oct 04, 2011 5:38 am

I'm currently using Selenium RC to run java based TestNG tests via Eclipse IDE. I'm running into a problem which I had not seen before.

In my testing I use a firefox profile that has certain certificates added, plus an add-on that is used to remember certificates etc. When the tests are run I believe it uses a copy of the profile, but any changes made during the test session will be lost because it is just a copy. So to set-up the base profile I have to open it manually, make whatever changes are necessary, and then close it.

When running the tests, selenium RC is called with the specified Profile using the option -firefoxprofiletemplate. This has always worked in the past. Recently however I have noticed that although the correct profile is being loaded, the behavior of the profile is not as expected when the tests are run via selenium RC. When I run the automation, the FF add-on's window pops up, and I get certain errors on https pages related to certificates not being accepted, which leads to pages loading without media (no css, images etc).

If I try to correct this by manually opening FF with the exact same profile, none of this happens. The add-ons window does not show, because I specifically disabled that behavior- and I get no problems loading the same https pages as in the automation. Does anyone know what might be the cause of this? do the certificates get added as a certain user and the automation is maybe running as another user or something? I tried running the .bat file that kicks off RC as administrator, but that didn't work either. I just have no idea why the same profile would be acting differently when opened via different methods... I've never seen this problem in the past.

Right now I'm running in FF 3.6.22 and RC 2.5 Any help would be appreciated. Thanks!

manman

Posts : 1
Join date : 2011-10-04

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum