<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8604080787354001382</id><updated>2012-02-17T02:23:05.375Z</updated><category term='video'/><category term='selenium2'/><category term='android'/><category term='iphone'/><category term='guide'/><category term='selenium grid'/><title type='text'>Time2test blog - "technical software testing blog"</title><subtitle type='html'>Step by step useful guides, videos, code snippets and useful articles to get you upto speed with testing - Designed and managed by Time2test Limited, UK</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://time2testblog.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://time2testblog.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Viresh Doshi</name><uri>http://www.blogger.com/profile/12565680926429946963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Po3KtPMJ55Y/Sw2DO-oS2LI/AAAAAAAACX8/amXJirTODDw/S220/You_on_transparent.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8604080787354001382.post-6345869165293320195</id><published>2011-03-02T12:25:00.000Z</published><updated>2011-12-20T21:51:30.763Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='video'/><category scheme='http://www.blogger.com/atom/ns#' term='selenium grid'/><category scheme='http://www.blogger.com/atom/ns#' term='guide'/><title type='text'>Selenium Grid Example - Part3</title><content type='html'>&lt;span style="font-size: 130%; font-weight: bold;"&gt;&amp;nbsp;Selenium Grid example with Junit:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Pre-requisites: &lt;/span&gt;&lt;br /&gt;a. Proper set up of Ant on your box&lt;br /&gt;b. Selenium Grid&lt;br /&gt;c. Proper setup of Jdk on your box&lt;br /&gt;d. Some jar files what I will mention during example setup&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Project Setup:&lt;br /&gt;1. Create a project workspace, you need to maintain folder structure like below:&lt;br /&gt;gridprojectwithJunit&lt;br /&gt;- build&lt;br /&gt;- bin&lt;br /&gt;- src, this folder should have two sub folders ‘tests’ and ‘testsuites’&lt;br /&gt;- lib&lt;br /&gt;See the below screen to see above workspace:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-NOf0A9XM7pw/TVzD92hvUaI/AAAAAAAAA04/lhGaTA9gH10/s1600/27.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574545906154295714" src="http://1.bp.blogspot.com/-NOf0A9XM7pw/TVzD92hvUaI/AAAAAAAAA04/lhGaTA9gH10/s320/27.JPG" style="cursor: pointer; height: 246px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Put following jar files into your lib folder:&lt;br /&gt;a. selenium-java-client-driver.jar&lt;br /&gt;b. ant-junit.jar&lt;br /&gt;c. parallel-junit.jar&lt;br /&gt;d. junit-4.7.jar&lt;br /&gt;See the following screen just for reference:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-XcwGEi1m4YU/TVzEJPZzSFI/AAAAAAAAA1A/fkF5fTTzYI4/s1600/28.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574546101810448466" src="http://2.bp.blogspot.com/-XcwGEi1m4YU/TVzEJPZzSFI/AAAAAAAAA1A/fkF5fTTzYI4/s320/28.JPG" style="cursor: pointer; height: 246px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;3. Into the src\tests folder, create at least 4-5 tests what you want to execute in parallel.&lt;br /&gt;4. Create a testsuite into src\testsuites folder, see the following codes only you need to change the test cases name from what you have created:&lt;br /&gt;&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;package testsuites;import org.kohsuke.junit.ParallelTestSuite;import junit.framework.Test;import junit.framework.TestSuite;import tests.test1;import tests.test2;import tests.test3;import tests.test4;//test1, test2, test3, test4 should be test names created by you.public class Workflow1 {//workflow1 is the test suite namepublic static Test suite() {TestSuite suite = new ParallelTestSuite();suite.addTestSuite(test1.class);suite.addTestSuite(test2.class);suite.addTestSuite(test3.class);suite.addTestSuite(test4.class);//in above four lines, test1, test2, test3 and test4 should be the tests name created by youreturn suite;}public static void main(String[] args) {junit.textui.TestRunner.run(suite());}}&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5. Create a build.xml file, to execute the junit tests, see the below contents which you need to put in build.xml file from your side,&lt;br /&gt;Starting point:&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&amp;lt;project name="test" basedir="."&amp;gt;&amp;lt;property name="RELEASE_ROOT" value=".."/&amp;gt;&amp;lt;property name="SRC" value="${RELEASE_ROOT}/src"/&amp;gt;&amp;lt;property name="LIB" value="${RELEASE_ROOT}/lib"/&amp;gt;&amp;lt;property name="BIN" value="${RELEASE_ROOT}/bin"/&amp;gt;&amp;lt;property name="BUILD" value="${RELEASE_ROOT}/build"/&amp;gt;&amp;lt;path id="test.classpath"&amp;gt;&amp;lt;pathelement location="${BIN}"/&amp;gt;&amp;lt;fileset dir="${LIB}"&amp;gt;&amp;lt;include name="**/*.jar"/&amp;gt;&amp;lt;/fileset&amp;gt;&amp;lt;/path&amp;gt;&amp;lt;target name="init"&amp;gt;&amp;lt;delete dir="${BIN}"/&amp;gt;&amp;lt;mkdir dir="${BIN}"/&amp;gt;&amp;lt;/target&amp;gt;&amp;lt;target name="compile" depends="init"&amp;gt;&amp;lt;javac source="1.5" srcdir="${SRC}" fork="true" destdir="${BIN}" debug="true" optimize="true" includeAntRuntime="No" deprecation="false" verbose="${javac.verbose}"&amp;gt;&amp;lt;classpath&amp;gt;&amp;lt;pathelement path="${BIN}"&amp;gt;&amp;lt;/pathelement&amp;gt;&amp;lt;fileset dir="${LIB}"&amp;gt;&amp;lt;include name="**/*.jar"/&amp;gt;&amp;lt;/fileset&amp;gt;&amp;lt;/classpath&amp;gt;&amp;lt;/javac&amp;gt;&amp;lt;/target&amp;gt;&amp;lt;target name="run-tests-in-parallel" depends="compile"&amp;gt;&amp;lt;junit printsummary="yes" haltonfailure="yes"&amp;gt;&amp;lt;classpath&amp;gt;&amp;lt;pathelement location="${BIN}"/&amp;gt;&amp;lt;fileset dir="${LIB}"&amp;gt;&amp;lt;include name="**/*.jar"/&amp;gt;&amp;lt;/fileset&amp;gt;&amp;lt;/classpath&amp;gt;&amp;lt;test name="testsuites.Workflow1" haltonfailure="no" outfile="result"&amp;gt;&amp;lt;formatter type="xml"/&amp;gt;&amp;lt;/test&amp;gt;&amp;lt;/junit&amp;gt;&amp;lt;junitreport todir="."&amp;gt;&amp;lt;fileset dir="."&amp;gt;&amp;lt;include name="result.xml"/&amp;gt;&amp;lt;/fileset&amp;gt;&amp;lt;report format="frames" todir="./report/html"/&amp;gt;&amp;lt;/junitreport&amp;gt;&amp;lt;/target&amp;gt;&amp;lt;target name="run-batch-test" depends="compile"&amp;gt;&amp;lt;junit printsummary="yes" haltonfailure="yes"&amp;gt;&amp;lt;classpath&amp;gt;&amp;lt;pathelement location="${BIN}"/&amp;gt;&amp;lt;pathelement location="${SRC}"/&amp;gt;&amp;lt;fileset dir="${LIB}"&amp;gt;&amp;lt;include name="**/*.jar"/&amp;gt;&amp;lt;/fileset&amp;gt;&amp;lt;/classpath&amp;gt;&amp;lt;formatter type="xml" usefile="true"/&amp;gt;&amp;lt;batchtest fork="yes" todir="."&amp;gt;&amp;lt;fileset dir="${SRC}"&amp;gt;&amp;lt;include name="**/OrangeHrm.java"/&amp;gt;&amp;lt;/fileset&amp;gt;&amp;lt;/batchtest&amp;gt;&amp;lt;/junit&amp;gt;&amp;lt;junitreport todir="."&amp;gt;&amp;lt;fileset dir="."&amp;gt;&amp;lt;include name="TEST*.xml"/&amp;gt;&amp;lt;/fileset&amp;gt;&amp;lt;report format="frames" todir="./report/html"/&amp;gt;&amp;lt;/junitreport&amp;gt;&amp;lt;/target&amp;gt;&amp;lt;import file="D:\SeleniumTool\junitpdfreport_1_1_prerelease_20080220/build-junitpdfreport.xml"/&amp;gt;&amp;lt;target name="testreport-pdf"&amp;gt;&amp;lt;junitpdfreport todir="." styledir="default"&amp;gt;&amp;lt;fileset dir="C:\Documents and Settings\360logica\workspace\TestProjectGenerateReport\build"&amp;gt;&amp;lt;include name="TEST-TestSuites.xml"/&amp;gt;&amp;lt;/fileset&amp;gt;&amp;lt;/junitpdfreport&amp;gt;&amp;lt;/target&amp;gt; &amp;lt;/project&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Ending point&lt;br /&gt;&lt;br /&gt;6. It’s time to execute our example, follow the below execution steps:&lt;br /&gt;a. Launch selenium grid hub like in above example&lt;br /&gt;b. Create 4 instances of firefox RC server instances through grid&lt;br /&gt;c. Open a new command terminal and go with your build.xml file, see the below screen:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-RLag4xko9es/TVzEaxUmxiI/AAAAAAAAA1I/mdDqrfec3DM/s1600/29.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574546402973238818" src="http://4.bp.blogspot.com/-RLag4xko9es/TVzEaxUmxiI/AAAAAAAAA1I/mdDqrfec3DM/s320/29.JPG" style="cursor: pointer; height: 172px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;d. Execute our ant target to run all four tests in parallel, run the command&lt;br /&gt;Ant run-tests-in-parallel&lt;br /&gt;See the below screen:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-oqr9nF88HCA/TVzEjhtqxuI/AAAAAAAAA1Q/cHUbniqQpCY/s1600/30.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574546553402214114" src="http://3.bp.blogspot.com/-oqr9nF88HCA/TVzEjhtqxuI/AAAAAAAAA1Q/cHUbniqQpCY/s320/30.JPG" style="cursor: pointer; height: 172px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;e. After execution of command, you would see that all your tests will be running in parallel on four launched firefox RC instances.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-W4XByLHRBKw/TVzEwlR-pvI/AAAAAAAAA1Y/S8k7fGYUOn4/s1600/31.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574546777698117362" src="http://3.bp.blogspot.com/-W4XByLHRBKw/TVzEwlR-pvI/AAAAAAAAA1Y/S8k7fGYUOn4/s320/31.JPG" style="cursor: pointer; height: 172px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;f. You also can see the execution result by opening the index.html file from your project path \\gridprojectwithJunit\build\report\html&lt;br /&gt;See the result as below in your default browser:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-vIK0zLtYabY/TVzE2M1RoUI/AAAAAAAAA1g/RUbJuy24a7A/s1600/32.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574546874214490434" src="http://4.bp.blogspot.com/-vIK0zLtYabY/TVzE2M1RoUI/AAAAAAAAA1g/RUbJuy24a7A/s320/32.JPG" style="cursor: pointer; height: 230px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here is the updated embedded video file:&lt;br /&gt;&lt;object height="416" width="480"&gt;&lt;param name="movie" value="http://www.dailymotion.com/swf/video/xhes5t?theme=none"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;/param&gt;&lt;embed type="application/x-shockwave-flash" src="http://www.dailymotion.com/swf/video/xhes5t?theme=none" width="480" height="416" allowfullscreen="true" allowscriptaccess="always"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://www.dailymotion.com/video/xhes5t_seleniumgrid-example-part3-updated_tech" target="_blank"&gt;SeleniumGrid_Example_Part3-updated&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Uploaded by &lt;a href="http://www.dailymotion.com/vipingupta" target="_blank"&gt;vipingupta&lt;/a&gt;. - &lt;a href="http://www.dailymotion.com/in/channel/tech" target="_blank"&gt;Videos of the latest science discoveries and tech.&lt;/a&gt;&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8604080787354001382-6345869165293320195?l=time2testblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://time2testblog.blogspot.com/feeds/6345869165293320195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://time2testblog.blogspot.com/2011/03/working-of-selenium-grid-having_1619.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/6345869165293320195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/6345869165293320195'/><link rel='alternate' type='text/html' href='http://time2testblog.blogspot.com/2011/03/working-of-selenium-grid-having_1619.html' title='Selenium Grid Example - Part3'/><author><name>vipin gupta</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-NOf0A9XM7pw/TVzD92hvUaI/AAAAAAAAA04/lhGaTA9gH10/s72-c/27.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8604080787354001382.post-1245303023880381865</id><published>2011-03-02T12:12:00.000Z</published><updated>2011-12-20T15:14:00.522Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='video'/><category scheme='http://www.blogger.com/atom/ns#' term='selenium grid'/><category scheme='http://www.blogger.com/atom/ns#' term='guide'/><title type='text'>Selenium Grid Example - Part2</title><content type='html'>&lt;span style="font-size: x-small;"&gt;Working with demo of selenium grid -- 25-march-2011 - fixed the issues with error reported by Mitul. it was regarding a warning message which generates when we don't make 'includeantruntime' variable false in javac tab into the build.xml file&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Open a new command terminal, if you run following command then it will execute the test in sequence:&lt;br /&gt;Ant run-demo-in-sequence&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-3rT2OklMJrg/TVzBcd2Uo2I/AAAAAAAAAzY/XVIKYwi4NZw/s1600/15.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574543133570802530" src="http://4.bp.blogspot.com/-3rT2OklMJrg/TVzBcd2Uo2I/AAAAAAAAAzY/XVIKYwi4NZw/s320/15.JPG" style="cursor: pointer; height: 172px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;2. Open a new command terminal, if you run following command then it will execute the test in sequence:&lt;br /&gt;Ant Run-demo-in-parallel&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-RV7wCwnhXgI/TVzBoC9IPDI/AAAAAAAAAzg/9vXay5mpl6k/s1600/16.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574543332510022706" src="http://3.bp.blogspot.com/-RV7wCwnhXgI/TVzBoC9IPDI/AAAAAAAAAzg/9vXay5mpl6k/s320/16.JPG" style="cursor: pointer; height: 172px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%; font-weight: bold;"&gt;Nice example of Selenium Grid with Testng&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Create a project workspace, you need to maintain folder structure like below:&lt;br /&gt;gridproject&lt;br /&gt;- build&lt;br /&gt;- config&lt;br /&gt;- test&lt;br /&gt;- build.properties file&lt;br /&gt;- lib&lt;br /&gt;- build.xml&lt;br /&gt;See the below screen to see above workspace:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/--KCPoZMpNN0/TVzB8Rlnh5I/AAAAAAAAAzo/VH4fbkDQoQ8/s1600/17.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574543680035325842" src="http://3.bp.blogspot.com/--KCPoZMpNN0/TVzB8Rlnh5I/AAAAAAAAAzo/VH4fbkDQoQ8/s320/17.JPG" style="cursor: pointer; height: 246px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Create a java file with name ‘ParallelTests.java’ with following codes:&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;package com.example.tests;import com.thoughtworks.selenium.*;import org.testng.annotations.*;import static org.testng.Assert.*;import java.util.regex.Pattern;import static com.thoughtworks.selenium.grid.tools.ThreadSafeSeleniumSessionStorage.closeSeleniumSession;import static com.thoughtworks.selenium.grid.tools.ThreadSafeSeleniumSessionStorage.session;import static com.thoughtworks.selenium.grid.tools.ThreadSafeSeleniumSessionStorage.startSeleniumSession;import org.testng.annotations.AfterMethod;import org.testng.annotations.BeforeMethod;import org.testng.annotations.Parameters;public class Paralleltests extends SeleneseTestCase {public static final String TIMEOUT = "24000";@BeforeMethod@Parameters({"seleniumHost", "seleniumPort", "browser", "webSite"})protected void startSession(String seleniumHost, int seleniumPort, String browser, String webSite) {startSeleniumSession(seleniumHost, seleniumPort, browser, webSite);session().setTimeout(TIMEOUT);}@AfterMethodprotected void closeSession() {closeSeleniumSession();}@Test public void test1() throws Exception {session().open("/");}@Test public void test2() throws Exception {session().open("/");}@Test public void test3() throws Exception {session().open("/");}@Test public void test4() throws Exception {session().open("/");}public void waitForElementPresent(String locator, int timeout, Selenium selenium) throws Exception {for (int second = 0;; second++) {if (second &amp;gt;= timeout)throw new SeleniumException("Timout finding: " + locator);try {if (session().isElementPresent(locator))break;}catch (Exception ex) {}Thread.sleep(1000);}}}&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;See the below screen just for reference:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-vZmevBSwnVE/TVzCIzEsYdI/AAAAAAAAAzw/BgjVtiU6prI/s1600/18.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574543895182467538" src="http://2.bp.blogspot.com/-vZmevBSwnVE/TVzCIzEsYdI/AAAAAAAAAzw/BgjVtiU6prI/s320/18.JPG" style="cursor: pointer; height: 246px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. Now you need to create a configuration file, create a xml with name ‘testngp.xml’ with following codes and put the file in config folder:&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;&amp;lt;!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"&amp;gt;&amp;lt;suite name="ParallelExecuteResults" parallel="methods" thread-count="10" verbose="1" annotations="JDK"&amp;gt;&amp;lt;parameter name="seleniumHost" value="localhost" /&amp;gt;&amp;lt;parameter name="seleniumPort" value="4444" /&amp;gt;&amp;lt;parameter name="browser" value="*firefox" /&amp;gt;&amp;lt;parameter name="webSite" value="http://www.google.com/" /&amp;gt;&amp;lt;test name="Login Test" junit="false"&amp;gt;&amp;lt;classes&amp;gt;&amp;lt;class name="com.example.tests.Paralleltests"&amp;gt;&amp;lt;methods&amp;gt;&amp;lt;include name="test1" /&amp;gt;&amp;lt;include name="test2" /&amp;gt;&amp;lt;include name="test3" /&amp;gt;&amp;lt;include name="test4" /&amp;gt;&amp;lt;/methods&amp;gt;&amp;lt;/class&amp;gt;&amp;lt;/classes&amp;gt;&amp;lt;/test&amp;gt;&amp;lt;/suite&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;See the below screen just for reference:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/--85paEXUZHk/TVzCVjfs3xI/AAAAAAAAAz4/V3KigwizlLA/s1600/19.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574544114339077906" src="http://1.bp.blogspot.com/--85paEXUZHk/TVzCVjfs3xI/AAAAAAAAAz4/V3KigwizlLA/s320/19.JPG" style="cursor: pointer; height: 246px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4. You have already a build.xml file in your project’s workspace, open it and put the following code and again save it:&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;  &amp;lt;?xml version="1.0" encoding="iso-8859-1" ?&amp;gt; &lt;br /&gt;  &amp;lt;!DOCTYPE project (View Source for full doctype...)&amp;gt; &lt;br /&gt;- &amp;lt;project name="S4" default="usage" basedir="."&amp;gt;&lt;br /&gt;- &amp;lt;!--  ========== Initialize Properties =================================== &lt;br /&gt;  --&amp;gt; &lt;br /&gt;  &amp;lt;property environment="env" /&amp;gt; &lt;br /&gt;  &amp;lt;property file="./build.properties" /&amp;gt; &lt;br /&gt;  &amp;lt;property name="webSite" value="http://www.google.com" /&amp;gt; &lt;br /&gt;  &amp;lt;property name="seleniumHost" value="localhost" /&amp;gt; &lt;br /&gt;  &amp;lt;property name="seleniumPort" value="4444" /&amp;gt; &lt;br /&gt;  &amp;lt;property name="browser" value="*firefox" /&amp;gt; &lt;br /&gt;  &amp;lt;property name="hubPollerIntervalInSeconds" value="30" /&amp;gt; &lt;br /&gt;- &amp;lt;target name="start-selenium-server"&amp;gt;&lt;br /&gt;  &amp;lt;java jar="${ws.home}/lib/selenium-server.jar" /&amp;gt; &lt;br /&gt;  &amp;lt;/target&amp;gt;&lt;br /&gt;- &amp;lt;target name="setClassPath" unless="test.classpath"&amp;gt;&lt;br /&gt;- &amp;lt;path id="classpath_jars"&amp;gt;&lt;br /&gt;  &amp;lt;fileset dir="${ws.home}/lib" includes="*.jar" /&amp;gt; &lt;br /&gt;  &amp;lt;/path&amp;gt;&lt;br /&gt;  &amp;lt;pathconvert pathsep=":" property="test.classpath" refid="classpath_jars" /&amp;gt; &lt;br /&gt;  &amp;lt;/target&amp;gt;&lt;br /&gt;- &amp;lt;target name="init" depends="setClassPath"&amp;gt;&lt;br /&gt;- &amp;lt;tstamp&amp;gt;&lt;br /&gt;  &amp;lt;format property="start.time" pattern="MM/dd/yyyy hh:mm aa" /&amp;gt; &lt;br /&gt;  &amp;lt;/tstamp&amp;gt;&lt;br /&gt;- &amp;lt;condition property="ANT" value="${env.ANT_HOME}/bin/ant.bat" else="${env.ANT_HOME}/bin/ant"&amp;gt;&lt;br /&gt;  &amp;lt;os family="windows" /&amp;gt; &lt;br /&gt;  &amp;lt;/condition&amp;gt;&lt;br /&gt;  &amp;lt;taskdef name="testng" classpath="${test.classpath}" classname="org.testng.TestNGAntTask" /&amp;gt; &lt;br /&gt;  &amp;lt;/target&amp;gt;&lt;br /&gt;- &amp;lt;!--  all &lt;br /&gt;  --&amp;gt; &lt;br /&gt;  &amp;lt;target name="all" /&amp;gt; &lt;br /&gt;- &amp;lt;!--  clean &lt;br /&gt;  --&amp;gt; &lt;br /&gt;- &amp;lt;target name="clean"&amp;gt;&lt;br /&gt;  &amp;lt;delete dir="${test.dest}" /&amp;gt; &lt;br /&gt;  &amp;lt;/target&amp;gt;&lt;br /&gt;- &amp;lt;!--  compile &lt;br /&gt;  --&amp;gt; &lt;br /&gt;- &amp;lt;target name="compile" depends="init, clean"&amp;gt;&lt;br /&gt;- &amp;lt;delete includeemptydirs="true" quiet="true"&amp;gt;&lt;br /&gt;  &amp;lt;fileset dir="${test.dest}" includes="**/*" /&amp;gt; &lt;br /&gt;  &amp;lt;/delete&amp;gt;&lt;br /&gt;  &amp;lt;echo message="making directory..." /&amp;gt; &lt;br /&gt;  &amp;lt;mkdir dir="${test.dest}" /&amp;gt; &lt;br /&gt;  &amp;lt;echo message="classpath: ${test.classpath}" /&amp;gt; &lt;br /&gt;  &amp;lt;echo message="compiling..." /&amp;gt; &lt;br /&gt;  &amp;lt;javac debug="true" destdir="${test.dest}" includes="*.java" srcdir="${test.src}" target="1.5" classpath="${test.classpath}" includeantruntime="false" /&amp;gt; &lt;br /&gt;  &amp;lt;/target&amp;gt;&lt;br /&gt;- &amp;lt;!--  build &lt;br /&gt;  --&amp;gt; &lt;br /&gt;  &amp;lt;target name="build" depends="init" /&amp;gt; &lt;br /&gt;- &amp;lt;!--  run &lt;br /&gt;  --&amp;gt; &lt;br /&gt;- &amp;lt;target name="run-in-parallel" depends="compile"&amp;gt;&lt;br /&gt;- &amp;lt;testng classpath="${test.classpath}:${test.dest}" suitename="ParallelExecuteResults"&amp;gt;&lt;br /&gt;  &amp;lt;xmlfileset dir="${ws.home}/config" includes="testngp.xml" /&amp;gt; &lt;br /&gt;  &amp;lt;/testng&amp;gt;&lt;br /&gt;  &amp;lt;/target&amp;gt;&lt;br /&gt;- &amp;lt;target name="usage"&amp;gt;&lt;br /&gt;  &amp;lt;echo&amp;gt;ant run will execute the test&amp;lt;/echo&amp;gt; &lt;br /&gt;  &amp;lt;/target&amp;gt;&lt;br /&gt;- &amp;lt;!--  ****************** targets not used ****************** &lt;br /&gt;  --&amp;gt; &lt;br /&gt;  &amp;lt;/project&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;See the below screen just for reference:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-qoeYdCWADrs/TVzCoCE6wbI/AAAAAAAAA0A/4fRMC_lc-e4/s1600/20.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574544431785886130" src="http://1.bp.blogspot.com/-qoeYdCWADrs/TVzCoCE6wbI/AAAAAAAAA0A/4fRMC_lc-e4/s320/20.JPG" style="cursor: pointer; height: 246px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;5. Now, we need to save build.properties file with following code:&lt;br /&gt;ws.home=C:/gridproject (Note: if you create your workspace in C dir then, otherwise you need to give proper workspace path)&lt;br /&gt;test.dest=${ws.home}/build&lt;br /&gt;test.src=${ws.home}/test&lt;br /&gt;&lt;br /&gt;6. See the below screen just for reference:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-t1zuEostyoA/TVzC03VS5zI/AAAAAAAAA0I/-t3ipd7_QCg/s1600/21.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574544652240086834" src="http://4.bp.blogspot.com/-t1zuEostyoA/TVzC03VS5zI/AAAAAAAAA0I/-t3ipd7_QCg/s320/21.JPG" style="cursor: pointer; height: 219px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;7. It’s time to put needed jar files in your library, below jar files which you need to put in lib:&lt;br /&gt;a. junit.jar&lt;br /&gt;b. selenium-grid-tools-1.0.6.jar&lt;br /&gt;c. selenium-java-client-driver.jar&lt;br /&gt;d. selenium-server.jar&lt;br /&gt;e. testng-5.5-jdk15.jar&lt;br /&gt;f. testng.jar&lt;br /&gt;g. selenium-java-client-driver-tests.jar&lt;br /&gt;h. selenium-server-0.9.1-20070223.200626-116-standalone.jar&lt;br /&gt;see the below screen just for reference:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-KLUzf1tw7KU/TVzDC81bhhI/AAAAAAAAA0Q/5B2uNmk-zWI/s1600/22.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574544894235215378" src="http://1.bp.blogspot.com/-KLUzf1tw7KU/TVzDC81bhhI/AAAAAAAAA0Q/5B2uNmk-zWI/s320/22.JPG" style="cursor: pointer; height: 246px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;8.&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;TESTNG:&lt;/span&gt; We have already placed the required jars file what are necessary in using of TESTNG into the project’s library folder as Reference, in the screen you can see testng.jar and testng-5.5-jdk15.jar files which are responsible for compilation/execution of tests written into TESTNG:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-hfWhhafwZ-c/TVzDPnVymTI/AAAAAAAAA0Y/kLBVAmpf5Ws/s1600/23.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574545111803664690" src="http://3.bp.blogspot.com/-hfWhhafwZ-c/TVzDPnVymTI/AAAAAAAAA0Y/kLBVAmpf5Ws/s320/23.JPG" style="cursor: pointer; height: 246px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Only what you need to do is, set testng-5.5-jdk15.jar file into your system variables path, append C:\gridproject\lib\testng-5.5-jdk15.jar path into the path variable in the System variables section.&lt;br /&gt;&lt;br /&gt;9. I am assuming here that selenium grid with all four instances are still running on system if not then please start it again.&lt;br /&gt;&lt;br /&gt;10. Open a new command terminal,&lt;br /&gt;&lt;br /&gt;And run ant run-in-parallel&lt;br /&gt;&lt;br /&gt;As in below screen:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-h_yOgdu7l4U/TVzDa-7nTzI/AAAAAAAAA0g/UBpGWrZtse8/s1600/24.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574545307114884914" src="http://1.bp.blogspot.com/-h_yOgdu7l4U/TVzDa-7nTzI/AAAAAAAAA0g/UBpGWrZtse8/s320/24.JPG" style="cursor: pointer; height: 172px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;11. After executing the above command, you would see that multiple firefox instances will be launched parallel.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-uWfbQN4N24w/TVzDoFZyMTI/AAAAAAAAA0o/hiSKC1xRN5g/s1600/25.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574545532190339378" src="http://1.bp.blogspot.com/-uWfbQN4N24w/TVzDoFZyMTI/AAAAAAAAA0o/hiSKC1xRN5g/s320/25.JPG" style="cursor: pointer; height: 172px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;12. After execution of different tests, you can see the execution result; result will be shown into the “C:\gridproject\test-output” folder. You need to go into the different tests folder and by opening the index.html file you would be able to see the results. See an example:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-QUOpqu5xgEw/TVzDwWAXMFI/AAAAAAAAA0w/_fq6jrpR_Mc/s1600/26.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574545674086068306" src="http://3.bp.blogspot.com/-QUOpqu5xgEw/TVzDwWAXMFI/AAAAAAAAA0w/_fq6jrpR_Mc/s320/26.JPG" style="cursor: pointer; height: 230px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here is the updated embedded video file:&lt;br /&gt;&lt;object height="414" width="480"&gt;&lt;param name="movie" value="http://www.dailymotion.com/swf/video/xherkm?theme=none"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;embed type="application/x-shockwave-flash" src="http://www.dailymotion.com/swf/video/xherkm?theme=none" allowfullscreen="true" allowscriptaccess="always" height="414" width="480"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://www.dailymotion.com/video/xherkm_seleniumgrid-example-part2-updated_tech" target="_blank"&gt;SeleniumGrid_Example_Part2-updated&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Uploaded by &lt;a href="http://www.dailymotion.com/vipingupta" target="_blank"&gt;vipingupta&lt;/a&gt;. - &lt;a href="http://www.dailymotion.com/in/channel/tech" target="_blank"&gt;Technology reviews and science news videos.&lt;/a&gt;&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8604080787354001382-1245303023880381865?l=time2testblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://time2testblog.blogspot.com/feeds/1245303023880381865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://time2testblog.blogspot.com/2011/03/working-of-selenium-grid-having_02.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/1245303023880381865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/1245303023880381865'/><link rel='alternate' type='text/html' href='http://time2testblog.blogspot.com/2011/03/working-of-selenium-grid-having_02.html' title='Selenium Grid Example - Part2'/><author><name>vipin gupta</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-3rT2OklMJrg/TVzBcd2Uo2I/AAAAAAAAAzY/XVIKYwi4NZw/s72-c/15.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8604080787354001382.post-1704352734611464821</id><published>2011-03-02T11:57:00.000Z</published><updated>2011-12-20T15:46:55.399Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='video'/><category scheme='http://www.blogger.com/atom/ns#' term='selenium grid'/><category scheme='http://www.blogger.com/atom/ns#' term='guide'/><title type='text'>Selenium Grid Example - Part1</title><content type='html'>&lt;span style="font-size: 130%; font-weight: bold;"&gt;Contents&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Selenium grid with examples &lt;/li&gt;&lt;li&gt;Prerequisite &lt;/li&gt;&lt;li&gt;Working with demo of selenium grid &lt;/li&gt;&lt;li&gt;Nice example of Selenium Grid with Testng &lt;/li&gt;&lt;li&gt;Nice Example of Selenium Grid with Junit&lt;/li&gt;&lt;/ol&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span style="font-size: 130%; font-weight: bold;"&gt;Pre-requisite&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1) JDK (Java Development Kit): Download the JDK from http://www.filewatcher.com/m/jdk-1_5_0_11-windows-i586-p.exe.53394464.0.0.html link.&lt;br /&gt;After finishing the download, install the executable file into your system.&lt;br /&gt;Set Java home as Environmental variable into your system, see screen:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-BI03093Ie0s/TVy-U7xrUdI/AAAAAAAAAxo/mKLwZSs_0mg/s1600/1.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574539705630544338" src="http://1.bp.blogspot.com/-BI03093Ie0s/TVy-U7xrUdI/AAAAAAAAAxo/mKLwZSs_0mg/s320/1.JPG" style="cursor: pointer; height: 215px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;User can see the above screen if he follows the following steps:&lt;br /&gt;a) Right click on the My Computer icon from your desktop&lt;br /&gt;b) Click Properties&lt;br /&gt;c) Click Advanced tab&lt;br /&gt;d) Click Environment Variables button&lt;br /&gt;e) User would see Environment Variables interface&lt;br /&gt;f) Click New associated with System variables section&lt;br /&gt;g) You would see New System Variable interface&lt;br /&gt;h) Put JAVA_HOME into the variable name field&lt;br /&gt;i) Path of your JDK into the variable value field, as into the above screen my JAVA Home directory is installed into C:\Program Files\Java\jdk1.5.0_11&lt;br /&gt;j) Click Ok&lt;br /&gt;User can check if java is successfully installed on the system or not, follow two screens which are below:&lt;br /&gt;&lt;br /&gt;Run java –version command into the command prompt like:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-H15snmMdzw0/TVy-Z2pFwUI/AAAAAAAAAxw/UXZG0jZyGrI/s1600/2.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574539790151696706" src="http://3.bp.blogspot.com/-H15snmMdzw0/TVy-Z2pFwUI/AAAAAAAAAxw/UXZG0jZyGrI/s320/2.JPG" style="cursor: pointer; height: 172px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After execution of above command you would see the following screen:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-yTF-x3HCLKo/TVy-oV3yJcI/AAAAAAAAAx4/dUSXYj_O4wc/s1600/3.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574540039052993986" src="http://2.bp.blogspot.com/-yTF-x3HCLKo/TVy-oV3yJcI/AAAAAAAAAx4/dUSXYj_O4wc/s320/3.JPG" style="cursor: pointer; height: 172px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2) Ant as build tool: Download the binary distribution of Ant from http://ant.apache.org/bindownload.cgi link.&lt;br /&gt;After finishing with download, unzip the zipped file into directly your C:\Program files and put the same folder into the C:\Program Files\JAVA folder as well. See the screen:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-oqLwje_eJlU/TVy-xsFeD-I/AAAAAAAAAyA/MMLwWkSm-O0/s1600/4.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574540199634800610" src="http://3.bp.blogspot.com/-oqLwje_eJlU/TVy-xsFeD-I/AAAAAAAAAyA/MMLwWkSm-O0/s320/4.JPG" style="cursor: pointer; height: 240px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Set ANT home as Environmental variable into your system, see screen:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-Aou_YtEQcKM/TVy-5WdpbQI/AAAAAAAAAyI/oTkrQmiVvdA/s1600/5.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574540331269582082" src="http://1.bp.blogspot.com/-Aou_YtEQcKM/TVy-5WdpbQI/AAAAAAAAAyI/oTkrQmiVvdA/s320/5.JPG" style="cursor: pointer; height: 215px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;User can see the above screen if he follows the following steps:&lt;br /&gt;k) Right click on the My Computer icon from your desktop&lt;br /&gt;l) Click Properties&lt;br /&gt;m) Click Advanced tab&lt;br /&gt;n) Click Environment Variables button&lt;br /&gt;o) User would see Environment Variables interface&lt;br /&gt;p) Click New associated with System variables section&lt;br /&gt;q) You would see New System Variable interface&lt;br /&gt;r) Put ANT_HOME into the variable name field&lt;br /&gt;s) Path of your ANT into the variable value field, as into the above screen my ANT Home directory is installed into C:\Program Files\apache-ant-1.7.1&lt;br /&gt;t) Click Ok&lt;br /&gt;u) In the System Variables you would see variable Path, select the row, click Edit and define two paths(C:\Program Files\apache-ant-1.7.1\bin, C:\Program Files\java\apache-ant-1.7.1\bin) like into the following screen, in my case path of ANT bin folder is C:\Program Files\apache-ant-1.7.1\bin&lt;br /&gt;v) Click OK&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-A9twooqfKFI/TVy_bfulr_I/AAAAAAAAAyQ/VJvPIN6VHIc/s1600/6.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574540917872111602" src="http://1.bp.blogspot.com/-A9twooqfKFI/TVy_bfulr_I/AAAAAAAAAyQ/VJvPIN6VHIc/s320/6.JPG" style="cursor: pointer; height: 180px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;User can check if ANT is successfully installed on the system or not, follow two screens which are below:&lt;br /&gt;&lt;br /&gt;Run ant –version command into the command prompt like:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-Lz2zBPzFH6w/TVy_in-Zz_I/AAAAAAAAAyY/6REp5j-xDs4/s1600/7.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574541040345010162" src="http://2.bp.blogspot.com/-Lz2zBPzFH6w/TVy_in-Zz_I/AAAAAAAAAyY/6REp5j-xDs4/s320/7.JPG" style="cursor: pointer; height: 172px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Place the tools.jar file into your JRE\lib folder (as in our case path of lib folder is “C:\Program Files\Java\jre1.5.0_11\lib”), if you don’t do that then you would get the below screen else you would get next screen just after the below screen:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-XL0S-HC9gbM/TVy_uEqSevI/AAAAAAAAAyg/1sqkLNA0qkM/s1600/8.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574541237023832818" src="http://1.bp.blogspot.com/-XL0S-HC9gbM/TVy_uEqSevI/AAAAAAAAAyg/1sqkLNA0qkM/s320/8.JPG" style="cursor: pointer; height: 172px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;So ultimately if ant is successfully installed on your system then you get “Apache Ant version 1.7.1 compiled on June 27 2008” type of message, version and date will be according to yours ant version and compiled date.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-9PhLeI2-mV8/TVy_2UrYHqI/AAAAAAAAAyo/U1B48ubH238/s1600/9.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574541378762317474" src="http://4.bp.blogspot.com/-9PhLeI2-mV8/TVy_2UrYHqI/AAAAAAAAAyo/U1B48ubH238/s320/9.JPG" style="cursor: pointer; height: 172px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;3. &lt;span style="font-weight: bold;"&gt;Selenium Grid:&lt;/span&gt; Download the selenium Grid from http://seleniumhq.org/download/ link.&lt;br /&gt;Unzip the downloaded file into C:\Program Files folder.&lt;br /&gt;a. Launch the Selenium Grid hub, see the following two commands to perform the task:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-iDchqMxiVQE/TVzABL6JXRI/AAAAAAAAAyw/IkkOCeEITAA/s1600/10.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574541565386906898" src="http://4.bp.blogspot.com/-iDchqMxiVQE/TVzABL6JXRI/AAAAAAAAAyw/IkkOCeEITAA/s320/10.JPG" style="cursor: pointer; height: 195px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;b. Now after executing the command, user would see that selenium Grid hub is now launched on user’s system, user can verify the selenium hub if he launches http://localhost:4444/console into the browser , see the following screens:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-Au6qpZVR0Cs/TVzAKyXwZgI/AAAAAAAAAy4/LdhGSE7LnpQ/s1600/11.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574541730330469890" src="http://2.bp.blogspot.com/-Au6qpZVR0Cs/TVzAKyXwZgI/AAAAAAAAAy4/LdhGSE7LnpQ/s320/11.JPG" style="cursor: pointer; height: 172px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;c. Selenium Grid Hub before launching any remote control server:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-DZekz-lUxrU/TVzA2Wba9SI/AAAAAAAAAzA/9BsGGXWhof4/s1600/12.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574542478743893282" src="http://2.bp.blogspot.com/-DZekz-lUxrU/TVzA2Wba9SI/AAAAAAAAAzA/9BsGGXWhof4/s320/12.JPG" style="cursor: pointer; height: 230px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;d. For execution of Demo parallel, user needs launch multiple instances of selenium rc, please see the following commands to launch remote controls:&lt;br /&gt;&lt;br /&gt;Ant –Dport=5555 –Denvironment=”*firefox” launch-remote-control&lt;br /&gt;Ant –Dport=5556 –Denvironment=”*firefox” launch-remote-control&lt;br /&gt;Ant –Dport=5557 –Denvironment=”*firefox” launch-remote-control&lt;br /&gt;Ant –Dport=5558 –Denvironment=”*firefox” launch-remote-control&lt;br /&gt;&lt;br /&gt;Execute the above commands into different-different terminals to launch multiple instances. I show you one example into one terminal, what I would like you to perform the same task into four different terminals on different-different ports:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-LUsFYc2CLOk/TVzBCuBiCEI/AAAAAAAAAzI/jh3lKBccSJA/s1600/13.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574542691236186178" src="http://3.bp.blogspot.com/-LUsFYc2CLOk/TVzBCuBiCEI/AAAAAAAAAzI/jh3lKBccSJA/s320/13.JPG" style="cursor: pointer; height: 172px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 100%;"&gt;Selenium Grid Hub after launching remote control servers:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-D5kg9-1bkp8/TVzBP4eVgJI/AAAAAAAAAzQ/YsK315zTltU/s1600/14.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574542917379653778" src="http://3.bp.blogspot.com/-D5kg9-1bkp8/TVzBP4eVgJI/AAAAAAAAAzQ/YsK315zTltU/s320/14.JPG" style="cursor: pointer; height: 230px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;here is the embedded video file:&lt;br /&gt;&lt;object height="410" width="480"&gt;&lt;param name="movie" value="http://www.dailymotion.com/swf/video/xhbuii?theme=none"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;/param&gt;&lt;embed type="application/x-shockwave-flash" src="http://www.dailymotion.com/swf/video/xhbuii?theme=none" width="480" height="410" allowfullscreen="true" allowscriptaccess="always"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://www.dailymotion.com/video/xhbuii_seleniumgrid-example-part1_tech" target="_blank"&gt;SeleniumGrid_Example_Part1&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Uploaded by &lt;a href="http://www.dailymotion.com/vipingupta" target="_blank"&gt;vipingupta&lt;/a&gt;. - &lt;a href="http://www.dailymotion.com/in/channel/tech" target="_blank"&gt;Discover more science and tech videos.&lt;/a&gt;&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8604080787354001382-1704352734611464821?l=time2testblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://time2testblog.blogspot.com/feeds/1704352734611464821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://time2testblog.blogspot.com/2011/03/working-of-selenium-grid-having.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/1704352734611464821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/1704352734611464821'/><link rel='alternate' type='text/html' href='http://time2testblog.blogspot.com/2011/03/working-of-selenium-grid-having.html' title='Selenium Grid Example - Part1'/><author><name>vipin gupta</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-BI03093Ie0s/TVy-U7xrUdI/AAAAAAAAAxo/mKLwZSs_0mg/s72-c/1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8604080787354001382.post-4328065048424075912</id><published>2011-02-23T14:54:00.000Z</published><updated>2011-03-01T09:42:25.095Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='video'/><category scheme='http://www.blogger.com/atom/ns#' term='guide'/><category scheme='http://www.blogger.com/atom/ns#' term='iphone'/><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>Selenium 2 testing with iPhone - Part6</title><content type='html'>Part 6 of the guide covers working with Android which is very similar to the iPhone setup.&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Working with Android:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;• Use Update Manager feature of your Eclipse installation to install the  latest revision of ADT on your development computer. Launch Eclipse environment.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-c7oXh3QF0sw/TVu7kGIQKbI/AAAAAAAAAto/Ph_Nx5L024s/s1600/67.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574255192596031922" src="http://2.bp.blogspot.com/-c7oXh3QF0sw/TVu7kGIQKbI/AAAAAAAAAto/Ph_Nx5L024s/s320/67.JPG" style="cursor: pointer; height: 177px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Start Eclipse, then select Help &amp;gt;  Install New Software&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-BOe9Qvs2XAM/TVu7uav-RMI/AAAAAAAAAtw/SPB2SqEUS3U/s1600/68.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574255369930032322" src="http://1.bp.blogspot.com/-BOe9Qvs2XAM/TVu7uav-RMI/AAAAAAAAAtw/SPB2SqEUS3U/s320/68.JPG" style="cursor: pointer; height: 192px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;• The dialog that  appears, click the Available Software tab.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-DKF27kCUzRQ/TVu75cXMm_I/AAAAAAAAAt4/x9D9gRTcrgs/s1600/69.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574255559341546482" src="http://3.bp.blogspot.com/-DKF27kCUzRQ/TVu75cXMm_I/AAAAAAAAAt4/x9D9gRTcrgs/s320/69.JPG" style="cursor: pointer; height: 252px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Click on Add Site button, In the Add Site dialog that appears, enter  this URL in the "Location" field https://dl-ssl.google.com/android/eclipse/ and  Name into Name Field&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-9mfxsxefxPU/TVu8FZ_ePOI/AAAAAAAAAuA/-FMeV8uymO4/s1600/70.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574255764863597794" src="http://1.bp.blogspot.com/-9mfxsxefxPU/TVu8FZ_ePOI/AAAAAAAAAuA/-FMeV8uymO4/s320/70.JPG" style="cursor: pointer; height: 180px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;• Back in the Available Software view, you should now see "Developer  Tools" added to the list. Select the checkbox next to Developer Tools, which  will automatically select the nested tools Android DDMS and Android Development  Tools. Click Next.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-9sRgywd7ki8/TVu8L7SHwzI/AAAAAAAAAuI/It9elQWqHj0/s1600/71.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574255876879401778" src="http://4.bp.blogspot.com/-9sRgywd7ki8/TVu8L7SHwzI/AAAAAAAAAuI/It9elQWqHj0/s320/71.JPG" style="cursor: pointer; height: 252px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• In the resulting Install Details dialog, the Android  DDMS and Android Development Tools features are listed. Click Next to read and  accept the license agreement and install any dependencies, then click Finish.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-bv3bibVu0PU/TVu8RgkMxeI/AAAAAAAAAuQ/B7m9o-RlcBM/s1600/72.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574255972786685410" src="http://4.bp.blogspot.com/-bv3bibVu0PU/TVu8RgkMxeI/AAAAAAAAAuQ/B7m9o-RlcBM/s320/72.JPG" style="cursor: pointer; height: 252px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Installing windows will look like this&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-jyQ0P22lhqI/TVu8XxD1JiI/AAAAAAAAAuY/79WhDDwqDJE/s1600/73.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574256080293537314" src="http://2.bp.blogspot.com/-jyQ0P22lhqI/TVu8XxD1JiI/AAAAAAAAAuY/79WhDDwqDJE/s320/73.JPG" style="cursor: pointer; height: 180px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Restart your Eclipse environment&lt;br /&gt;&lt;br /&gt;• Download SDK from  herehttp://developer.android.com/sdk/index.html&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-K_Lanm5oQPk/TVu8iZ-aXxI/AAAAAAAAAug/00McwjkeDx0/s1600/74.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574256263075356434" src="http://1.bp.blogspot.com/-K_Lanm5oQPk/TVu8iZ-aXxI/AAAAAAAAAug/00McwjkeDx0/s320/74.JPG" style="cursor: pointer; height: 177px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Configuring the ADT Plug-in&lt;br /&gt;&lt;br /&gt;• Select Window &amp;gt; Preferences... to  open the Preferences panel.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-3a18CyFOaEE/TVu8xxHb0kI/AAAAAAAAAuo/OPq9ry44cbw/s1600/75.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574256526985253442" src="http://4.bp.blogspot.com/-3a18CyFOaEE/TVu8xxHb0kI/AAAAAAAAAuo/OPq9ry44cbw/s320/75.JPG" style="cursor: pointer; height: 192px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;• Select Android from the left  panel.&lt;br /&gt;&lt;br /&gt;• For the SDK Location in the main panel, click Browse... and locate  your downloaded SDK directory.&lt;br /&gt;&lt;br /&gt;• Click Apply, and then OK.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-Ijmby2xlgyI/TVu88VPpElI/AAAAAAAAAuw/WgWz0C-BQvs/s1600/76.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574256708482044498" src="http://4.bp.blogspot.com/-Ijmby2xlgyI/TVu88VPpElI/AAAAAAAAAuw/WgWz0C-BQvs/s320/76.JPG" style="cursor: pointer; height: 272px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Adding Android Platforms and Other Components&lt;br /&gt;Before  adding SDK components disable your antivirus services.&lt;br /&gt;&lt;br /&gt;• Goto  Windows&amp;gt;&amp;gt; Android SDK and AVD Manager&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-jcWqmX1m-YE/TVu9Gfu5ecI/AAAAAAAAAu4/4uwJWFQFRGM/s1600/77.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574256883096189378" src="http://4.bp.blogspot.com/-jcWqmX1m-YE/TVu9Gfu5ecI/AAAAAAAAAu4/4uwJWFQFRGM/s320/77.JPG" style="cursor: pointer; height: 192px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;• Launch Android SDK and AVD  Manager&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-2nKcQGduxk4/TVu9PQpsrAI/AAAAAAAAAvA/3fIhrXwFdAY/s1600/78.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574257033666669570" src="http://3.bp.blogspot.com/-2nKcQGduxk4/TVu9PQpsrAI/AAAAAAAAAvA/3fIhrXwFdAY/s320/78.JPG" style="cursor: pointer; height: 186px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Click on Available Packages&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-x7kD77pYqTM/TVu9aq32XzI/AAAAAAAAAvI/ZQsOUPXWXhA/s1600/79.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574257229683908402" src="http://2.bp.blogspot.com/-x7kD77pYqTM/TVu9aq32XzI/AAAAAAAAAvI/ZQsOUPXWXhA/s320/79.JPG" style="cursor: pointer; height: 186px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Select following options:&lt;br /&gt;1. Documentation for Android SDK,  API 8, revision 1&lt;br /&gt;2. SDK Platform Android 2.2 API revision 2&lt;br /&gt;3. Samples  for SDK API 8, revision1&lt;br /&gt;4. Google API by Google Inc., Android API 8,  revesion 2&lt;br /&gt;5. USB Driver Package revision 3&lt;br /&gt;6. Market Licensing Package,  revision 3&lt;br /&gt;&lt;br /&gt;• And click on Install Selected button.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-125-tm_P9P0/TVu9it0DHgI/AAAAAAAAAvQ/RB9AF5rLKt4/s1600/80.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574257367912226306" src="http://3.bp.blogspot.com/-125-tm_P9P0/TVu9it0DHgI/AAAAAAAAAvQ/RB9AF5rLKt4/s320/80.JPG" style="cursor: pointer; height: 186px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Click on Install button.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-xvRNQWkIphQ/TVu-Fp4-WVI/AAAAAAAAAvY/uA9jUwwtMgI/s1600/81.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574257968154564946" src="http://2.bp.blogspot.com/-xvRNQWkIphQ/TVu-Fp4-WVI/AAAAAAAAAvY/uA9jUwwtMgI/s320/81.JPG" style="cursor: pointer; height: 160px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Creating an Android Project&lt;br /&gt;&lt;br /&gt;The ADT plug-in provides a New Project Wizard that you can use to  quickly create a new Android project.&lt;br /&gt;• Select File &amp;gt; New &amp;gt;  Project&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-cH5f0UoR2gk/TVu-QiUczvI/AAAAAAAAAvg/h_381qCcPb0/s1600/82.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574258155100884722" src="http://4.bp.blogspot.com/-cH5f0UoR2gk/TVu-QiUczvI/AAAAAAAAAvg/h_381qCcPb0/s320/82.JPG" style="cursor: pointer; height: 192px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;• Select Android &amp;gt; Android Project, and click Next.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-d77GAEvDGX8/TVu-YHkgN1I/AAAAAAAAAvo/v5pYYJ7I5GY/s1600/83.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574258285359413074" src="http://2.bp.blogspot.com/-d77GAEvDGX8/TVu-YHkgN1I/AAAAAAAAAvo/v5pYYJ7I5GY/s320/83.JPG" style="cursor: pointer; height: 250px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;•  Select the contents for the project:&lt;br /&gt;1. Enter a Project Name. This will be  the name of the folder where your project is created.&lt;br /&gt;2. Under Contents,  select Create new project in workspace. Select your project workspace location.&lt;br /&gt;3. Under Target, select an Android target to be used as the project's Build  Target. The Build Target specifies which Android platform you'd like your  application built against.&lt;br /&gt;• Under Properties, fill in all necessary fields.&lt;br /&gt;1. Enter an Application name. This is the human-readable title for your  application — the name that will appear on the Android device.&lt;br /&gt;2. Enter a  Package name. This is the package namespace (following the same rules as for  packages in the Java programming language) where all your source code will  reside.&lt;br /&gt;3. Select Create Activity (optional, of course, but common) and  enter a name for your main Activity class.&lt;br /&gt;4. Enter a Min SDK Version.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-VDP-PTadfKc/TVu-nh-n_LI/AAAAAAAAAvw/Q59ZFBVAPL0/s1600/84.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574258550146333874" src="http://3.bp.blogspot.com/-VDP-PTadfKc/TVu-nh-n_LI/AAAAAAAAAvw/Q59ZFBVAPL0/s320/84.JPG" style="cursor: pointer; height: 320px; width: 310px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Click on Finish button.&lt;br /&gt;• Once you  complete the New Project Wizard, ADT creates the folders and files in your new  project.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-ZSYYU5aXYQA/TVu-zxODYXI/AAAAAAAAAv4/y8T5pWR7MgY/s1600/85.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574258760396005746" src="http://4.bp.blogspot.com/-ZSYYU5aXYQA/TVu-zxODYXI/AAAAAAAAAv4/y8T5pWR7MgY/s320/85.JPG" style="cursor: pointer; height: 177px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Creating an AVD &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;An Android Virtual Device (AVD) is a device  configuration for the emulator that allows you to model real world devices. In  order to run an instance of the emulator, you must create an AVD.&lt;br /&gt;• Select  Window &amp;gt; Android SDK and AVD Manager.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-hWtEZnca1_s/TVu-9QUk5QI/AAAAAAAAAwA/BzD08duA78w/s1600/86.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574258923363689730" src="http://3.bp.blogspot.com/-hWtEZnca1_s/TVu-9QUk5QI/AAAAAAAAAwA/BzD08duA78w/s320/86.JPG" style="cursor: pointer; height: 186px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Click New to create a new AVD.&lt;br /&gt;• Fill in the details for the AVD.&lt;br /&gt;• Give it a name, a platform target, an SD card size, and a skin (HVGA is  default).&lt;br /&gt;• Click on Create AVD.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-Ihmxcm--bgY/TVu_IEO0VNI/AAAAAAAAAwI/0Xk4tGxZaZU/s1600/87.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574259109096871122" src="http://2.bp.blogspot.com/-Ihmxcm--bgY/TVu_IEO0VNI/AAAAAAAAAwI/0Xk4tGxZaZU/s320/87.JPG" style="cursor: pointer; height: 261px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Running on the emulator &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;• To run your application, select Run  &amp;gt; Run from the Eclipse menu bar.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-V8r30qkHOaE/TVu_NyP6kfI/AAAAAAAAAwQ/i8Fxbo-0CFU/s1600/88.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574259207348851186" src="http://3.bp.blogspot.com/-V8r30qkHOaE/TVu_NyP6kfI/AAAAAAAAAwQ/i8Fxbo-0CFU/s320/88.JPG" style="cursor: pointer; height: 172px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-sjMOxsR7Wrg/TVu_ZUcLjrI/AAAAAAAAAwY/I_EpZSB1iKU/s1600/89.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574259405505662642" src="http://2.bp.blogspot.com/-sjMOxsR7Wrg/TVu_ZUcLjrI/AAAAAAAAAwY/I_EpZSB1iKU/s320/89.JPG" style="cursor: pointer; height: 186px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-VeMTuJed7_8/TVu_mPd5wII/AAAAAAAAAwg/mPLPVWlY7Nc/s1600/90.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574259627509006466" src="http://3.bp.blogspot.com/-VeMTuJed7_8/TVu_mPd5wII/AAAAAAAAAwg/mPLPVWlY7Nc/s320/90.JPG" style="cursor: pointer; height: 180px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;• Right click on package com.core and  select New&amp;gt;&amp;gt;Class&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-Rq-E7_I2uq4/TVvAFzQY7sI/AAAAAAAAAwo/i2bSUbyZwdA/s1600/91.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574260169691950786" src="http://1.bp.blogspot.com/-Rq-E7_I2uq4/TVvAFzQY7sI/AAAAAAAAAwo/i2bSUbyZwdA/s320/91.JPG" style="cursor: pointer; height: 192px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;‘Hello World’ example on Android: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;a. Launch Eclipse&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-t6XtKAm3XE8/TVvAQ6rwLKI/AAAAAAAAAww/FgX9ug03TIA/s1600/92.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574260360664329378" src="http://1.bp.blogspot.com/-t6XtKAm3XE8/TVvAQ6rwLKI/AAAAAAAAAww/FgX9ug03TIA/s320/92.JPG" style="cursor: pointer; height: 230px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;b. Create a new Android project, from New&amp;gt;&amp;gt; Other menu option,  select ‘Android Project’&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-1tUm3Tk5SVg/TVvAdZK9oMI/AAAAAAAAAw4/ipfGxtVXmcI/s1600/93.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574260575006728386" src="http://4.bp.blogspot.com/-1tUm3Tk5SVg/TVvAdZK9oMI/AAAAAAAAAw4/ipfGxtVXmcI/s320/93.JPG" style="cursor: pointer; height: 250px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;c. Fill in the project details with the following values:&lt;br /&gt;• Project  name: HelloAndroid&lt;br /&gt;• Application name: Hello, Android&lt;br /&gt;• Package name:  com.example.helloandroid (or your own private namespace)&lt;br /&gt;• Create Activity:  HelloAndroid&lt;br /&gt;&lt;br /&gt;Click Finish.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-X4VivnLeWYQ/TVvAkj7JxBI/AAAAAAAAAxA/4dS1MmQeYbE/s1600/94.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574260698152289298" src="http://1.bp.blogspot.com/-X4VivnLeWYQ/TVvAkj7JxBI/AAAAAAAAAxA/4dS1MmQeYbE/s320/94.JPG" style="cursor: pointer; height: 320px; width: 310px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;d. Here is a description of each field:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Project Name&lt;/span&gt;&lt;br /&gt;This is the Eclipse Project name — the name of the directory that will  contain the project files.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Application Name &lt;/span&gt;&lt;br /&gt;This is the human-readable  title for your application — the name that will appear on the Android device.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Package Name &lt;/span&gt;&lt;br /&gt;This is the package namespace (following the same rules as  for packages in the Java programming language) that you want all your source  code to reside under. This also sets the package name under which the stub  Activity will be generated.&lt;br /&gt;Your package name must be unique across all  packages installed on the Android system; for this reason, it's important to use  a standard domain-style package for your applications. The example above uses  the "com.example" namespace, which is a namespace reserved for example  documentation — when you develop your own applications, you should use a  namespace that's appropriate to your organization or entity.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Create Activity  &lt;/span&gt;&lt;br /&gt;This is the name for the class stub that will be generated by the plugin.  This will be a subclass of Android's Activity class. An Activity is simply a  class that can run and do work. It can create a UI if it chooses, but it doesn't  need to. As the checkbox suggests, this is optional, but an Activity is almost  always used as the basis for an application.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Min SDK Version &lt;/span&gt;&lt;br /&gt;This value  specifies the minimum API Level required by your application. For more  information, see Android API Levels.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Other fields:&lt;/span&gt; The checkbox for "Use  default location" allows you to change the location on disk where the project's  files will be generated and stored. "Build Target" is the platform target that  your application will be compiled against (this should be selected  automatically, based on your Min SDK Version).&lt;br /&gt;&lt;br /&gt;e. Your Android project  is now ready. It should be visible in the Package Explorer on the left. Open the  HelloAndroid.java file, located inside HelloAndroid &amp;gt; src &amp;gt;  com.example.helloandroid). It should look like this:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-dqGh6J3jRAM/TVvAvedGNFI/AAAAAAAAAxI/3-0EbJVY8zA/s1600/95.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574260885662610514" src="http://1.bp.blogspot.com/-dqGh6J3jRAM/TVvAvedGNFI/AAAAAAAAAxI/3-0EbJVY8zA/s320/95.JPG" style="cursor: pointer; height: 230px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;f. Replace all the above code with the following:&lt;br /&gt;package com.example.helloandroid;&lt;br /&gt;&lt;pre style="background-color: rgb(238, 238, 238); border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;import android.app.Activity;import android.os.Bundle;import android.widget.TextView;public class HelloAndroid extends Activity {/** Called when the activity is first created. */@Overridepublic void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);TextView tv = new TextView(this);tv.setText("Hello, Android");setContentView(tv);}}&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;g.  Before running the code, do the following sub-steps:&lt;br /&gt;i. Open a notepad,  right the below codes into it:&lt;br /&gt;/* AUTO-GENERATED FILE. DO NOT MODIFY.&lt;br /&gt;*&lt;br /&gt;* This class was automatically generated by the&lt;br /&gt;* aapt tool from the  resource data it found. It&lt;br /&gt;* should not be modified by hand.&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;&lt;pre style="background-color: rgb(238, 238, 238); border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;package com.example.tests;public final class R {public static final class attr {}public static final class drawable {public static final int icon=0x7f020000;}public static final class layout {public static final int main=0x7f030000;}public static final class string {public static final int app_name=0x7f040001;public static final int hello=0x7f040000;}}&lt;/code&gt;&lt;/pre&gt;See  the below screen:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-bC6zkGD5Uv8/TVvA3RK0EJI/AAAAAAAAAxQ/6_1AIvi91fE/s1600/96.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574261019535216786" src="http://3.bp.blogspot.com/-bC6zkGD5Uv8/TVvA3RK0EJI/AAAAAAAAAxQ/6_1AIvi91fE/s320/96.JPG" style="cursor: pointer; height: 191px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;ii. Save the notepad with R.java,&lt;br /&gt;Now Go into your Eclipse’s  workspace &amp;gt;&amp;gt; Project name (in current case  ‘HelloAndroid’)&amp;gt;&amp;gt; gen folder&lt;br /&gt;&amp;gt;&amp;gt; Create a sub  folder com under gen&lt;br /&gt;&amp;gt;&amp;gt; Create a sub folder example under com&lt;br /&gt;&amp;gt;&amp;gt; Create a sub folder helloandroid under example&lt;br /&gt;&lt;br /&gt;Paste R.java into created sub folder helloandroid&lt;br /&gt;&lt;br /&gt;h. The Eclipse  plugin makes it easy to run your applications:&lt;br /&gt;I. Select Run &amp;gt; Run&lt;br /&gt;II. Select "Android Application".&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-YWc3rnZo4ug/TVvBADA_9mI/AAAAAAAAAxY/sUwm5bbRMX0/s1600/97.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574261170354779746" src="http://1.bp.blogspot.com/-YWc3rnZo4ug/TVvBADA_9mI/AAAAAAAAAxY/sUwm5bbRMX0/s320/97.JPG" style="cursor: pointer; height: 248px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;See the above screen, in which I have created a new configuration  “TestAnd1” under Android Application,&lt;br /&gt;Click Run,&lt;br /&gt;The Eclipse plugin  automatically creates a new run configuration for your project and then launches  the Android Emulator. Depending on your environment, the Android emulator might  take several minutes to boot fully, so please be patient. When the emulator is  booted, the Eclipse plugin installs your application and launches the default  Activity. You should now see something like this&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-WKLioLU-hSM/TVvBIdhlc1I/AAAAAAAAAxg/yDnFQN5v-TY/s1600/98.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574261314909729618" src="http://4.bp.blogspot.com/-WKLioLU-hSM/TVvBIdhlc1I/AAAAAAAAAxg/yDnFQN5v-TY/s320/98.JPG" style="cursor: pointer; height: 265px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here is the first embedded video file (we have two video files in completion of this post):&lt;br /&gt;&lt;object width="480" height="395"&gt;&lt;param name="movie" value="http://www.dailymotion.com/swf/video/xhalyf?theme=none"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;/param&gt;&lt;embed type="application/x-shockwave-flash" src="http://www.dailymotion.com/swf/video/xhalyf?theme=none" width="480" height="395" allowfullscreen="true" allowscriptaccess="always"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://www.dailymotion.com/video/xhalyf_seleniumwithiphone-part6a_tech" target="_blank"&gt;SeleniumWithiPhone-part6A&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Uploaded by &lt;a href="http://www.dailymotion.com/vipingupta" target="_blank"&gt;vipingupta&lt;/a&gt;. - &lt;a target="_blank" href="http://www.dailymotion.com/in/channel/tech"&gt;Technology reviews and science news videos.&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Here is the second embedded video file (we have two video files in completion of this post):&lt;br /&gt;&lt;object width="480" height="397"&gt;&lt;param name="movie" value="http://www.dailymotion.com/swf/video/xhb31p?theme=none"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;/param&gt;&lt;embed type="application/x-shockwave-flash" src="http://www.dailymotion.com/swf/video/xhb31p?theme=none" width="480" height="397" allowfullscreen="true" allowscriptaccess="always"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://www.dailymotion.com/video/xhb31p_seleniumwithiphone-part6b_tech" target="_blank"&gt;SeleniumWithiPhone-part6B&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Uploaded by &lt;a href="http://www.dailymotion.com/vipingupta" target="_blank"&gt;vipingupta&lt;/a&gt;. - &lt;a target="_blank" href="http://www.dailymotion.com/in/channel/tech"&gt;Explore more science and tech videos.&lt;/a&gt;&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8604080787354001382-4328065048424075912?l=time2testblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://time2testblog.blogspot.com/feeds/4328065048424075912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://time2testblog.blogspot.com/2011/02/selenium-2-with-iphone-part6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/4328065048424075912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/4328065048424075912'/><link rel='alternate' type='text/html' href='http://time2testblog.blogspot.com/2011/02/selenium-2-with-iphone-part6.html' title='Selenium 2 testing with iPhone - Part6'/><author><name>vipin gupta</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-c7oXh3QF0sw/TVu7kGIQKbI/AAAAAAAAAto/Ph_Nx5L024s/s72-c/67.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8604080787354001382.post-7241547050183662713</id><published>2011-02-23T14:50:00.000Z</published><updated>2011-02-28T11:58:41.422Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='video'/><category scheme='http://www.blogger.com/atom/ns#' term='guide'/><category scheme='http://www.blogger.com/atom/ns#' term='iphone'/><title type='text'>Selenium 2 testing with iPhone - Part5</title><content type='html'>&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Testing of iPhone Simulator into  Firefox mode with Selenium IDE&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1. Download iphone add on for  Firefox browser from here http://static.enzy.org/repository/iphone.xpi.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-vX8Ax4F5nTs/TVu5YLq3yhI/AAAAAAAAAsY/WDJkIMgJifg/s1600/57.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574252788901726738" src="http://1.bp.blogspot.com/-vX8Ax4F5nTs/TVu5YLq3yhI/AAAAAAAAAsY/WDJkIMgJifg/s320/57.JPG" style="cursor: pointer; height: 180px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Restart Firefox browser.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-eEu0N6Fte_E/TVu5kR9IBaI/AAAAAAAAAsg/Nodux0sEol0/s1600/58.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574252996747330978" src="http://3.bp.blogspot.com/-eEu0N6Fte_E/TVu5kR9IBaI/AAAAAAAAAsg/Nodux0sEol0/s320/58.JPG" style="cursor: pointer; height: 190px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. Open command prompt and  navigate to the “C:\Program Files\Mozilla Firefox” path.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-xofwyBVmNuc/TVu53XI9BCI/AAAAAAAAAso/uev0qorzJCI/s1600/59.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574253324556633122" src="http://4.bp.blogspot.com/-xofwyBVmNuc/TVu53XI9BCI/AAAAAAAAAso/uev0qorzJCI/s320/59.JPG" style="cursor: pointer; height: 172px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;4. Now enter command ‘Firefox -iphone URL’ (Application URL which do you  want to test).I entered www.google.com.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-CLkEpFoe1As/TVu6BAwf33I/AAAAAAAAAsw/2P_XsmaqNw8/s1600/60.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574253490347171698" src="http://1.bp.blogspot.com/-CLkEpFoe1As/TVu6BAwf33I/AAAAAAAAAsw/2P_XsmaqNw8/s320/60.JPG" style="cursor: pointer; height: 172px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;5. You would see following screen will appear.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-VUJAR3-uh0s/TVu6iYwy76I/AAAAAAAAAs4/QbiH1tOlTJc/s1600/61.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574254063726555042" src="http://1.bp.blogspot.com/-VUJAR3-uh0s/TVu6iYwy76I/AAAAAAAAAs4/QbiH1tOlTJc/s320/61.JPG" style="cursor: pointer; height: 223px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;6. Now launch IDE interface from Firefox  browser.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-WSVaGP50Lfk/TVu6w8WyYzI/AAAAAAAAAtA/BFef2N4mhkI/s1600/62.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574254313799312178" src="http://3.bp.blogspot.com/-WSVaGP50Lfk/TVu6w8WyYzI/AAAAAAAAAtA/BFef2N4mhkI/s320/62.JPG" style="cursor: pointer; height: 192px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-MqEir34XkqE/TVu658NJgbI/AAAAAAAAAtI/5kH8wdedf84/s1600/63.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574254468377706930" src="http://2.bp.blogspot.com/-MqEir34XkqE/TVu658NJgbI/AAAAAAAAAtI/5kH8wdedf84/s320/63.JPG" style="cursor: pointer; height: 260px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;7. Click on recording button to start recording.&lt;br /&gt;&lt;br /&gt;8. Enter any keyword into search text field.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-82R7ZWj3tYo/TVu7Ee8yukI/AAAAAAAAAtQ/JXzff7cRqPI/s1600/64.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574254649503038018" src="http://1.bp.blogspot.com/-82R7ZWj3tYo/TVu7Ee8yukI/AAAAAAAAAtQ/JXzff7cRqPI/s320/64.JPG" style="cursor: pointer; height: 177px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;9. Click on ‘Google Search’  button.&lt;br /&gt;&lt;br /&gt;10. You would see search result displayed on iphone emulator.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-GVihGQjlHVQ/TVu7T8glI7I/AAAAAAAAAtY/evJD-0Q48jA/s1600/65.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574254915135808434" src="http://2.bp.blogspot.com/-GVihGQjlHVQ/TVu7T8glI7I/AAAAAAAAAtY/evJD-0Q48jA/s320/65.JPG" style="cursor: pointer; height: 177px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;11. You would see IDE has recorded script  for Google search.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-qsBkhK2Dapk/TVu7anBXLDI/AAAAAAAAAtg/wfcp_--5cao/s1600/66.JPG"&gt;&lt;img alt="" id="BLOGGER_PHOTO_ID_5574255029626809394" src="http://3.bp.blogspot.com/-qsBkhK2Dapk/TVu7anBXLDI/AAAAAAAAAtg/wfcp_--5cao/s320/66.JPG" style="cursor: pointer; height: 260px; width: 320px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;12. Save the above recorded script.&lt;br /&gt;&lt;br /&gt;13. Run the recorded script.&lt;br /&gt;&lt;br /&gt;Here is the link to access next blog on same topic:&lt;br /&gt;&lt;a href="http://time2testblog.blogspot.com/2011/02/selenium-2-with-iphone-part6.html"&gt;http://time2testblog.blogspot.com/2011/02/selenium-2-with-iphone-part6.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is the embedded video file:&lt;br /&gt;&lt;object width="480" height="398"&gt;&lt;param name="movie" value="http://www.dailymotion.com/swf/video/xh7vd6?theme=none"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;/param&gt;&lt;embed type="application/x-shockwave-flash" src="http://www.dailymotion.com/swf/video/xh7vd6?theme=none" width="480" height="398" allowfullscreen="true" allowscriptaccess="always"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://www.dailymotion.com/video/xh7vd6_seleniumwithiphone-part5_tech" target="_blank"&gt;SeleniumWithiPhone-part5&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Uploaded by &lt;a href="http://www.dailymotion.com/vipingupta" target="_blank"&gt;vipingupta&lt;/a&gt;. - &lt;a target="_blank" href="http://www.dailymotion.com/in/channel/tech"&gt;Explore more science and tech videos.&lt;/a&gt;&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8604080787354001382-7241547050183662713?l=time2testblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://time2testblog.blogspot.com/feeds/7241547050183662713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://time2testblog.blogspot.com/2011/02/selenium-2-with-iphone-part5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/7241547050183662713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/7241547050183662713'/><link rel='alternate' type='text/html' href='http://time2testblog.blogspot.com/2011/02/selenium-2-with-iphone-part5.html' title='Selenium 2 testing with iPhone - Part5'/><author><name>vipin gupta</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-vX8Ax4F5nTs/TVu5YLq3yhI/AAAAAAAAAsY/WDJkIMgJifg/s72-c/57.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8604080787354001382.post-4148972494977026630</id><published>2011-02-23T14:48:00.000Z</published><updated>2011-02-27T11:27:30.891Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='guide'/><category scheme='http://www.blogger.com/atom/ns#' term='iphone'/><title type='text'>Selenium 2 testing with iPhone - Part4</title><content type='html'>&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Recording and playing back tests with  FoneMonkey:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;I have used a new project for recording/playing  back tests with FoneMonkey, so if we follow the above set up “iPhone Application  with iPhone”, then after final step we get the launched iPhone interface,&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;See the below screen:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-siicudDvddI/TVu45iEybgI/AAAAAAAAAsI/yA2S4VvI3-0/s1600/55.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574252262340062722" src="http://2.bp.blogspot.com/-siicudDvddI/TVu45iEybgI/AAAAAAAAAsI/yA2S4VvI3-0/s320/55.JPG" style="cursor: pointer; height: 200px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;gt;&amp;gt; Press the Menu key on the interface and then click on  poc, user would see below screen:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-sbTFOXwrzb0/TVu5LB0_EpI/AAAAAAAAAsQ/WtuCPsELu7s/s1600/56.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574252562921493138" src="http://1.bp.blogspot.com/-sbTFOXwrzb0/TVu5LB0_EpI/AAAAAAAAAsQ/WtuCPsELu7s/s320/56.JPG" style="cursor: pointer; height: 320px; width: 276px;" /&gt;&lt;/a&gt;&lt;br /&gt;&amp;gt;&amp;gt; If you launch the application then FoneMonkey with  above four buttons appear on the screen, now using Record button you can  record/play the recorded script.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is the link to access next blog on same topic:&lt;br /&gt;&lt;a href="http://time2testblog.blogspot.com/2011/02/selenium-2-with-iphone-part5.html"&gt;http://time2testblog.blogspot.com/2011/02/selenium-2-with-iphone-part5.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8604080787354001382-4148972494977026630?l=time2testblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://time2testblog.blogspot.com/feeds/4148972494977026630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/4148972494977026630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/4148972494977026630'/><link rel='alternate' type='text/html' href='http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part4.html' title='Selenium 2 testing with iPhone - Part4'/><author><name>vipin gupta</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-siicudDvddI/TVu45iEybgI/AAAAAAAAAsI/yA2S4VvI3-0/s72-c/55.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8604080787354001382.post-8905585839906171940</id><published>2011-02-23T14:44:00.000Z</published><updated>2011-02-27T11:21:27.851Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='guide'/><category scheme='http://www.blogger.com/atom/ns#' term='iphone'/><title type='text'>Selenium 2 testing with iPhone - Part3</title><content type='html'>&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Testing of iPhone application with  FoneMonkey on MAC:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The iPhone does not yet allow installation  of user-defined frameworks, so FoneMonkey is distributed as a static library  along with the image files and nibs required by the FoneMonkey user interface.  FoneMonkey.zip contains libFoneMonkey.a as well as a bunch of png and xib files.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The zip file does not include the FoneMonkey source code, which we'll be  releasing when we officially launch the FoneMonkey open source project in  mid-January, 2010 (ie, just a few weeks from now!). At that time we'll be going  live with a community forum as well. Until then, please post questions or  comments to this blog.&lt;br /&gt;&lt;br /&gt;To get started using FoneMonkey, download the zip  file and extract the FoneMonkey distribution folder. Then follow the  instructions below.&lt;br /&gt;I have downloaded an iPhone application from internet,  the same project I am using in the below step by step example:&lt;br /&gt;&lt;br /&gt;1. Open your application's  project in xcode. Here into the captured screen shot MoveMe is the iPhone  project. Under the parent project folder, you would see MoveMe.xcodeproj, we  need to open it into xcode with help of double click:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-YhnCiEiKK3Q/TVu0x_p-FqI/AAAAAAAAApo/9fICqnTwr-Y/s1600/36.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574247734795179682" src="http://3.bp.blogspot.com/-YhnCiEiKK3Q/TVu0x_p-FqI/AAAAAAAAApo/9fICqnTwr-Y/s320/36.JPG" style="cursor: pointer; height: 186px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Duplicate your application's build target by right-clicking on it and  selecting Duplicate from the menu. A new target will be created called “MoveMe  Copy”. Here below is the screen in which you see “Duplicate” option, choose it:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-mFPH4YXwlk4/TVu08HamhVI/AAAAAAAAApw/4p0aeYjeli8/s1600/37.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574247908676896082" src="http://4.bp.blogspot.com/-mFPH4YXwlk4/TVu08HamhVI/AAAAAAAAApw/4p0aeYjeli8/s320/37.JPG" style="cursor: pointer; height: 200px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. Rename MoveMe Copy to something like MoveMeTest.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-xUAXqCul_s4/TVu1HMH150I/AAAAAAAAAp4/6mj6SRKihXw/s1600/38.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574248098918950722" src="http://3.bp.blogspot.com/-xUAXqCul_s4/TVu1HMH150I/AAAAAAAAAp4/6mj6SRKihXw/s320/38.JPG" style="cursor: pointer; height: 227px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4. Add the downloaded FoneMonkey folder to your project by right-clicking on  the project and selecting Add &amp;gt; Existing Files... from the menu. Navigate  to the FoneMonkey folder, select it, and click the Add button.As into the below  screen you see FoneMonkey folder which you get after un-compressing FoneMonkey  zip file.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-0kj0vFmzIzI/TVu1V62gTLI/AAAAAAAAAqA/5RrKP-ZmRQs/s1600/39.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574248351980866738" src="http://1.bp.blogspot.com/-0kj0vFmzIzI/TVu1V62gTLI/AAAAAAAAAqA/5RrKP-ZmRQs/s320/39.JPG" style="cursor: pointer; height: 186px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5. When the dialog box appears, select the Recursively create groups for  any added folders option.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-BWrWh6rsu5I/TVu1dveotvI/AAAAAAAAAqI/gttFtnv1pCc/s1600/40.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574248486366918386" src="http://4.bp.blogspot.com/-BWrWh6rsu5I/TVu1dveotvI/AAAAAAAAAqI/gttFtnv1pCc/s320/40.JPG" style="cursor: pointer; height: 187px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;6. In the Add to Targets box, deselect MoveMe and select MoveMe TEST.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-oTi1g_mX07Q/TVu1mcsTr3I/AAAAAAAAAqQ/qyBUcaNSStc/s1600/41.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574248635942809458" src="http://2.bp.blogspot.com/-oTi1g_mX07Q/TVu1mcsTr3I/AAAAAAAAAqQ/qyBUcaNSStc/s320/41.JPG" style="cursor: pointer; height: 187px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;7. Click Add.&lt;br /&gt;&lt;br /&gt;8. Right-click on the YourAppTest build target and  select Get Info from the menu.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-EmMDc7kFB0g/TVu1zchLgGI/AAAAAAAAAqY/3RSUXgd3sYc/s1600/42.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574248859234435170" src="http://2.bp.blogspot.com/-EmMDc7kFB0g/TVu1zchLgGI/AAAAAAAAAqY/3RSUXgd3sYc/s320/42.JPG" style="cursor: pointer; height: 200px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;9. On the General tab, delete libFoneMonkey.a from the Linked Libraries.  You will need to add CoreGraphics.framework and QuartzCore.framework to the  Linked Libraries list they aren't already there. Go with the below screens:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-lSRmphnFn-8/TVu1_e7FzsI/AAAAAAAAAqg/BuvaiZP6Mvk/s1600/43.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574249066038415042" src="http://4.bp.blogspot.com/-lSRmphnFn-8/TVu1_e7FzsI/AAAAAAAAAqg/BuvaiZP6Mvk/s320/43.JPG" style="cursor: pointer; height: 300px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-vK8oVV3WSe0/TVu2HpupWEI/AAAAAAAAAqo/M6hgkWEVba8/s1600/44.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574249206377961538" src="http://1.bp.blogspot.com/-vK8oVV3WSe0/TVu2HpupWEI/AAAAAAAAAqo/M6hgkWEVba8/s320/44.JPG" style="cursor: pointer; height: 300px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-WipvRfzTS6o/TVu2Pnf3yJI/AAAAAAAAAqw/o0fo53fSvOk/s1600/45.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574249343218075794" src="http://3.bp.blogspot.com/-WipvRfzTS6o/TVu2Pnf3yJI/AAAAAAAAAqw/o0fo53fSvOk/s320/45.JPG" style="cursor: pointer; height: 300px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;10. On the Build tab, scroll down to the Linking section and click on the  Other Linker Flags setting. When the dialog box appears, enter:&lt;br /&gt;&lt;br /&gt;-ObjC  -lFoneMonkey -LFoneMonkey/lib -all_load&lt;br /&gt;See the below screens:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-DNsiPEde6s4/TVu3U8a1lMI/AAAAAAAAAq4/lKntFz1Vybg/s1600/46.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574250534245078210" src="http://2.bp.blogspot.com/-DNsiPEde6s4/TVu3U8a1lMI/AAAAAAAAAq4/lKntFz1Vybg/s320/46.JPG" style="cursor: pointer; height: 300px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-RBv_fUCg8GA/TVu3fmtVWXI/AAAAAAAAArA/uat8A_dO9Jc/s1600/47.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574250717395638642" src="http://1.bp.blogspot.com/-RBv_fUCg8GA/TVu3fmtVWXI/AAAAAAAAArA/uat8A_dO9Jc/s320/47.JPG" style="cursor: pointer; height: 180px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-O3xwR30axk4/TVu3ovzCQuI/AAAAAAAAArI/_xhl13Pls3k/s1600/48.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574250874454295266" src="http://2.bp.blogspot.com/-O3xwR30axk4/TVu3ovzCQuI/AAAAAAAAArI/_xhl13Pls3k/s320/48.JPG" style="cursor: pointer; height: 180px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;11. Dismiss the project Info window.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-9J2wO7ldnXM/TVu30AJryPI/AAAAAAAAArQ/hbHneYFaOd4/s1600/49.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574251067822819570" src="http://1.bp.blogspot.com/-9J2wO7ldnXM/TVu30AJryPI/AAAAAAAAArQ/hbHneYFaOd4/s320/49.JPG" style="cursor: pointer; height: 300px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;12. Right-click on MoveMe Test build target and select Clean from the menu.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-X3cdowi5VTY/TVu4BCQWC2I/AAAAAAAAArY/V4gBGCvB4UI/s1600/50.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574251291725925218" src="http://4.bp.blogspot.com/-X3cdowi5VTY/TVu4BCQWC2I/AAAAAAAAArY/V4gBGCvB4UI/s320/50.JPG" style="cursor: pointer; height: 200px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;13. Right-click on MoveMe Test build target again and select Build and  Debug from the menu.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-FwgI7KxBGDU/TVu4KGWEjEI/AAAAAAAAArg/D0MEJ5eusRY/s1600/51.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574251447442508866" src="http://2.bp.blogspot.com/-FwgI7KxBGDU/TVu4KGWEjEI/AAAAAAAAArg/D0MEJ5eusRY/s320/51.JPG" style="cursor: pointer; height: 180px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;14. We get some errors as into the below screens:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-ZfnauHNMjeU/TVu4SG-JwZI/AAAAAAAAAro/c2GD9GgW6Sw/s1600/52.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574251585049575826" src="http://3.bp.blogspot.com/-ZfnauHNMjeU/TVu4SG-JwZI/AAAAAAAAAro/c2GD9GgW6Sw/s320/52.JPG" style="cursor: pointer; height: 278px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The above error you can remove if you again go with Project Info window  and sets your iPhone Simulator correctly as into the below screen:&lt;br /&gt;Base SDK:  iPhone Simulator 3.1.2&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-xRuSLendw00/TVu4eJ9RaxI/AAAAAAAAArw/1hYhqX5okFw/s1600/53.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574251792009620242" src="http://3.bp.blogspot.com/-xRuSLendw00/TVu4eJ9RaxI/AAAAAAAAArw/1hYhqX5okFw/s320/53.JPG" style="cursor: pointer; height: 300px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;15. After this if you again perform step 13, then you would see that  above coming error has been removed, but as the downloaded project has still  some code error that’s why you would get some real compilation errors, as into  the below screen:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-OladyzDV8y4/TVu4upcRO6I/AAAAAAAAAsA/uHrGPchPsvI/s1600/54.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574252075339037602" src="http://1.bp.blogspot.com/-OladyzDV8y4/TVu4upcRO6I/AAAAAAAAAsA/uHrGPchPsvI/s320/54.JPG" style="cursor: pointer; height: 278px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;16. In the above screen there are 7 compilation errors, if they don’t  occur in case codes were correct then you would get following response:&lt;br /&gt;&amp;gt;&amp;gt; Application should start in the simulator. Immediately  after it displays, the FoneMonkey console should drop down over it.&lt;br /&gt;&lt;br /&gt;Here is the link to access next blog on same topic:&lt;br /&gt;&lt;a href="http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part4.html"&gt;http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part4.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8604080787354001382-8905585839906171940?l=time2testblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://time2testblog.blogspot.com/feeds/8905585839906171940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/8905585839906171940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/8905585839906171940'/><link rel='alternate' type='text/html' href='http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part3.html' title='Selenium 2 testing with iPhone - Part3'/><author><name>vipin gupta</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-YhnCiEiKK3Q/TVu0x_p-FqI/AAAAAAAAApo/9fICqnTwr-Y/s72-c/36.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8604080787354001382.post-3311169129616185731</id><published>2011-02-23T14:28:00.000Z</published><updated>2011-04-13T16:01:30.130+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='video'/><category scheme='http://www.blogger.com/atom/ns#' term='guide'/><category scheme='http://www.blogger.com/atom/ns#' term='iphone'/><title type='text'>Selenium 2 testing with iPhone - Part2</title><content type='html'>&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;How to locally setup iphonedriver/webdriver under Selenium 2?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;Working with Web Driver: &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;WebDriver uses a  different underlying framework from Selenium’s javascript Selenium-Core. It also  provides an alternative API with functionality not supported in Selenium-RC.  WebDriver does not depend on a javascript core embedded within the browser,  therefore it is able to avoid some long-running Selenium limitations.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;WebDriver’s goal is to provide an API that establishes&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;• A well-designed  standard programming interface for web-app testing.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;• Improved consistency  between browsers.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;• Additional functionality addressing testing problems not  well-supported in Selenium 1.0.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Download the binary file from  http://code.google.com/p/selenium/downloads/list link. Unzip the downloaded  ‘selenium-java-2.0a6.zip’ file and save it into your hard disk.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-GFRfym41UOo/TVumWO7khfI/AAAAAAAAAl4/PN3QPxU18xk/s1600/7.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574231864696407538" src="http://2.bp.blogspot.com/-GFRfym41UOo/TVumWO7khfI/AAAAAAAAAl4/PN3QPxU18xk/s320/7.JPG" style="cursor: pointer; height: 177px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Unzipped folder contains the jar files.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-blW4fcIpHvU/TVumhg8BJNI/AAAAAAAAAmA/m1lrz4XZQr8/s1600/8.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574232058508682450" src="http://1.bp.blogspot.com/-blW4fcIpHvU/TVumhg8BJNI/AAAAAAAAAmA/m1lrz4XZQr8/s320/8.JPG" style="cursor: pointer; height: 177px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Launch Eclipse exe, if you launch first time on your box then user  would see the following screen, enter your workspace location and click Ok&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-2-9tVd7ECI8/TVumucfIScI/AAAAAAAAAmI/A9PTq8bSoDc/s1600/9.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574232280652073410" src="http://3.bp.blogspot.com/-2-9tVd7ECI8/TVumucfIScI/AAAAAAAAAmI/A9PTq8bSoDc/s320/9.JPG" style="cursor: pointer; height: 180px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;• Eclipse screen is following:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-9EnLelD-vaM/TVum5Z_6suI/AAAAAAAAAmQ/zcbObJdbaxA/s1600/10.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574232468962849506" src="http://1.bp.blogspot.com/-9EnLelD-vaM/TVum5Z_6suI/AAAAAAAAAmQ/zcbObJdbaxA/s320/10.JPG" style="cursor: pointer; height: 230px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;• Select File &amp;gt; New &amp;gt; Java  Project.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-5jS9FcEUXjI/TVunkzPUQ6I/AAAAAAAAAmY/OJzINH3dI2U/s1600/11.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574233214472700834" src="http://1.bp.blogspot.com/-5jS9FcEUXjI/TVunkzPUQ6I/AAAAAAAAAmY/OJzINH3dI2U/s320/11.JPG" style="cursor: pointer; height: 196px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;• Provide Name to your project,  Select JDK in ‘Use a project Specific JRE’ option (JRE6 selected in this  example) &amp;gt; click Next then Finish.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-q9lPgTK63jE/TVuntmlrN6I/AAAAAAAAAmg/97rcp6pxGjA/s1600/12.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574233365695641506" src="http://3.bp.blogspot.com/-q9lPgTK63jE/TVuntmlrN6I/AAAAAAAAAmg/97rcp6pxGjA/s320/12.JPG" style="cursor: pointer; height: 320px; width: 294px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Keep ‘JAVA Settings’ intact in next window. Project specific libraries  can be added here, this would create project Demo in Package Explorer/Navigator  pane&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-nOddjo47XHg/TVun4dgrpmI/AAAAAAAAAmo/a9WvpkCPzdI/s1600/13.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574233552237340258" src="http://2.bp.blogspot.com/-nOddjo47XHg/TVun4dgrpmI/AAAAAAAAAmo/a9WvpkCPzdI/s320/13.JPG" style="cursor: pointer; height: 177px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;• Right click on src folder  and click on New &amp;gt; Folder, name this folder com and finish&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-LBd6VtuMfYw/TVuoB05P0rI/AAAAAAAAAmw/8j3op4efzGI/s1600/14.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574233713133212338" src="http://4.bp.blogspot.com/-LBd6VtuMfYw/TVuoB05P0rI/AAAAAAAAAmw/8j3op4efzGI/s320/14.JPG" style="cursor: pointer; height: 289px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;• This should get com package inside src folder.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-EP-A6fgTZFU/TVuoNVeYB2I/AAAAAAAAAm4/yA6l_UuZtOU/s1600/15.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574233910857434978" src="http://3.bp.blogspot.com/-EP-A6fgTZFU/TVuoNVeYB2I/AAAAAAAAAm4/yA6l_UuZtOU/s320/15.JPG" style="cursor: pointer; height: 177px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;• Following the same steps  create core folder inside com.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-fTBTxHPpYb0/TVuoYPBpYCI/AAAAAAAAAnA/zsvAPxbt1vU/s1600/16.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574234098104885282" src="http://3.bp.blogspot.com/-fTBTxHPpYb0/TVuoYPBpYCI/AAAAAAAAAnA/zsvAPxbt1vU/s320/16.JPG" style="cursor: pointer; height: 177px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;• Following the same steps create tests folder inside core&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-hT4aIMlm8H8/TVuoiQ-0ZMI/AAAAAAAAAnI/oWWZ7RXVErA/s1600/17.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574234270428587202" src="http://3.bp.blogspot.com/-hT4aIMlm8H8/TVuoiQ-0ZMI/AAAAAAAAAnI/oWWZ7RXVErA/s320/17.JPG" style="cursor: pointer; height: 177px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Create a folder called lib inside project Demo. Right click on Project  name &amp;gt; New &amp;gt; Folder. This is a place holder for jar files to  project (i.e. Selenium client driver, selenium server etc).&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-y4-LPqAnBXg/TVuovTTTnfI/AAAAAAAAAnQ/TsIhllcEvbg/s1600/18.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574234494389689842" src="http://2.bp.blogspot.com/-y4-LPqAnBXg/TVuovTTTnfI/AAAAAAAAAnQ/TsIhllcEvbg/s320/18.JPG" style="cursor: pointer; height: 289px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;• This would create lib folder in project directory.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-0xPz-3MMjkQ/TVuo4vovHII/AAAAAAAAAnY/Hhn87-hcG-s/s1600/19.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574234656614587522" src="http://3.bp.blogspot.com/-0xPz-3MMjkQ/TVuo4vovHII/AAAAAAAAAnY/Hhn87-hcG-s/s320/19.JPG" style="cursor: pointer; height: 177px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;• Right click on lib folder  &amp;gt; Build Path &amp;gt;Configure build Path&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-k7MF2Jvvh4c/TVupGIUehEI/AAAAAAAAAng/16zBAUe6nhk/s1600/20.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574234886578799682" src="http://4.bp.blogspot.com/-k7MF2Jvvh4c/TVupGIUehEI/AAAAAAAAAng/16zBAUe6nhk/s320/20.JPG" style="cursor: pointer; height: 192px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Under Library tab click on Add  External Jars to navigate to directory where jar files are saved. Select the jar  files which are to be added and click on Open button.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-bVxxHgXbrLo/TVup92pRo9I/AAAAAAAAAno/Rv4KA-Marb0/s1600/21.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574235843906872274" src="http://2.bp.blogspot.com/-bVxxHgXbrLo/TVup92pRo9I/AAAAAAAAAno/Rv4KA-Marb0/s320/21.JPG" style="cursor: pointer; height: 261px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Click on Add External jars button and add  “selenium-java-client-driver.jar”, “junit.jar” and all the jar files of  ‘selenium-java-2.0a6’ folder from your system. User would see following screen,  now click Ok button:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-KHO0B3cMlQM/TVuqOGE-6xI/AAAAAAAAAnw/V15zQNmAB2Y/s1600/22.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574236122927524626" src="http://4.bp.blogspot.com/-KHO0B3cMlQM/TVuqOGE-6xI/AAAAAAAAAnw/V15zQNmAB2Y/s320/22.JPG" style="cursor: pointer; height: 177px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;• Right click on com.core.tests folder, click  New&amp;gt;&amp;gt;Class&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-ZrletOTQlx8/TVuqi6EQRpI/AAAAAAAAAn4/k69Tgi16pFg/s1600/23.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574236480480495250" src="http://1.bp.blogspot.com/-ZrletOTQlx8/TVuqi6EQRpI/AAAAAAAAAn4/k69Tgi16pFg/s320/23.JPG" style="cursor: pointer; height: 192px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Give a class name like into the  following screen and click Finish button:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-5mh2L1CGCCU/TVutRfC7kgI/AAAAAAAAAoA/CBfsHPCEDXM/s1600/24.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574239479704293890" src="http://2.bp.blogspot.com/-5mh2L1CGCCU/TVutRfC7kgI/AAAAAAAAAoA/CBfsHPCEDXM/s320/24.JPG" style="cursor: pointer; height: 299px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Paste the following codes&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;package com.core.tests;import org.openqa.selenium.By;import org.openqa.selenium.WebDriver;import org.openqa.selenium.WebElement;import org.openqa.selenium.htmlunit.HtmlUnitDriver; public class Example  {public static void main(String[] args) {// Create a new instance of the html unit driver// Notice that the remainder of the code relies on the interface,// not the implementation.WebDriver driver = new HtmlUnitDriver();// And now use this to visit Googledriver.get("http://www.google.com");// Find the text input element by its nameWebElement element = driver.findElement(By.name("q"));// Enter something to search forelement.sendKeys("Cheese!");// Now submit the form. WebDriver will find the form for us from the elementelement.submit();// Check the title of the pageSystem.out.println("Page title is: " + driver.getTitle());}}&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-EKtKwDcZdVM/TVutc2D14iI/AAAAAAAAAoI/vFMY7cVMHAE/s1600/25.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574239674860692002" src="http://2.bp.blogspot.com/-EKtKwDcZdVM/TVutc2D14iI/AAAAAAAAAoI/vFMY7cVMHAE/s320/25.JPG" style="cursor: pointer; height: 177px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Open a Command Prompt and go to the following location.  C:\selenium-rc\selenium-server-1.0.3&lt;br /&gt;Launch selenium rc server as in  following screen using&lt;br /&gt;java –jar selenium-server.jar&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-nbF-_X722r0/TVutoXJLRUI/AAAAAAAAAoQ/tk4-8RxEWOw/s1600/26.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574239872719996226" src="http://2.bp.blogspot.com/-nbF-_X722r0/TVutoXJLRUI/AAAAAAAAAoQ/tk4-8RxEWOw/s320/26.JPG" style="cursor: pointer; height: 172px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Right click on the test, and Run &amp;gt;&amp;gt; Run Configuration&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-YldL58j-NSw/TVut0EzKVhI/AAAAAAAAAoY/lO3QFLFdwHs/s1600/27.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574240073954252306" src="http://4.bp.blogspot.com/-YldL58j-NSw/TVut0EzKVhI/AAAAAAAAAoY/lO3QFLFdwHs/s320/27.JPG" style="cursor: pointer; height: 192px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;• Click on RUN button to run the  test&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-a_rKtC6Xvbk/TVux8MH-WRI/AAAAAAAAAoo/BkAnvv51E4A/s1600/28.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574244611406059794" src="http://4.bp.blogspot.com/-a_rKtC6Xvbk/TVux8MH-WRI/AAAAAAAAAoo/BkAnvv51E4A/s320/28.JPG" style="cursor: pointer; height: 256px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;• You would see the following screen&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-57ccnpR0GUQ/TVuyJ2UIU6I/AAAAAAAAAow/MNf4XWpwmgA/s1600/29.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574244846069633954" src="http://1.bp.blogspot.com/-57ccnpR0GUQ/TVuyJ2UIU6I/AAAAAAAAAow/MNf4XWpwmgA/s320/29.JPG" style="cursor: pointer; height: 177px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example2:&lt;br /&gt;• Paste  the following codes&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;package com.core.tests;import java.util.List;import org.openqa.selenium.By;import org.openqa.selenium.WebDriver;import org.openqa.selenium.RenderedWebElement;import org.openqa.selenium.WebElement;import org.openqa.selenium.firefox.FirefoxDriver;public class Example {public static void main(String[] args) throws Exception {// The Firefox driver supports javascriptWebDriver driver = new FirefoxDriver();// Go to the Google Suggest home pagedriver.get("http://www.google.com/webhp?complete=1&amp;amp;hl=en");// Enter the query string "Cheese"WebElement query = driver.findElement(By.name("q"));query.sendKeys("Cheese");// Sleep until the div we want is visible or 5 seconds is overlong end = System.currentTimeMillis() + 5000;while (System.currentTimeMillis() &amp;lt; end) {// Browsers which render content (such as Firefox and IE)// return "RenderedWebElements"RenderedWebElement resultsDiv = (RenderedWebElement) driver.findElement(By.className("gac_m"));// If results have been returned,// the results are displayed in a drop down.if (resultsDiv.isDisplayed()) {break;}}// And now list the suggestionsList&amp;lt;WebElement&amp;gt; allSuggestions = driver.findElements(By.xpath("//td[@class='gac_c']"));for (WebElement suggestion : allSuggestions) {System.out.println(suggestion.getText());}}}&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-xl1YR1SoadA/TVuyaSG8PSI/AAAAAAAAAo4/CvozQY5xExA/s1600/30.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574245128408415522" src="http://3.bp.blogspot.com/-xl1YR1SoadA/TVuyaSG8PSI/AAAAAAAAAo4/CvozQY5xExA/s320/30.JPG" style="cursor: pointer; height: 177px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;• Open a Command Prompt and go to the following location.  C:\selenium-rc\selenium-server-1.0.3&lt;br /&gt;Launch selenium rc server as in  following screen using&lt;br /&gt;java –jar selenium-server.jar&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-oeQ03oxGRcU/TVuyq0KcGRI/AAAAAAAAApA/_4okPorLd8M/s1600/31.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574245412427798802" src="http://1.bp.blogspot.com/-oeQ03oxGRcU/TVuyq0KcGRI/AAAAAAAAApA/_4okPorLd8M/s320/31.JPG" style="cursor: pointer; height: 172px; width: 320px;" /&gt;&lt;/a&gt;•&lt;br /&gt;Run the above test&lt;br /&gt;• You would see the output screen will look like  following screen:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-djv9Un_OWuc/TVuy-Ux8QDI/AAAAAAAAApI/I86KreTKM98/s1600/32.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574245747600932914" src="http://3.bp.blogspot.com/-djv9Un_OWuc/TVuy-Ux8QDI/AAAAAAAAApI/I86KreTKM98/s320/32.JPG" style="cursor: pointer; height: 223px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Working with iphone driver:&lt;br /&gt;&lt;br /&gt;The  iphone driver allows testing on a UIWebView on the iphone. It works through the  use of an iphone application running on your iphone, iPod touch or iphone  simulator.&lt;br /&gt;I have compiled the following code which basically does a simple  Google search.&lt;br /&gt;I am assuming that above environment is already setup in your  Eclipse IDE now go through the below instructions.&lt;br /&gt;Next, create a file into  your C drive called “url.properties” and add the following values.&lt;br /&gt;com.bt.url&lt;br /&gt;com.bt.auturl&lt;br /&gt;• Copy the following code:&lt;br /&gt;&lt;pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;"&gt;&lt;code&gt;package com.core.tests;Import org.openqa.selenium.By;import org.openqa.selenium.WebDriver;import org.openqa.selenium.WebElement;import org.openqa.selenium.iphone.IPhoneDriver;import java.util.Properties;public class Example {public static void main(String[] args) throws Exception {Properties p = new java.util.Properties();p.load(new java.io.FileInputStream("c:\\url.properties"));String url = p.getProperty("com.bt.url");System.out.println("Connecting to iWebDriver on: " + url);WebDriver driver = new IPhoneDriver(url);driver.get(p.getProperty("com.bt.auturl"));WebElement element = driver.findElement(By.name("q"));element.sendKeys("Selenium");element.submit();// Simple outputSystem.out.println("Page title is: " + driver.getTitle() + "\n");System.out.println("Page URL is: " + driver.getCurrentUrl() +   "\n");}}&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Next,  create a file called “url.properties” and add the following values.&lt;br /&gt;com.bt.url&lt;br /&gt;com.bt.auturl&lt;br /&gt;The first key defines where iWebDriver  sits. The second key defines the google URL.&lt;br /&gt;Finally run the following  commands (UNIX Only. I guess you can use cygwin32)&lt;br /&gt;See below screen:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-dent3gReHR8/TVuzOddwTGI/AAAAAAAAApQ/W1urSGHXbAo/s1600/33.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574246024810089570" src="http://3.bp.blogspot.com/-dent3gReHR8/TVuzOddwTGI/AAAAAAAAApQ/W1urSGHXbAo/s320/33.JPG" style="cursor: pointer; height: 253px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;# UNIX based systems is a hell of a lot nicer for java because you don't  need to type&lt;br /&gt;# in all the jar files or update classpaths. But then again its  my preference.&lt;br /&gt;# Compiling it&lt;br /&gt;javac -cp `find . -name "*.jar" xargs sed  's/ /:/g;s/.\///g;'`:. ClassSource.java&lt;br /&gt;# Running it&lt;br /&gt;java -cp `find .  -name "*.jar" xargs sed 's/ /:/g;s/.\///g;'`:. ClassName&lt;br /&gt;output It will then  run and produce some telling you about the page. You will also see it navigate  through the page on the iWebDriver application (It’s open source so you can even  hack away at the code there to customize it to your liking).&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-J4c7V3q7zH0/TVuz0cyA0qI/AAAAAAAAApY/zX3XBn6fHj4/s1600/34.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574246677461652130" src="http://3.bp.blogspot.com/-J4c7V3q7zH0/TVuz0cyA0qI/AAAAAAAAApY/zX3XBn6fHj4/s320/34.JPG" style="cursor: pointer; height: 177px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;• Run the above example&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/-_rsIjD0BAek/TVu0FjmcRUI/AAAAAAAAApg/8uNbhJCyDHc/s1600/35.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574246971349943618" src="http://4.bp.blogspot.com/-_rsIjD0BAek/TVu0FjmcRUI/AAAAAAAAApg/8uNbhJCyDHc/s320/35.JPG" style="cursor: pointer; height: 177px; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We are facing the following red errors and need to resolve it:&lt;br /&gt;Exception in thread "main" org.openqa.selenium.WebDriverException:&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: js"&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;&amp;lt;TITLE&amp;gt;Internal Server Error&amp;lt;/TITLE&amp;gt;&lt;br /&gt;&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt;&lt;br /&gt;&amp;lt;H1&amp;gt;Internal Server Error - Read&amp;lt;/H1&amp;gt;&lt;br /&gt;The server encountered an internal error or misconfiguration and was unable tocomplete your request.&lt;br /&gt;&amp;lt;P&amp;gt;Reference&amp;amp;#32;&amp;amp;#35;3&amp;amp;#46;b232287c&amp;amp;#46;1287409401&amp;amp;#46;3784817&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is the link to access next blog on same topic:&lt;br /&gt;&lt;a href="http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part3.html"&gt;http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part3.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is the embedded video file:&lt;br /&gt;&lt;object height="395" width="480"&gt;&lt;param name="movie" value="http://www.dailymotion.com/swf/video/xh6vij?theme=none"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;/param&gt;&lt;embed type="application/x-shockwave-flash" src="http://www.dailymotion.com/swf/video/xh6vij?theme=none" width="480" height="395" allowfullscreen="true" allowscriptaccess="always"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://www.dailymotion.com/video/xh6vij_seleniumwithiphone-part2_tech" target="_blank"&gt;SeleniumWithiPhone-part2&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Uploaded by &lt;a href="http://www.dailymotion.com/vipingupta" target="_blank"&gt;vipingupta&lt;/a&gt;. - &lt;a href="http://www.dailymotion.com/in/channel/tech" target="_blank"&gt;Explore more science and tech videos.&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;Jump to:&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif; font-weight: bold; line-height: 18px;"&gt;What can you &amp;nbsp;learn?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Georgia, 'Times New Roman', serif; line-height: 18px;"&gt;&lt;a href="http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part1.html"&gt;PART 1 - How to setup the iPhone simulator on your local box?&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Georgia, 'Times New Roman', serif; line-height: 18px;"&gt;&lt;a href="http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part2.html"&gt;PART 2 - How to setup drivers like iphonedriver/webdriver under Selenium2.0?&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Georgia, 'Times New Roman', serif; line-height: 18px;"&gt;&lt;a href="http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part3.html"&gt;PART 3 - Testing of iPhone application with FoneMonkey on MAC&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Georgia, 'Times New Roman', serif; line-height: 18px;"&gt;&lt;a href="http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part4.html"&gt;PART 4 - Recording and playing back tests with FoneMonkey&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Georgia, 'Times New Roman', serif; line-height: 18px;"&gt;&lt;a href="http://time2testblog.blogspot.com/2011/02/selenium-2-with-iphone-part5.html"&gt;PART 5 - Testing of iPhone Simulator into Firefox mode with Selenium IDE&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Georgia, 'Times New Roman', serif; line-height: 18px;"&gt;&lt;a href="http://time2testblog.blogspot.com/2011/02/selenium-2-with-iphone-part6.html"&gt;PART 6 - How to set up Android in Eclipse IDE&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8604080787354001382-3311169129616185731?l=time2testblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://time2testblog.blogspot.com/feeds/3311169129616185731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part2.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/3311169129616185731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/3311169129616185731'/><link rel='alternate' type='text/html' href='http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part2.html' title='Selenium 2 testing with iPhone - Part2'/><author><name>vipin gupta</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-GFRfym41UOo/TVumWO7khfI/AAAAAAAAAl4/PN3QPxU18xk/s72-c/7.JPG' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8604080787354001382.post-7449229051945089107</id><published>2011-02-01T15:53:00.000Z</published><updated>2011-12-20T15:16:57.024Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='video'/><category scheme='http://www.blogger.com/atom/ns#' term='guide'/><category scheme='http://www.blogger.com/atom/ns#' term='selenium2'/><category scheme='http://www.blogger.com/atom/ns#' term='iphone'/><title type='text'>Selenium 2 testing with iPhone - Part1</title><content type='html'>&lt;h1 align="center" style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;span style="color: #3333ff; font-size: 27px; font-weight: bold;"&gt;Selenium 2 with iPhone - PART 1&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;The p&lt;span style="line-height: 18px;"&gt;urpose of this blog guide is to give an interactive overview using step by step instructions and videos and code snippets on &amp;nbsp;how you can &amp;nbsp;perform iPhone automated testing with Selenium. The guide is split into &amp;nbsp;6 different parts.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;What can you &amp;nbsp;learn?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: Georgia, 'Times New Roman', serif; line-height: 18px;"&gt;&lt;a href="http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part1.html"&gt;PART 1 - How to setup the iPhone simulator on your local box?&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Georgia, 'Times New Roman', serif; line-height: 18px;"&gt;&lt;a href="http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part2.html"&gt;PART 2 - How to setup drivers like iphonedriver/webdriver under Selenium2.0?&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Georgia, 'Times New Roman', serif; line-height: 18px;"&gt;&lt;a href="http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part3.html"&gt;PART 3 - Testing of iPhone application with FoneMonkey on MAC&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Georgia, 'Times New Roman', serif; line-height: 18px;"&gt;&lt;a href="http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part4.html"&gt;PART 4 - Recording and playing back tests with FoneMonkey&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Georgia, 'Times New Roman', serif; line-height: 18px;"&gt;&lt;a href="http://time2testblog.blogspot.com/2011/02/selenium-2-with-iphone-part5.html"&gt;PART 5 - Testing of iPhone Simulator into Firefox mode with Selenium IDE&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Georgia, 'Times New Roman', serif; line-height: 18px;"&gt;&lt;a href="http://time2testblog.blogspot.com/2011/02/selenium-2-with-iphone-part6.html"&gt;PART 6 - How to set up Android in Eclipse IDE&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;h1 align="center" style="text-align: center;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=8604080787354001382&amp;amp;postID=6286511236856891444" name="_Toc275543111"&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=8604080787354001382&amp;amp;postID=6286511236856891444" name="_Toc275445032"&gt;&lt;/a&gt;&lt;/h1&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px;"&gt;&lt;b&gt;How to setup of iPhone simulator on our local box and work with it?&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;1. Download DesktopiPhone.air, you can download it from “http://www.adobe.com/cfusion/marketplace/index.cfm?event=marketplace.offering&amp;amp;offeringID=10250&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;2. Double click on the installer, see the below screen&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;a href="http://2.bp.blogspot.com/-hbvEf6uIYZw/TVulJ7pNGEI/AAAAAAAAAlA/92qXhSn3R9M/s1600/1.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574230553849043010" src="http://2.bp.blogspot.com/-hbvEf6uIYZw/TVulJ7pNGEI/AAAAAAAAAlA/92qXhSn3R9M/s320/1.JPG" style="cursor: pointer; height: 208px; width: 320px;" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;3. You would see the below screen, click on Install&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;a href="http://2.bp.blogspot.com/-pWk6MCbUjw4/TVulTbp_CyI/AAAAAAAAAlI/jcxM04MC2W8/s1600/2.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574230717061073698" src="http://2.bp.blogspot.com/-pWk6MCbUjw4/TVulTbp_CyI/AAAAAAAAAlI/jcxM04MC2W8/s320/2.JPG" style="cursor: pointer; height: 198px; width: 320px;" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;4. Click Continue in the below installation screen,&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;a href="http://1.bp.blogspot.com/-N9cnsDKjOC8/TVuleSBeDGI/AAAAAAAAAlQ/miWITD1hHlM/s1600/3.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574230903453781090" src="http://1.bp.blogspot.com/-N9cnsDKjOC8/TVuleSBeDGI/AAAAAAAAAlQ/miWITD1hHlM/s320/3.JPG" style="cursor: pointer; height: 193px; width: 320px;" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;5. Click I Agree button into the below installation screen,&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;a href="http://2.bp.blogspot.com/-VphENE31M88/TVulxHr4NKI/AAAAAAAAAlY/vNSW87kEhX4/s1600/4.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574231227096380578" src="http://2.bp.blogspot.com/-VphENE31M88/TVulxHr4NKI/AAAAAAAAAlY/vNSW87kEhX4/s320/4.JPG" style="cursor: pointer; height: 212px; width: 320px;" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;6. After installation, launch the simulator from desktop shortcut&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;a href="http://3.bp.blogspot.com/-BfHAugWUoKk/TVumKsPvQnI/AAAAAAAAAlw/uOXKTDEK02s/s1600/6.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5574231666407195250" src="http://3.bp.blogspot.com/-BfHAugWUoKk/TVumKsPvQnI/AAAAAAAAAlw/uOXKTDEK02s/s320/6.JPG" style="cursor: pointer; height: 255px; width: 320px;" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Here is the link to PART 2:&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;a href="http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part2.html"&gt;http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part2.html&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;b&gt;Helpful Video:&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;object height="431" width="480"&gt;&lt;param name="movie" value="http://www.dailymotion.com/swf/video/xh63xa?theme=none"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed type="application/x-shockwave-flash" src="http://www.dailymotion.com/swf/video/xh63xa?theme=none" width="480" height="431" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;a href="http://www.dailymotion.com/video/xh63xa_seleniumwithiphone-part1_tech" target="_blank"&gt;SeleniumWithiPhone-part1&lt;/a&gt; &lt;i&gt;by &lt;a href="http://www.dailymotion.com/vipingupta" target="_blank"&gt;vipingupta&lt;/a&gt;&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8604080787354001382-7449229051945089107?l=time2testblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://time2testblog.blogspot.com/feeds/7449229051945089107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part1.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/7449229051945089107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8604080787354001382/posts/default/7449229051945089107'/><link rel='alternate' type='text/html' href='http://time2testblog.blogspot.com/2011/02/selenium-2-testing-with-iphone-part1.html' title='Selenium 2 testing with iPhone - Part1'/><author><name>Viresh Doshi</name><uri>http://www.blogger.com/profile/12565680926429946963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Po3KtPMJ55Y/Sw2DO-oS2LI/AAAAAAAACX8/amXJirTODDw/S220/You_on_transparent.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-hbvEf6uIYZw/TVulJ7pNGEI/AAAAAAAAAlA/92qXhSn3R9M/s72-c/1.JPG' height='72' width='72'/><thr:total>2</thr:total></entry></feed>
