You are hereApplication / Internet Macro / Internet Macro

Internet Macro


Using the Internet Macro to monitor a website.

With Longitude Version 6.2 you will need to have Firefox 3.5 or 3.6 installed with Selenium installed as an add on (Version 1.02 for Firefox 3.5. Version 1.0.5 for Firefox 3.6.)

If you are using Firefox version 3.6 you will need to go here and follow the directions before using the Internet Macro.

If you are using Longitude Version 6.1.2 see this Post.

Internet application won't register with "unable to delete.... parent.lock file" error message.

Firefox 3.6 requires Selenium 1.04 or higher. If you are using these versions of Firefox and Selenium to create Internet macros for the Internet application, you will get an error message that Longitude is "unable to delete" a file named "parent.lock".

This is fixed by an updated selenium-server.jar file. To put this in place, do the following:

  1. Download the updated selenium-server.jar file.
  2. Stop the Longitude services.

kb83: Longitude Internet Application and Firefox / Selenium versions

The Internet application uses macros created by the Selenium plugin in Firefox to script internet transactions. The following table displays the compatible versions of Longitude, Firefox, and Selenium:

Longitude Firefox Selenium Required Patches
6.1.x and earlier 2 0.8.6 None
6.1.x 3-3.5 1.0.2 selenium patch for 6.1
6.2.1 3-3.5 1.0.2 None

6.2: Auto Upgrade of Firefox May Remove Selenium

It has come to our attention that an Automatic Update of Firefox may remove Selenium. You should disable Automatic Updates on the Machine executing the internet macros so that this does not happen. You can disable the automatic updating on Firefox by performing the following.

  • Go to Tools > Options > Advanced > Update.
  • Uncheck the checkbox that says automatically check for updates.

6.2: CPU spikes on Longitude agent

We have seen some cases in Longitude 6.2 in which the CPU on a Longitude agent will spike when collecting data for Internet Macros. The Firefox instances used to collect data for the Internet Macro do not close correctly, leaving orphaned Firefox processes on the agent.

Until a patch is available, this problem can be addressed by restarting the Longitude Statistics Server component. This should kill the orphaned Firefox processes, but you may need to check the Longitude server directly and close dialog boxes for Firefox errors.

6.1.x: Using Firefox 3.0 and higher with the Internet Macro

Firefox 3.0 and the latest version of Selenium can be used to create internet macros in Longitude 6.2. If you would like to use these features in 6.1.x you will need to grab the selenium patch (Right Click Save Target As), and do the following:

  1. Stop your Longitude services from services.msc
  2. Proceed to drop the firenze.jar files in Longitude\DC\Lib overwriting all files.