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 4+ years now. In no way it relates to my employer or my client.

    Email :
    Twitter : @manoj9788
    Facebook :
    About Me :

Take some time to Fill In the Feedback Form, that will help me to understand what people visit this blog think and it shall help in the betterment of the blog.

21 thoughts on “Contact Me

  1. goran
    April 30, 2013 at 1:05 pm

    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. July 14, 2013 at 3:23 pm

    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: 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@

    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?

    1. July 18, 2013 at 2:32 pm

      Just on w quick look of your long comment.

      The error “Failed to start: SocketListener0@″ 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
    August 7, 2013 at 2:16 pm

    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 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.


    1. sydeesh
      December 15, 2013 at 5:13 pm

      Here you have store the parent window , switch to popup window then do some operations on popup window .you can work on the parent window by calling parent window .here you go for code for your requirement

      driver=new FirefoxDriver();
      String prntwnd=driver.getWindowHandle();

      for(String chldwnd: driver.getWindowHandles()){

      driver.findElement(“UserTitle”)).sendKeys(“Test lead”);



  4. Amar
    August 20, 2013 at 1:21 pm

    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

  5. purusottam
    October 5, 2013 at 8:39 am

    Hi Manoj,
    i wanna run scrpit in chrome and i have add

    Webdriver driver = new ChromeDriver();

    but it’s throwing a exception that

    Starting ChromeDriver (v2.3) on port 6050
    FAILED CONFIGURATION: @BeforeClass setUp
    org.openqa.selenium.WebDriverException: chrome not reachable
    (Driver info: chromedriver=2.3,platform=Windows NT 5.1 SP3 x86) (WARNING: The server did not provide any stacktrace information)
    Command duration or timeout: 22.55 seconds
    Build info: version: ’2.32.0′, revision: ’6c40c18′, time: ’2013-04-09 17:23:22′
    System info: ‘Windows XP’, os.arch: ‘x86′, os.version: ’5.1′, java.version: ’1.7.0_17′
    Driver info:

    Could you give me solution


  6. sridhar
    October 18, 2013 at 7:50 pm

    Hi Manoj,

    I am regularly check updates of your blog but i do not find Automation testing on PhoneGap using Appium in Android or IOS.Could you please let me know how to do the process,else you can update in your official blog.

    I am really appreciating your effort on creating nice blog.


    1. October 23, 2013 at 6:48 pm

      Hi Sridhar,

      Thank you for your interest in checking out the blog.
      I am in-progress of reformatting this post.

      Soon you will have the new one.

      keep visiting.


  7. sarmila
    November 15, 2013 at 6:24 am

    Hi Manoj,
    when i login with invalid username and password,one alert pop up is coming.By clicking on Ok on that pop up again i an unable to send username and passowrd.

    Here is my code.
    WebDriver driver=new FirefoxDriver();
    public void demo() throws InterruptedException {
    WebDriverWait wait = new WebDriverWait(driver, 30);
    Please help me where i did mistake and how to resolve this issues..

    1. sydeesh
      December 15, 2013 at 4:19 pm

      Hi sarimala,

      you have to go back to parent window when u close the popup so i stored parent window and called that once popup window closed..its works fine.

      driver=new FirefoxDriver();
      String parentwidow=driver.getWindowHandle();

  8. Raju
    January 9, 2014 at 6:32 am

    Hi Manoj,
    I am new to automation and selenium, however i tried to go through different sites and blogs to learn abt it.

    I am trying to automate the webpage mercury tours demo using selenium web driver, i face the below issue:

    In the attached screen shot there are 2 check boxes 1) Ticketless Travel & 2)Same as billing address

    But here all the object properties are the same for both the check boxes

    Check box 1:-

    Ticketless Travel

    Check box 2:-

    Same as Billing Address

    So i tried getting the xpath for identifying the objects, that also failed.

    The xpath for Check box 1: is as follows:


    The xpath for Check box 2: is as follows:


    I used the following script for the xpath

    WebElement chkbox = driver.findElement(By.xpath((“/html/body/div”

    But this code didn’t identified the object.

    Please help in resolving this issue

    1. January 9, 2014 at 8:22 pm

      Try to use Firebug/Firepath in Firefox browser to get an working xPath. The locators that you have used in your code in way long starting from HTML that shouldn’t be the way.
      For Eg: Checkbox that you are trying to locator for Ticketless travel in billing address would be //input[@name='ticketLess']
      RightClick on the TicketLess checkbox and click on InspectElement from the context menu and you would see the attributes defined for the element and from that you can form locators.

      Hope that helps!

  9. Sreenath
    January 29, 2014 at 6:34 pm

    Hi Manoj,

    I would like to learn Selinum. Do we need to learn Java language and java script as prerequisite for this? Please suggest me how to proceed on this.

  10. Anil
    February 17, 2014 at 4:36 pm

    Hi Manoj,

    First of all thanks for sharing your skills on Selenium. I am trying to create a silverlight UI test which would simply locate Silverlight controls on the webpage and do some clicks. It seems that there are some issues with current Silvernium.dll because it throws this error—this dll or its dependencies are not found.
    Have you or anyone ever experienced it while working with Silverlight and seleniumfixtures dlls. Could you please share a small sample using these dlls ? it will be a nice starting point. Thanks

  11. Manoj K N
    February 27, 2014 at 8:07 am

    Hi Manoj,

    It really glad to here that selenium conf 2014 will be held in India, Bangalore.

    Currently I am working on selenium web-driver. I would like to attend the conf 2014 along with my automation team.

    Requesting you to share the details of venue and registration process, if you are aware of it.


  12. Prathap
    May 7, 2014 at 6:17 pm

    Hi manoj,

    I Just started working on Assertion, and not familiar with all the options. I was using selenium for doing assertion but i was asked to do assertion using chai webdriver.

    My question is can we assert on some thing which is in cache and local storage?

    Your response will be helpful.


  13. suresh
    May 20, 2014 at 12:38 pm


    Iam using Selenium Webdriver + TestNG + Firefox 17.0.5 ESR

    Scripts which running successfully in Firefox 17.0.5 ESR
    But not working fine in Internet Explorer 8, while running in IE8 the pages are flickering and stops in the middle of the execution.
    Any suggestions.


  14. Rishi
    June 19, 2014 at 10:59 am


    I’d like to automate/unit test my Windows phone app using ‘Windows phone WebDriver’ launched by Selenium on 23 Nov,2013. Can you please throw some light on automating Windows Application? I have used Robotium with Selenium and by using solo webdriver I have automated/unit tested Android Apps, I am unaware of testing Windows apps in similar lines with Robotium.

  15. Meenu
    October 3, 2014 at 8:40 pm


    I have below code and I need to click on the button tag to close the window, can someone help how to get to it using SE webdriver:


  16. October 13, 2014 at 11:32 am

    I Know Selenium Webdriver, TestNG.

    Wants to learn as an emergency,
    BDD framework, Cucumber, Jenkins


Leave a Reply

Your email address will not be published. Required fields are marked *