Skip to main content

Home/ softwaretest/ Group items tagged selenium

Rss Feed Group items tagged

swan lin

Testing Web Applications with Selenium - 0 views

  • If you want to run a test outside of the Selenium IDE, then you need to install Selenium Core.
  • After downloading Selenium Core and extracting the files, copy the Core subfolder into your Inetpub\wwwroot folder. The Core folder includes the TestRunner.html page. Rename the Core folder to Selenium.
  • http://localhost/Selenium/TestRunner.html
  • ...5 more annotations...
  • The Selenium Core download includes a Tests folder. You can copy this folder into your Inetpub\wwwroot folder. When you open TestRunner.html, select either TestSuite.html or ShortTestSuite.html as the Test Suite.
  • If you need to execute tests against a remote website, then you have three options. First, you can run the test within Selenium IDE.
  • Second, you can run the test against a remote website by using the HTML Application (HTA) version of TestRunner.
    • swan lin
       
      i miss this point: HTA is used to run the test on Internet Explore,not record a test
  • The TestRunner.hta page is located in the same folder as the TestRunner.html page.
  • The final, and best, option for executing tests against a remote website is to use Selenium RC. Selenium RC can be used to control any modern browser. It also works fine with remote domains. Selenium RC is a separate download from the Selenium website.
swan lin

OpenQA: Selenium - 0 views

  • Selenium is a test tool for web applications. Selenium tests run directly in a browser, just as real users do. And they run in Internet Explorer, Mozilla and Firefox on Windows, Linux, and Macintosh. No other test tool covers such a wide array of platforms.
  • Browser compatibility testing. Test your application to see if it works correctly on different browsers and operating systems. The same script can run on any Selenium platform.
  • System functional testing. Create regression tests to verify application functionality and user acceptance.
swan lin

Selenium Better Pratice - 桃之夭夭 - BlogJava - 1 views

  • r use Selenium FIT mode Selenium分为两种运行模式,Driven Mo
swan lin

Ruby in Twenty Minutes - 0 views

  • In Ruby, anything on a line after a hash mark is a comment and is ignored by the interpreter
  • __FILE__ is the magic variable that contains the name of the current file.
  • $0 is the name of the file used to start the program.
swan lin

Ruby in Twenty Minutes - 0 views

  • Ruby uses the good object-oriented approach of keeping data sort-of hidden away.
swan lin

Ruby in Twenty Minutes - 0 views

  • @name. This is an instance variable, and is available to all the methods of the class
  • Ruby’s response => nil tells us that it knows we’re done defining the method
  • h to take a name as a parameter.
  • ...1 more annotation...
  • saying is “If the name isn’t supplied, use the default name of "World"”.
swan lin

Ruby in Twenty Minutes - 0 views

  • puts is the basic command to print something out in Ruby.
  • puts always returns nil, which is Ruby’s absolutely-positively-nothing value.
  • In Ruby ** is the way you say “to the power of”
  • ...1 more annotation...
  • floating-point number.
swan lin

Ruby From Other Languages - 0 views

  • an identifier starts with a capital letter, it is a constant
  • starts with a dollar sign ($), it is a global variable
  • starts with @, it is an instance variable
  • ...6 more annotations...
  • starts with @@, it is a class variable.
  • Method names
  • start with capital letters
  • Ruby doesn’t have keyword parameters,
  • In Ruby, everything except nil and false is considered true.
  • Singleton methods are per-object methods. They are only available on the Object you defined it on.
1 - 9 of 9
Showing 20 items per page