package com.example;

import junit.framework.TestCase;

public class ProjectTest extends TestCase {

     public void testGoogle() {
          
             System.out.println("inside testGoogle");
        
            Actionwords action1 = new Actionwords();
            System.out.println(action1);
        
           action1.iOpenP1("http://www/google.com");
           System.out.println("after iOpenP1");
          
          action1.iSearchForP1("Hiptest");
          System.out.println("after iSearchForP1");
     }
}

@@ -97,245 +97,106 @@
 e %7B%0A
-%0A
      
-public void testGoogle() %7B%0A          %0A             System.out.println(%22inside testGoogle%22);%0A        %0A            Actionwords action1 = new Actionwords();%0A            System.out.println(action1);%0A        %0A           action1.iOpenP1(
+%0A     WebDriver driver=null;%0A     %0A     public void testP1(String p1) %0A%09%7B%0A%09     String url = 
 %22htt
@@ -202,17 +202,17 @@
 tp://www
-/
+.
 google.c
@@ -214,17 +214,16 @@
 gle.com%22
-)
 ;%0A      
@@ -230,157 +230,66 @@
     
- System.out.println(%22after iOpenP1%22);%0A          %0A          action1.iSearchForP1(%22Hiptest%22);%0A          System.out.println(%22after iSearchForP1%22);%0A     
+driver = new FirefoxDriver();%0A          driver.get(url);%0A%09
 %7D%0A%7D%0A

Update ProjectTest.java