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 7716795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:43:18+00:00 2026-06-01T02:43:18+00:00

I have extracted the following code from selenium IDE.(c# remote control) using System; using

  • 0

I have extracted the following code from selenium IDE.(c# remote control)

using System;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using NUnit.Framework;
using Selenium;

namespace SeleniumTests
{
[TestFixture]
public class MyFirstVCTest
{
    private ISelenium selenium;
    private StringBuilder verificationErrors;

    [Test]
    public void TheNewTest()
    {
        selenium.Open("/");
    } 

    [SetUp]
    public void SetupTest()
    {
        selenium = new DefaultSelenium("localhost", 4444, "*chrome","http://demo.volunteercampaigns.com/");
        selenium.Start();
        verificationErrors = new StringBuilder();
    }

    [TearDown]
    public void TeardownTest()
    {
        try
        {
            selenium.Stop();
        }
        catch (Exception)
        {
            // Ignore errors if unable to close the browser
        }
        Assert.AreEqual("", verificationErrors.ToString());
    }

    [Test]
    public void TheMyFirstVCTest()
    {
        selenium.Open("/?AspxAutoDetectCookieSupport=1");
        selenium.Click("link=Login");
        selenium.WaitForPageToLoad("30000");
        selenium.Type("id=ctl00_ContentPlaceHolder1_txtEmailAddress", "elonadminss@eeeorbees.com");
        selenium.Type("id=ctl00_ContentPlaceHolder1_txtPassword", "orbs123");
        selenium.Click("id=ctl00_ContentPlaceHolder1_btnlogin");
        selenium.WaitForPageToLoad("30000");
        selenium.Click("id=ctl00_lblUserName");
        selenium.Click("id=ctl00_lnkSignOut");
        selenium.WaitForPageToLoad("30000");
    }
}
}

i created a webform and added a button there.

in button click event i wrote this code

SeleniumTests.MyFirstVCTest m = new SeleniumTests.MyFirstVCTest();
    m.SetupTest();
    m.TheMyFirstVCTest();
    m.TeardownTest();

i included all .dll files. its running fine(no errors and warnings).

but after clicking button i am getting the following error

No connection could be made because the target machine actively refused it 127.0.0.1:4444

what should i do??

thanks in advance..

Note to viewers: This post may help you : No connection could be made because the target machine actively refused it

  • 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-06-01T02:43:19+00:00Added an answer on June 1, 2026 at 2:43 am

    “…the target machine actively refused it” means the server could be reached and responded within the timeout, but the specified port wasn’t open. This can have several reasons, e.g. a local firewall blocking the connection. Are you sure the server is listening on the right IP/port?

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

Sidebar

Related Questions

I have the following code: $query = mysql_query(SELECT * FROM activity ORDER BY activity_time
I have the following code which is executed from the command line: import cgi,time,os,json,sys,zipfile,urllib2
I have the following code that I am trying to extract the systems proxy
I have the following string from which I want to extract gcc-4.3.2 and C
I have the following text, I need to extract the exception name and the
I have the following text, I need to extract the exception name and the
I have following data in my table. alt text http://img26.imageshack.us/img26/3746/productfield.png I want to extract
I have a scenario with code like the following: extracted_data = data.map{|row| ((row.some_long_number.to_f) if
My jQuery code (using ajax) request's data from a local php script (pgiproxy.php). This
i have following code for inserting another page into div An XHTML 1.0 Strict

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.