what is the purpose of start and end timers in robot scripts?
Answers were Sorted based on User's Feedback
Start and Stop timers in Robot script gives us the actual
time of the script execution.
Example: If we place a Start Timer at the begining of the
script and a Stop timer at the end of the script and then
Execute the script(playback), the Result gets displayed in
the Test Manager with the Actual time of script playback.
along with Hours/Mini/ and Seconds also.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vijay soni
Start and Stop timers are used/inserted in the script to identify the time consumed to execute an event or set of events.
Eg : if there is a virtual user logged in to web site and he is updating database then if we insert start and stop command in script between request submitted by user and response received by user than while playback of script tester can evaluate and report "response time to execute update query command".
Hope this helps.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the purpose of the Trap options?
is there any book on rtrt?
Where do you view the results in Trap option?
How to test java applications and what settings you need to do?
how to insert clipboard verification point
purpose of start and end timers in robot scripts?
How many Comparators are there in Rational Robot? List them.
How will you debug your script?
Initially Recorded: 7/31/00 2:33:02 PM Script Name: COSC 198 Exam Script Sub Main Sets the delay between execution lines to the default value SetTime 100 This Dimensions an integer variable for use in this script Dim Result As Integer StartApplication "notepad" 'This sets the window context to the Notepad window Window SetContext, "Caption={* - Notepad}", "" 'Test Case to verify the text is correct Result = EditBoxVP (CompareText, "ObjectIndex=1", "VP=Text Verification;Type=CaseSensitive") Observe the code mentioned and answer the below questions 1. Which language it is :- a. SQA Basic b. VB c. C like Language d. TSL 2. Type of the script is ---------- a. VU b. VB c. GUI d. C 3. Explain what the above line ( StartApplication "notepad" ) actually does? a) It starts the notepad application. b) We do not have to open it from the start menu, c) it is opened itself from the robot by using the start application by providing the path to it. 4. Which Verification point is inserted? Result = EditBoxVP (CompareText, "ObjectIndex=1", "VP=Text Verification;Type=CaseSensitive") a. Alphanumeric b. Object Properties c. Window Image d. Object Data
Explain what kind of problems are solved by datapools?
What is the purpose of the wait state?
Explain the use of "testobject root = getroottestobject();" in rft?