Print Page | Close Window

Force Silk Test to through error

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: SilkTest @ OneStopTesting
Forum Discription: SilkTest is an automation tool for testing the functionality of enterprise applications in most versions of Windows, Sun Solaris 9 & 10, and Red Hat Enterprise Linux WS 2.1 & 3.0.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=999
Printed Date: 25May2024 at 5:13pm


Topic: Force Silk Test to through error
Posted By: Steven
Subject: Force Silk Test to through error
Date Posted: 26Apr2007 at 9:30pm
I have code
if FileBusinessT1.HtmlText ("IT is There").Exists ()
print ("This exists, modify user, and run again")

What I want this to do is if it encounters this text, print this out, but have the test Fail, or Error so it is plainly seen.

Any suggestions.



Replies:
Posted By: Arun
Date Posted: 27Apr2007 at 2:43am
look at LogError() function

--------------------
Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster

than you is a maniac. 



Print Page | Close Window