Contact Me

Manoj Kumar K
All the content on this website is owned by Manoj Kumar K and its strictly offensive to copy, however you can email me and get a prior permissions if you want it to use some where.
All my posts and views are from my personal point of view and its all based out of my experience. Using Selenium for past 3+ years now. In no way it relates to my employer or my client.

    Email : manojk@assertselenium.com
    Twitter : @manoj9788
    Facebook : http://facebook.com/AssertSelenium
    About Me : http://about.me/manoj9788
Comments
5 Responses to “Contact Me”
  1. goran says:

    hi,
    I’m not new in automated testing but pretty new with selenium and java so would be a big help for me to have a sample project to see the projects’ struscture and all the stuff related.!
    Any idea where can i find this?

  2. Seth says:

    Hi Manoj,
    I am trying to make the performance test work as described on this page: “Performance data collection using BrowserMob Proxy and Selenium”. But, I am running into some problems.

    I use Intellij IDE, Java and Maven on a PC running Windows 7. I downloaded the browsermob proxy code and placed it on my c: drive. I did not configure any environment variables. Next I started the proxy and see the 4 lines so it is running. Next I created a new class in Intellij and copied your code in except for the package at the top. However, when I run it I get errors.

    I think the reason I might be getting errors is because I need to ‘create a new proxy’ after I actually start the browsermob proxy bat file. I found this page which goes over the process: https://github.com/lightbody/browsermob-proxy. It is under the ‘rest api’ part. I am stuck at the part where I need to run the ‘curl’ command because apparently you can’t run a curl command in Windows.

    The error I am getting in the test is //start the proxy > server.start(); The error message is:
    Failed to start: SocketListener0@0.0.0.0:4444

    Also, my project does not show any errors, I added the browsermob pom dependency ‘2.0-beta-1’ and Intelliji indicates no problems found.

    Can you please help me get my test working?
    Thanks,
    Seth

    • Manoj Kumar says:

      Just on w quick look of your long comment.

      The error “Failed to start: SocketListener0@0.0.0.0:4444” is because, Selenium server cannot connect to port 4444 as it may have been occupied with some other process.

      Try with some other port numbers.

  3. Mohan says:

    Hi Manoj,

    I have a question regarding window handling.

    I am trying to handle a window pop up, which might not be actually a window pop up, but i am not sure how to handle it, can you please help me in this regards:

    Scenario: Go to http://www.salesforce.com and scroll down until you see the View Demo link and it will open the window in new pop up window….

    The problem is that i am not sure how to have the control enter into the fields mentioned in this window.

    I digged at the view source of the page and it looks something like this:

    View demo ›

    Your help in this regards will be greatly appreciated.

    Thanks,
    Mohan

  4. Amar says:

    Hi Manoj,
    We are using Selenium in C#, can you please provide any example on how to implement browsermob proxy in c# .Net environment.

    Thank you
    Amar

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: