Lines Matching +full:test +full:- +full:static +full:- +full:rel
7 <link rel="stylesheet" href="testng.css" type="text/css" />
8 <link type="text/css" rel="stylesheet" href="http://beust.com/beust.css" />
16 <link type="text/css" rel="stylesheet" href="http://beust.com/styles/shCore.css"/>
17 <link type="text/css" rel="stylesheet" href="http://beust.com/styles/shThemeCedric.css"/>
25 /* Set the command-line table option column width. */
26 #command-line colgroup.option {
39 …d from <a href="http://knorrium.info/2010/08/31/using-testng-to-launch-your-tests-and-the-selenium…
46 <li><a href="#configuration_methods">How to configure your test</a>
49 <li><a href="#future">How to make the test design a little better for the future</a>
52 <h3><a name="#modeling">Modeling your test case</a></h3>
54 …test case, you need to know how and what will be validated. Let's use the WordPress <a href="http:…
58 … href="http://demo.opensourcecms.com/wordpress/wp-login.php">http://demo.opensourcecms.com/wordpre…
71 …test case that goes through all the steps. This might be a good approach if you are writing a manu…
73 <p>This is how I would break down the test:</p>
89 @Test(description="Launches the WordPress site")
96 @Test(description="Navigates to the admin page")
98 selenium.open("wp-admin");
103 @Test(description="Enters valid login data")
107 selenium.click("wp-submit");
112 @Test(description="Navigates to the New Post screen")
119 @Test(description="Writes the new post")
127 @Test(description="Publishes the post")
135 @Test(description="Verifies the post")
137 selenium.click("//a[contains(text(),'Posts') and contains(@class,'wp-first-item')]");
142 @Test(description="Logs out")
149 <p>These are the test methods (or steps) we are going to use.
153 …test suites, test groups or test methods. This is very useful for our Selenium tests because you c…
155 <p>To achieve this, we will use two TestNG <a href="http://testng.org/doc/documentation-main.html#a…
189 …t> object, which was <a href="http://testng.org/doc/documentation-main.html#dependency-injection">…
191 …on methods automatically before/after your test suite (make sure the test methods are annotated wi…
195 …eate an XML file listing the test methods we would like to run. Make sure that the test methods ar…
197 …he <tt>preserve-order</tt> parameter to your test tag and include the methods you would like to ru…
202 <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
204 <suite name="Knorrium.info - Wordpress Demo" verbose="10">
210 <test name="Write new post" preserve-order="true">
212 <class name="test.Wordpress">
224 </test>
236 <a href="http://testng.org/pictures/testNG-run.png">
237 …/testng.org/pictures/testNG-run.png" alt="" title="testNG-run" width="464" height="59" class="alig…
241 <p>Click on “Run as TestNG Suite” and your test will start running. You will then see t…
244 <a href="http://testng.org/pictures/testNG-exec.png">
245 …testng.org/pictures/testNG-exec.png" alt="" title="testNG-exec" width="591" height="256" class="al…
251 <p>If you really want to think about the future of your test suite, I would recommend you to read <…
255 …test suite grows, you will find that grouping them in different test classes is a good idea. If yo…
260 @Test
266 @Test
274 <p>This is better than leaving your configuration methods in the test class.</p>