473,508 Members | 2,342 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

JavaScript web links

Hi

I've got to get performance stats for a website. The links within the web
site aren't normal URLs but JavaScript links, e.g.

<A HREF="javascript: if (document.Main.ParentID &&
document.Main.ParentName ) { document.Main.ParentID.value='';
document.Main.ParentName.value=''; } if (document.Main.fCatalogID &&
document.Main.fCatalogName ) {document.Main.fCatalogID.value='';
document.Main.fCatalogName.value='';}SetPageToShow ('Catalog Page');"
TITLE="Click here">An example link</A>

When I'm recording a test using the ACT tool, it brings up the web site and
when I click on the link nothing happens; ACT doesn't appear capable of
following the link.

However, if I'm just looking at the site without recording then it works
fine.

Are there any settings that I need to configure that will enable the ACT to
follow JavaScript links?

Thanks

Griff

PS - originally posted to 'microsoft.public.vsnet.act' on 26th May 2004 (no
responses)
Nov 22 '05 #1
1 1437
Hi Griff

Have you got it working?

Rgds
Fabrice

"Griff" wrote:
Hi

I've got to get performance stats for a website. The links within the web
site aren't normal URLs but JavaScript links, e.g.

<A HREF="javascript: if (document.Main.ParentID &&
document.Main.ParentName ) { document.Main.ParentID.value='';
document.Main.ParentName.value=''; } if (document.Main.fCatalogID &&
document.Main.fCatalogName ) {document.Main.fCatalogID.value='';
document.Main.fCatalogName.value='';}SetPageToShow ('Catalog Page');"
TITLE="Click here">An example link</A>

When I'm recording a test using the ACT tool, it brings up the web site and
when I click on the link nothing happens; ACT doesn't appear capable of
following the link.

However, if I'm just looking at the site without recording then it works
fine.

Are there any settings that I need to configure that will enable the ACT to
follow JavaScript links?

Thanks

Griff

PS - originally posted to 'microsoft.public.vsnet.act' on 26th May 2004 (no
responses)

Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
11110
by: chris hughes | last post by:
Can anyone please tell me how to create a javascript that I can place in any page that will disable all the links or just change all the hrefs to # Many Thanks Chris Hughes
5
2090
by: Michael Jaeger | last post by:
Dear group, I administrate the web site of a German school (www.gymnasium-burgdorf.de\test.htm) and so far this site has been designed using HTML and CSS only. Due to the increasing number...
1
1993
by: Julius Mong | last post by:
Dear all, according to the ASV3 manual known problem section, to make an <a> execute some Javascript onclick: ...
12
1914
by: Howard Kaikow | last post by:
Yesterday, I decided to try Firefox. I've encountered a behavior that is either a bug in Firefox or a bug in my Javascript code. I'll try to explain the problem, hoping that this newsgroup can...
5
1373
by: Irlan agous | last post by:
I have an echo php link with a javascript mouseout, why doesnt this work? <a href=\"$PHP_SELF?action=list_records&amp;cur_page=$varray&id=$id\" onmouseout=javascript:switchColors(this, 'yellow')>...
9
3433
by: gleverett | last post by:
I have been searching the 'Net, and I can't find the right solution here. I am writing some PHP pages that utilize some Javascript. The script works in Mozilla/Netscape, but fails in IE. I don't...
136
9201
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
1
2134
by: Spartanicus | last post by:
I'm pondering what the various drawbacks are of the methods to code UI elements who's function relies on javascript and css. Currently on http://www.pan-europe.utvinternet.ie/ I use styled <a>...
9
4888
by: tshad | last post by:
This is from my previous post, but a different issue. I have the following Javascript routine that opens a popup page, but doesn't seem to work if called from an asp.net button. It seems to work...
9
3482
by: chrisspencer02 | last post by:
I am looking for a method to extract the links embedded within the Javascript in a web page: an ActiveX component, or example code in C++/Pascal/etc. I am looking for a general solution, not one...
0
7229
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7333
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7061
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7502
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5057
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4716
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3208
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1566
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
428
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.