Jump to content

idealone

Member
  • Posts

    6
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    India

About idealone

idealone's Achievements

0

Reputation

  1. Try this Thanks for your reply, Is there any other means of waiting apart from ping, as using ping command is blocked in my company.
  2. Hi guys, I need to use sleep or wait for few seconds between commands, i am using win XP, so i read that sleep command is not recognized, they say ping command works...but not sure how to use it!! So can anyone lighten me up whats the best way to solve this issue.. batch file: start /b java -jar Y:\selenium-server-0.9.2/selenium-server.jar #this command starts my server # (I would want to wait/sleep for 20 or 30 seconds before going to next command) start /b run myfile.exe # this is my second command to run my program Thanks in Advance
  3. Hi, I wanted to check in my Batch file whether "setup.done" trigger file existed in 'Y' Drive, if it was present i wanted to goto START, which executed my program else it has to come out. My code is not working, have i done any mistakes? <CODE> @echo off SET trigger_drive=Y: IF "trigger" == "setup.done" GOTO START GOTO END :START start /b java -jar D:/ruby/lib/ruby/gems/1.8/gems/Selenium-1.0.2/lib/selenium/openqa/selenium-server.jar.txt ruby "D:\Programs\Cvis_Automation\palm_master_loading.rb" :END <CODE> Thanks in Advance
  4. Thanks Yzöwl, Great!! its working Starting with the /B switch is working fine . cheers
  5. Hi All, I have an issue running a batch file which has the following code: @echo off java -jar D:/ruby/lib/ruby/gems/1.8/gems/Selenium-1.0.2/lib/selenium/openqa/selenium-server.jar.txt ruby "D:\Programs\Cvis\SmokeTEST1.rb" The First line starts a server which has to be active and then go to the second line which starts my program. Is there anyway i can run my server in the background and goto the second line and run my program. Problem i am facing is that the server starts but it doesn't end so how can second line be executed!! Thanks in Advance
×
×
  • Create New...