Tuesday, July 30, 2013

Need Admin rights for Replay Vugen Scripts

Admin rights required to replay the script. Generally we get these type of error while replay the script through Vugen without having admin rights.

Warning: Extension LrXml.dll reports error -1 on call to function ExtPerThreadInitialize
Error: Vuser failed to initialize extension LrXml.dll.
If you do not want to give admin rights and want to replay the scripts then follow the following Steps:(These steps are mainly for 9.1 and later version).

Navigate to the following location: \\dat\\protocols
If it is web protocol, go to QTweb.lrp
if it is citrix protocol , go to citrix.lrp or citrix_ica.lrp
Go to LRP file based on the script being used,
Open the relevant file in a Notepad
Look for: ResultsDirUI=1
Comment it out by adding a semicolon. For example: ;ResultsDirUI=1
Save the changes to the file
Hope by doing this script should not give error during Replay.

How to Check that you have admin rights:

1.On XP - right-click on the clock in the tray and select the Adjust Date/Time command. You get a message if you don't have admin rights.

2. Another way is:
right click on start
check if you have the option to "open all users"
if it's there, you have admin rights3. Another way is:
a) Right click on My Computer and select Properties
b) Select the Computer Name tab.
c)If the Change… button is grayed out, the user is not logged in with administrator rights.

No comments: