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



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

Answer / 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

More Rational TestSuite Interview Questions

what is the purpose of start and end timers in robot scripts?

2 Answers  


For distributed functional testing what do we require in test manager? a. Test Agent b. Test Monitor c. Test Executer d. Test Mentor

2 Answers  


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.

0 Answers  


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

0 Answers  


Unexpected Active Window tab is in a. General Option b. GUI Record Option c. GUI Playback Option d. Session Record Option

1 Answers  






consider i had created two projects in rational administrator.And i am currently working one project in rational robot.Now i want to open the other project script in rational robot without closing the rational robot.How can we access the other project script in robot.

2 Answers  


What do you mean by data driven testing? a. Testing using Data Drivers. b. Testing using Excel Sheets c. Testing using Executables. d. Testing using Command Line Parameters

6 Answers  


What is standard data type and what is user defined data type?

0 Answers   TCS,


How will you debug your script?

2 Answers  


How many verification points are there in Robot and What are they?

4 Answers   HCL,


purpose of inserting delay values in the scripts of Rational?

2 Answers  


How will you do data driven testing using Robot?

2 Answers  


Categories