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
Where do you view the results in Trap option?
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
What are the different data pool access orders?
Where the datapool values are stored?
Where do you view the results in Trap option?
If you want to output the results to the log file .. How to do?
Explain datapool?
If you want to output the results to the log file .. How to do?
How we write a java script using RFT for the below scenario iam having dropdown list COUNTRY(it contains india,us,uk...) once we select the india in that list it will open the corresponding states in STATES dropdown list. i would like to change those values dynamically... can u pls send me the coding....
What is the planning and creating datapool?
I wanna to learn RFT can anyone send me the learning material including demo. I am working on mainframe based project using RFT, but don't have that much knowledge of java scripts so need to learn.
How to test java applications?
What is the purpose of the Trap options?
how you copy test cases from .xls to Quality centre?
Explain Robot?s command line options?