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
How to analyze results after playback?
How to record & run on japanese language application using english version of ibm?
How can I date change in tally whenever new voucher entery. When I press F2 I can change the date only 1,2&31. When I feed other dates like 12,15,17, 21 etc. not changed. Please tell me how can I change the all voucher dates.
What is the purpose of the Trap options?
I am new to Rational tools,how to test an application i.e what are the things i should do before starting testing the application
For unattended execution which playback options you will use?
What are the different data pool access orders?
What is datapool cursor?
How to test java applications?
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?
Explain Robot?s command line options?
If you want to output the results to the log file .. How to do?
Explain the use of "testobject root = getroottestobject();" in rft?
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?
Explain purpose of inserting delay values in the scripts of rational?