Print Page | Close Window

Script playback doesnt click a link

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: WinRunner @ OneStopTesting
Forum Discription: WinRunner is an automated functional GUI testing tool that allows a user to record and play back UI interactions as test scripts using a proprietary Test Script Language (TSL).
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=482
Printed Date: 05Feb2025 at 11:46pm


Topic: Script playback doesnt click a link
Posted By: Alok047
Subject: Script playback doesnt click a link
Date Posted: 02Apr2007 at 6:08am
I have a batch job of 50 Web scripts(I seem to sound like a broken record by now). every script refreshes a webpage until a link is enabled(initially just text in a html table). Once the link is enabled script is supposed to click the link and download the file. Here is my problem all the scripts do this except the first one. I have no clue why in the first script WR doesnt click the link but on the remaining 49 it does click the link. I am using win_click_on_text function as the text/link name is dynamic. and the table would grow on the webpage as each script is run and a new link generated. Please let me know if you think something is wrong with the function I am using or if you need more details to understand the problem.
here is the sample of function I used:

win_click_on_text("<WebPageName>",<variable>"[0-9]*\.doc",0,0,260,255);



Print Page | Close Window