CrazyEngineers
  • Selenium installation issue with bat file

    Updated: Oct 26, 2024
    Views: 977
    Hi Guys,
    Greeting!!!😀

    I've completed all the configuration setting regarding selenium RC..😛
    now when i start the batch file i got some error.....😁
    well first of all...my bat file code is as follows:😒

    cd
    C:\SeleniumRC\Tests\selenium-remote-control-1.0 java -jar selenium-server.jar - 4444
    - htmlSuite iehta <a href="https://www.google.co.uk" target="_blank" rel="nofollow noopener noreferrer">Google</a>
    C:\SeleniumRC\Tests\selenium-remote-control-1.0\G_alltestff.html
    C:\SeleniumRC\Tests\selenium-remote-control-1.0\Results.h
    pause

    Now when i execute this code it will open two HTML file in IE...
    one is for test suite(G_alltestff.html)...and other is for Result.html..
    but Result.html is blank..😔
    why so??

    i think test case output must be there in result.html...means what ever i recorded in SeleniumIDE.😒

    Please guide me where i m doing silly mistake!😕😕😕!!


    Now i had completed above taks...the following error coming now:


    HTTP ERROR: 403

    Forbidden for ProxyRequestURI=/selenium-server/tests/.test.html
    #-Link-Snipped-#


    This error comes up while i execute the following code batch file:
    cd\
    cd C:\SeleniumRC\Tests\selenium-remote-control-1.0 java -jar selenium-server.jar -port 4545 -firefoxProfileTemplate C:\Firefoxselenium -htmlSuite *chrome <a href="https://www.google.co.uk/" target="_blank" rel="nofollow noopener noreferrer">Google</a> C:\Result\googlesearch.html C:\result\googlesearchResults.html
    pause


    Thanks
    Rahul










    Regards,
    Rahul
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Kaustubh Katdare

    AdministratorMay 28, 2009

    CEan - CrazyBoy has worked on Selenum, I guess. E-S is also QA expert. Folks, handing over to you! 😀
    Are you sure? This action cannot be undone.
    Cancel
  • Kaustubh Katdare

    AdministratorJun 8, 2009

    Bumping this thread. Anyone experienced in Selenium?
    Are you sure? This action cannot be undone.
    Cancel
  • niraj.kumar

    MemberJun 9, 2009

    well I have just started working on selenium but never faced this problem . Looking for answer from some selenium expert .
    Are you sure? This action cannot be undone.
    Cancel
  • Anil Jain

    MemberJun 9, 2009

    Sorry, I didn't see this thread before.

    Anyways!! I had not observed this type of error ever in my short span (I worked for around 6 months, I guess ES had loads of experience on Selenium).

    However your error "HTTP ERROR: 40" suggests that, You are not authorized to view this page.

    For me this error has nothing to do with Selenium.

    -CB
    Are you sure? This action cannot be undone.
    Cancel
  • Saandeep Sreerambatla

    MemberJun 9, 2009

    Yesterday i installed Selenium IDE and RC and recorded a script.

    I am able to see the result file ?? am not sure why you are facing that issue dude 😔

    @CB: I too didnt work for any project on Selenium , i worked only on QTP dude.. and selenium we have done some dummy project on that for passing time so have some idea on that 😀
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register