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
Answer Posted / pavani
1.SQA Basic
2.GUI
3.it is opend itself from the robot by using the start
application by the path to it.
4.Alphanumeric
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain what kind of problems are solved by datapools?
Explain datapool?
How to do data driven testing using robot?
How can you automate your project?
Explain purpose of inserting delay values in the scripts of rational?
What are the different data pool access orders?
How to analyze results after playback?
How to create datapool?
If you want to output the results to the log file .. How to do?
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 is the purpose of the Trap options?
If you want to output the results to the log file .. How to do?
What information is contained in the Datapool_config section?
For unattended execution which playback options you will use?
Explain the use of "testobject root = getroottestobject();" in rft?