Frage

Das ist schwierig. Ich versuche WAP -Tests mit Firefox und Selen durchzuführen. Dazu habe ich ein benutzerdefiniertes Profil erstellt und ein Plugin namens Modify Header installiert. Wenn ich das Profil manuell starte, funktioniert das Addon gut. Wenn ich es jedoch mit Selen RC verwende, deaktiviert Firefox das Plugin und sagt, dass es mit Firefox 3.6.6 nicht kompatibel ist. Dies ist lächerlich. Wenn ich das gleiche Firefox -Profil manuell öffne, funktioniert das Plugin gut. Wenn ich Plugin (im von FF gestarteten Profil) aktualisiere, installiere ich auch einen Kompatibilitätspatch und arbeitet nach dem Neustart von FF gut. Wenn ich jedoch Firefox schließe und dasselbe Profil aus Selen starte, gibt es erneut das gleiche Problem. Bitte helfen Sie, viele meiner Testfälle basieren auf WAP. Sie können auch Alternativen zu diesem Plugin vorschlagen.

Danke und Grüße
Vamyip

War es hilfreich?

Lösung

You can try disabling extension compatibility checking in Firefox (using your Selenium profile):

http://kb.mozillazine.org/Extensions.checkCompatibility

  1. Type about:config in the address bar and hit enter
  2. Click "I'll be careful".
  3. Right-click anywhere on the list.
  4. Select New > Boolean
  5. Enter "extensions.checkCompatibility.3.6" as the preference name
  6. Select false

Andere Tipps

I've had a few situations where I thought I was loading FireFox 3.6.x, but it was actually opening a newer version of Firefox (v16) installed on the machine. Because the profiles are stored in different places, it wasn't actually opening the profile I thought it was.

I thought I'd mention it just in case it explains varmyip's issue for other folks experiencing the same issue.

visit this blog i am sure this will help you out. http://automationtricks.blogspot.com/2010/05/how-to-run-test-cases-in-specified.html

Regards,

Niraj

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top