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



Initially Recorded: 7/31/00 2:33:02 PM Script Name: COSC 198 Exam Script Sub Main Sets t..

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

More Rational TestSuite Interview Questions

What is Datapool?

1 Answers   Wipro,


Is it possible to perform performance/stress tests using Rational Test Manager, by executing manual test scripts?

3 Answers  


Explain the planning and creating datapool with an example?

1 Answers  


What is the purpose of the wait state?

3 Answers   Satyam,


how to insert clipboard verification point

1 Answers  






How will you debug your script?

2 Answers   Covansys,


What is the purpose of the wait state?

2 Answers  


If we write the script for login page and click on submit boutton then it opens order page...How we can validate that opened page is wether orderpage or not?

0 Answers  


Symbol for comments in Rational?

1 Answers   GE,


Could any one share scripts... where we can Parameterize radio buttons and Check boxes.

0 Answers  


Explain what kind of problems are solved by datapools?

0 Answers  


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

1 Answers  


Categories