If the latter, I've had success using Selenium to record and playback scripts in the browser. There are other tools out there as well, but they tend to be paid (e.g. HP winrunner).
Thank you very much for the reply and guidance you have provided
My actual requirement is to test site navigation which involves executing around 400 manual testcases. I am looking forward to automate it.
Could you please guide me to any helpful document/guide on the internet, which explains in detail about how to use Selenium tool for testing custom app of salesforce.
Are you looking to run your unit tests in an unattended fashion, or are you looking to actually navigate around the site that you have built?
If the former, you can achieve this through a combination of cruise control and the force.com migration tool :
http://bobbuzzard.blogspot.com/2011/02/scheduled-testing-with-cruise-control.html
If the latter, I've had success using Selenium to record and playback scripts in the browser. There are other tools out there as well, but they tend to be paid (e.g. HP winrunner).
Hi bob,
Thank you very much for the reply and guidance you have provided
My actual requirement is to test site navigation which involves executing around 400 manual testcases. I am looking forward to automate it.
Could you please guide me to any helpful document/guide on the internet, which explains in detail about how to use Selenium tool for testing custom app of salesforce.
Thanks,
Vishala.
Here's the link to the Selenium home page - there's lots of information there!
Bob,
I am not able to see the link, can you kindly post it once.
Thanks,
Vishala.
Hah! Not sure what happened there:
http://seleniumhq.org/
I successfully installed the Selenium IDE into the firefox and tried creating a test case. :)
It is working fine till somepoint.
It is not able to record click of a custom button on Visualforce page.
Please guide me where to check the steps got recorded, so that I can edit the steps to include the click of button.
if it is something related to Olat Map file, I could not get that user-extensions.js file from the link they mentioned.
If not Olat Map file, what is the required thing to change the test case steps.
Thanks,
Vishala.
You should just be able to edit the test case from the Selenium IDE.
When I clicked on edit i found the command line for the button.
click link=Find Partner, but this is not getting executed.
and its showing the status as failed=false.
any inputs on how can I try executing the last step clicking on the button.
Thanks,
Vishala.
Have you tried changing the speed of execution or adding a delay?
wow, got it working :)
I changed the speed to slow and its working.
Can we use this to run more than one test case in test suite,
and verify the results at later point of time,
like can we save the last browser window of each testcase.
Thanks,
Vishala.
I don't know if you can save the browser window. You can check that certain elements have particular values.
It can run test suites and you can run it unattended. Plenty of detail at Selenium HQ.