Road to run selenium test on custom Firefox profile

Following are the steps to create Firefox profile and launch selenium server.
1. Click start button >> Go to Run.
2. Type firefox.exe –P and click on OK button.

3. Click on "Create Profile" button.
4. Click on next button.

5. Enter profile name and chose Folder location where you want to create Firefox profile.


6. Click on finish button.

7. Select created firefox profile and click on "Start Firefox".created profile firefox should be open.
8. For your selenium RC test scripts Run your selenium server as mention below command
java -jar selenium-server-standalone-2.**.0.jar -firefoxProfileTemplate D:\\FirfoxProfile 
9. When you run your test selenium server automatic launch friefox of created profile.

No comments:

Post a Comment

Leave your comments, queries, suggestion I will try to provide solution