-
Expert Member
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
-
Junior Member
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
-
Forum Rules