How do you insert Log Messages and delay values in scripts?

Answer Posted / i.r

For insert Log Message
----------------------
In Robot window click insert >> select write to log>>
it opens a window & enter the
1)message,
2)description
& status of test pass/fail /warning/none
and execute the script & view the log message.


this Write To Log generate coding as follows in SQABasic
---------------------------------------------------------
SQALogmessage sqastatus,"message","Description"
ex.
SQAlogmessage sqapass,"Successfully done","n....."

For insert Delay values
-----------------------
In Robot Window select insert menu>> click Delay...>>
1)it opens a window ask for some milliseconds in number
click ok

this is generated as follows in SQABasic
----------------------------------------
DelayFor(milliseconds)
ex.DelayFor(1000)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain datapool?

574


Where do you view the results in Trap option?

1850


How to test java applications and what settings you need to do?

573


How to record & run on japanese language application using english version of ibm?

597


If you want to output the results to the log file .. How to do?

1788






Where do you view the results in Trap option?

1653


How to create datapool?

547


What is the purpose of the Trap options?

1662


What is user defined data type?

603


For unattended execution whick playback options you will use?

2424


What are the different data pool access orders?

1565


If we write the script for login page and click on submit boutton then it opens order page...How we can validate that opened page is wether orderpage or not?

1791


How Do I run my RFT scripts through RQM(rational quality manager)can anyone explain me in the details giving examples. Also, I wanna to integrate RQM with RFT how to do that?

6334


Explain Robot?s command line options?

1810


Which of these is not a kind of report in Rational Test Manager a. Performance Report b. Build Listing Report c. Test Plan Report d. Test Case Report

1478