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.

I am able to open the Opera browser using Selenium Opera driver. But I am unable to navigate to any URL using: driver.get("www.google.com");

Opera driver starts and doesn't load the given link.

-- Adding the failure trace from comments:

org.openqa.selenium.WebDriverException:
com.opera.core.systems.scope.exceptions.ResponseNotReceivedException: 
No response in a timely fashion Build info: version: '2.28.0', revision: '18309', time: '2012-12-11 20:21:18' System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.7.0_02' Driver info: driver.version: OperaDriver Build info: version: '2.28.0', revision: '18309', time: '2012-12-11 20:21:18' System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.7.0_02'
share|improve this question
    
Welcome to SQA, User27. When you say, "Opera driver starts", do you mean an Opera window actually comes up? –  user246 Jan 2 '13 at 14:26
    
yes.Browser starts but doesn't load the given URL –  User27 Jan 2 '13 at 15:01
2  
Do you see any errors? Can you paste your code to the question? –  Suchit Parikh Jan 2 '13 at 17:39
    
@Suchit Parikh, following is my failure trace. org.openqa.selenium.WebDriverException: com.opera.core.systems.scope.exceptions.ResponseNotReceivedException: No response in a timely fashion Build info: version: '2.28.0', revision: '18309', time: '2012-12-11 20:21:18' System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.7.0_02' Driver info: driver.version: OperaDriver Build info: version: '2.28.0', revision: '18309', time: '2012-12-11 20:21:18' System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.7.0_02' –  User27 Jan 3 '13 at 5:28
add comment

2 Answers 2

I wrote installation instructions for watir-webdriver: Opera with watir-webdriver on XP. It was a while ago, but as far as I remember on Windows XP I had to install Microsoft Visual C++ 2008 Redistributable Package (x86).

share|improve this answer
    
@Zelijko Filipin, Still junit code doesn't connect with opera driver. Opera browser started. But couldn't start my url load. –  User27 Jan 5 '13 at 13:11
add comment
//Initialize the opera driver ....

WebDriver driver;
Selenium selenium;
driver = new OperaDriver();
selenium = new WebDriverBackedSelenium(driver, "url here");
share|improve this answer

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

2  
Sakib, you don't really give enough information here for your answer to be really good, particularly for such an old question. It seems too obvious for the original poster to have missed. –  Kate Paulk Sep 3 '13 at 11:32
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.