Results 1 to 6 of 6

Thread: Winrunner's M_ROOT not defined

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

    Smile Re: Winrunner's M_ROOT not defined

    Hi Elan,

    M_ROOT variable is usually used to invoke WinRunner using a batch file or from Command prompt. I expect QC does the same when you run a Winrunner script.

    "WinRunners M_ROOT not defined" could be because the path setting for WinRunner files has not been done in M_ROOT. Try this
    Under DOS prompt execute the following commands -

    SET M_ROOT="C:\Program Files\Mercury Interactive\WinRunner"
    %M_ROOT%\arch\wrun.exe -ini C:\WINDOWS\wrun.ini -update_ini

    check if your wrun.ini file is existing or has got deleted by chance. -update_ini opens the initilization file in update mode. You can change it to read-only mode as well.

    Let me know if this helps.....

    Cheers....

    Bizzzzzare


  2. #2
    Junior Member
    Join Date
    Nov 2007
    Answers
    3

    Re: Winrunner's M_ROOT not defined

    Thanks...Biz..
    When I tried your commands, I am geeting an error msg "The Testing Tool will be terminated becaz an error has occurred.Pleaselook at the file wrstderr for more details"..But when i tried to look at this file in c:\Program files\Mercury Interactive\WinRunner\arch (and also in dat folder) I don't see this file..what should I do now..please if u have a solution let me know..
    Also i wanted to let you know that when I ran the same script directly in winrunner (without running it from QC), it is successful.

    Last edited by elansamy; 11-16-2007 at 09:38 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact