Closed Bug 570245 Opened 14 years ago Closed 14 years ago

Python Selenium RC Review: contribute_redirect

Categories

(Testing Graveyard :: WebQA, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tgavankar, Unassigned)

References

Details

Attachments

(1 file)

Attached file contribute_redirect
Python test contribute_redirect for review

Done for bug 569560.
Attachment #449372 - Flags: review?(vish.mozilla)
Tanay,
You took care of the redirect part. But there's another major part of the bug: redirect in diff Fx languages.
If this part can be automated then it'll be awesome.

Suggestions:
You can change the accept-language in the Fx browser. The redirect to /
<locale>/kb/How+to+contribute happens according to the accept-language value.
Remember, the accept-language should only have 1 value (languague) at a time for the redirect to work for the proper locale.
Selenium is unable to alter the accept-language value. You can do it manually via FF addons, but there is no way to do it using Selenium RC/Grid.

Any other suggestions?
Comment on attachment 449372 [details]
contribute_redirect

I guess we can't do anything about accept-languages via automation. So, please commit as it is.
Attachment #449372 - Flags: review?(vish.mozilla) → review+
Committed to SVN
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: