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
Explain purpose of inserting delay values in the scripts of rational?
For unattended execution whick playback options you will use?
What are the Limitations/Disadvantages of Rational Function Test?
What is datapool cursor?
What is the planning and creating datapool?
how you copy test cases from .xls to Quality centre?
What is standard data type and what is user defined data type?
What is datapool cursor?
Where the datapool values are stored?
How will you do data driven testing using Robot?
What is user defined data type?
What is the purpose of the Trap options?
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....
Explain Robot?s command line options?
How can you automate your project?