Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

Kindly let me know is there any option to call data from an Excel on selenium ide? and how its works. I have to call data from an excel (where data are stored) .Please let me know solution to this issue.

share|improve this question
    
This largely depends on the language that you're using. You will need to write code to retrieve and pass on that data. –  Lyndon Vrooman May 8 '13 at 16:18
add comment

2 Answers

I don't think Selenium has this feature, and it wouldn't make sense anyway for many reasons.

On the other hand if you are using Java you can use Apache - POI to read in the data from excel in your unit test and then use that to do what you want to selenium testing suite. I just stumbled over this presentation a few minutes ago where someone does just that on slide 5.

For .NET here's how to read an excel file.

share|improve this answer
add comment

Selenium IDE can not easily do data-driven testing.

There are add-ons which can help; for example Sel Blocks, or datadriven.js.

However, I recommend you export your tests to a testing framework such as JUnit; that will make much more functionality available to you - not only data-driven testing, but many other techniques to make your tests more robust than is possible using only Selenium IDE.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.