Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6146491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:57:27+00:00 2026-05-23T18:57:27+00:00

I have everything installed and I am able to create and run tests in

  • 0

I have everything installed and I am able to create and run tests in NetBeans fine by right clicking the test in the project menu and selecting “Run”. The problem is that the browser windows opened for the test close immediately after the test is ran – meaning that the only reporting I have is what NetBeans provides and that’s not enough. I don’t think I want to use the command line, plus I haven’t had much success with it in the past anyways.

Is it possible to just point the browser at the test.php file? When i try to do that I get this error:

Fatal error: Class ‘PHPUnit_Framework_TestCase’ not found in C:\xampp\php\PEAR\PHPUnit\Extensions\SeleniumTestCase.php on line 275

Shouldn’t i be able to execute these test from a different machine? ie PC1 is my dedicated selenium test box and I want to tell it to run test.php from PC2 remotely.

Where should my test files go?

How do I customize the reporting/out put from the test script?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:57:28+00:00Added an answer on May 23, 2026 at 6:57 pm

    I found out how to run my test files remotely – i just created a script that would execute phpunit from the command line:

    <?php
    exec('c:\xampp\php\phpunit.bat c:\xampp\htdocs\selenium\testcases\newSeleneseTest.php', $output);
        echo "<pre>".  var_export($output,TRUE)."</pre>";
        exec('c:\xampp\php\phpunit.bat c:\xampp\htdocs\selenium\testcases\newSeleneseTest.php', $output);
        echo "<pre>".  var_export($output,TRUE)."</pre>";
        ?>
    

    then I can just hit the URL of that script to have it run – works great, but I still think there should be a better/easier way…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed Qt and Qt for VS plugin. Everything works fine, UI applications
I have fresh Rails 2.2 install, thing is that everything work fine until I
Rather than have everything in one big dialog, I'm looking at being able to
I'm building an ASP.Net MVC website. Rather than have everything in one project, I've
I have a website built on Joomla.Everything seemed to be going fine when all
I have wrote a custom MultipleChoiceField. I have everything working ok but when I
I am making a fighting game in Flash and while I have everything running,
I'm trying to do my initial upload to github. I think I have everything
I'm using prototype.js for my web app, and I have everything running on Chrome,
I have gotten everything working for my class in which I am using Tomcat

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.