Search Interview Questions
Question: Can anybody provide code of any sample script in Rational Robot?
Answer: *** this is the sample script for login into the application***
//every statement must be within the main
Sub Main
//declare variables through dim satatement. here Result is the default integer type variable
Dim Result As Integer
//single quote (') is comment simbol
'Initially Recorded: 7/19/2006 12:41:57 PM
'Script Name: abc
StartApplication """C:Program FilesRationalRational TestSample ApplicationsClassics OnlineClassicsA.exe"""
Window SetContext, "Name=frmExistingLogin", ""
//choosing a user name from a combo box
ComboBox Click, "Name=lstUserName", "Coords=142,9"
ComboListBox Click, "ObjectIndex=1", "Text=Susan Flontly"
//giving password through keyboard
EditBox Click, "Name=txtPassword", "Coords=105,13"
InputKeys "prakash"
PushButton Click, "Name=cmdOK"
End Sub
|
|||||||||||
Question: Can anybody provide code of any sample script in Rational Robot? Answer: *** this is the sample script for login into the application*** If you have the better answer, then send it to us. We will display your answer after the approval Rules to Post Answers in CoolInterview.com:-
|
Related Questions |
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Rational Robot Interview Questions & Answers - Exam Mode / Learning Mode
India News Network |