Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SeleniumException: unterminated string literal #3

Closed
GoogleCodeExporter opened this issue Sep 15, 2015 · 3 comments
Closed

SeleniumException: unterminated string literal #3

GoogleCodeExporter opened this issue Sep 15, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Using Selenium 2.0b3 and fighting-layout-bugs from Maven Central
2. Executing the test code below
3.

What is the expected output? What do you see instead?
Expected is a list of layout bugs. Instead, I see:

2011-05-31 23:26:30,950 [main] DEBUG 
com.googlecode.fightinglayoutbugs.FightingLayoutBugs  - Running 
DetectNeedsHorizontalScrolling ...
Skipping DetectNeedsHorizontalScrolling -- unterminated string literal 
(WARNING: The server did not provide any stacktrace information)
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', 
java.version: '1.6.0_16'
Driver info: driver.version: RemoteWebDriver
2011-05-31 23:26:30,997 [main] DEBUG 
com.googlecode.fightinglayoutbugs.FightingLayoutBugs  - Running 
DetectInvalidImageUrls ...


What version of the product are you using? On what operating system?
fighting-layout-bugs:0.1 from maven central
Windows XP, Firefox 4.0

Please provide any additional information below.

Executed test case:

@Test
   public void testFighting() throws Exception
   {
      String baseUrl = "http://www.google.de/";
      FirefoxBinary binary = new FirefoxBinary( new File( "C:/Programme/Mozilla Firefox 3/firefox.exe" ) );
      FirefoxProfile profile = new FirefoxProfile();
      FirefoxDriver firefoxDriver = new FirefoxDriver( binary, profile );
      Selenium selenium = new WebDriverBackedSelenium( firefoxDriver, baseUrl );

      selenium.open("/");

      FightingLayoutBugs flb = new FightingLayoutBugs();
      flb.setScreenshotDir( new File( "." ) );
      final Collection<LayoutBug> layoutBugs = flb.findLayoutBugsIn( selenium );
      System.out.println( "Found " + layoutBugs.size() + " layout bug(s)" );
      for( LayoutBug bug : layoutBugs )
      {
         System.out.println( bug );
      }

   }




Original issue reported on code.google.com by jupl...@gmail.com on 31 May 2011 at 9:28

Attachments:

@GoogleCodeExporter
Copy link
Author

Tried with 1.0-SNAPSHOT as of today, same problem.

Original comment by jupl...@gmail.com on 3 Jun 2011 at 10:12

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Hi jupload,

FLB does not support the old Selenium interface anymore, only the new WebDriver 
interface. Therefore I decided to set the status of this issue to WontFix.  

Original comment by michael.tamm2 on 7 Nov 2011 at 11:31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant