Closed Bug 685709 Opened 13 years ago Closed 11 years ago

Add a base_url option to the automation scripts for being able to switch between web servers

Categories

(Mozilla QA Graveyard :: Mozmill Automation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: whimboo, Unassigned)

References

Details

This option has been requested by Matt a long time ago. We never had time to work on this. Actually I stumbled over it yesterday while running our Selenium tests for AMO the first time. It's kinda nice how you can define the target server to run the tests against. It's kinda simple and powerful. I really want to have the same option in our scripts. So how does it work: * You specify a base_url as option when running any of our test-runs. If you don't do this you will fallback to http://localhost/data/. Otherwise the given URL will be used, e.g. 'https://www.mozqa.com/data/firefox/'. * The base_url has to made available through the persisted object as 'persisted.base_url' and could be used in any of our Mozmill tests which have local data in use. Tests which rely on external data, e.g. dynamically served content, have to reference it directly on the target host. With that method we could easily switch between different kinds of web servers, and even protocols.
Blocks: 635425
Depends on: 848361
Depends on: 848649
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.