com.atlassian.confluence.selenium.client
Class TestUtils

java.lang.Object
  extended by com.atlassian.confluence.selenium.client.TestUtils

public class TestUtils
extends Object

Static class (that might be renamed) to provide Selenium tests with common util methods.

Since:
v4.1

Constructor Summary
TestUtils()
           
 
Method Summary
static String escapeString(String string)
          Escapes a string for use in JavaScript.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestUtils

public TestUtils()
Method Detail

escapeString

public static String escapeString(String string)
Escapes a string for use in JavaScript. Replicates logic in GeneralUtil.escapeForJavascript(String) which we shouldn't depend on in tests.



Copyright © 2003-2012 Atlassian. All Rights Reserved.