Your Ad Here

Friday, November 20, 2009

Rational Robot

Rational Robot

1. What is the use of requisite pro?

Using Requisite pro You can store your proj details. You can load all the details you collet from client. SRS, Use Cases, Prototypes, Design....etc.


2. What is the difference between rational robot and QTP or Winrunner? which is more ueful of the three?
Diff b/w Rational Robot and WinRunner is

WinRunner Supports GUI(Graphical User Interface)

Whereas, Rational Robot Supports Both GUI and CUI(Character User Interface)

:-)

3. What is the difference between Rational Robot (Rational Functional Tester)and IBM functional tester?
Which is better?

Ibm rational functional tester extension for terminal applicationis quite superior to any of the solutions avialble for Ibm rational robot

and Ibm functional tester is better than the rational robotRational functional tester when compared to the Rational Robot reduces the scripting effort & time.

Rational functional tester has only 2 verification points whereas the Rational Robot has 13 verification points.

In Rational functional tester scripting is done through simple Java programming where as in Rational robot scripting is done using SQA BAsic language

4. What is UCM?
UCM Means is Unified Change Management.

5. can we do dynamic data verification using rational robot?

what i want to do is use a single data verification point and change its baseline value corresponding to each datapool iteration.
we have done somethins similar using rational functional tester but can we do it using rational robot tester?
i dont want to create baselines manually corresponding to each iteration.
if we have to do coding for the same then can anyone provide me with similar kinda coding?

Answer: Dynamic data verification can be done by using Rational Functional Tester. It has the facility called patteren that helps the testers to change the normal expression into regular one

6. Which is the script used in rational robot?
SQA/VB SCRIPT.

7. What SQABasic commands have you used?

We can use many Sqabasic Command like

Datapool command

1. SQADataPoolOpen()

2.SQADataPoolFetch()

3. SQADataPoolValue()

4.SQADataPoolClose()

For Calling other Script in Script

1. Callscript( "script name" )

8. Difference between SQAgetpropertyArray and SQAGetPropertyAsString?

SQAGetPropertyAsArray - Return type of this function is in the form of array.

SQAGetPropertyAsString - Return type of this function is in the form of String.

9. Is it possible to conduct Unit Testing using with Rational Robot ?
if it is yes, how it is ?
No, it is not possible to conduct unit testing using rational robot since unit testing i.e., white-box testing is carried out by developers. Rational robot is used to carry out either functional or performance testing which forms a part of black_box testing.

10. Can anybody provide code of any sample script in Rational Robot?

*** 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

11. How do we connect to database using Rational Robot?

1. First we need to create script for single use test

2. Datapools are created

3. Script are edited whih will work for large number of data

12. What is the difference between GUI Scripts and VU scripts in Rational Robot?

GUI script is for functional testing. VU and VB scripts are for performance testing.

GUI Scripts: Used to play back the GUI activities you record.

VU scripts ? Used to play back the client/server requests you record during performance testing sessions.

13. What is a datapool? what it contains ? how do we create a datapool?briefly give the explanation

Datapool in rational robot is used to replace single or fixed value with multiple values in single recording instead of doing recording several times for different input datas.

U have to create a script by doing recording .

Select a field in the application for which u want to create a datapool.And goto the test manager Click the tools menu->manage->Datapools to create datapool follow the windows and enter the appropriate Datapool name,Field name its datatype .

And Enter the multiple values u want to replace in that field. Modify ur script by adding few statements in it saying about the datapool creation for the field in ur script.

And when u execute ur script u can c the application opening many times and the appropriate field is getting replaced with multiple values given by u.

14. What are two types of script recording in rational robot?

There are two types of recording in rational

1] Low level recording

2] High level recording

15. How to capture a window using verification point?

u also can use window existence verification point to capture an existance window.
This verification point verifies the existence and status of specified window during the play back.

16. Can anyone please tell me the exact difference b/w Rational Functional Tester and Rational Robot.
What i think is that RFT is more advanced then Robot.

If you are testing a Java, .NET, Web, or browser-based application RFT (Rational Functional Testger) is the right tool.

If you are testing Visual Basic, C++, or other Windows 32-bit applications, (RFT) Rational Functional Tester is not the tool for you, you can use Rational Robot.

17. In which directory are the .sbl files stored?

They are stored in source code file and contain procedure defitions to use in the scripts file.

18. What do .sbl and .sbh represent?

sbl represents as library file. this file will contain all the detailed level coding of your function which you declared in your header file.

.sbh represents as header file, this file will have all the functions declarations.

19. may I know is there any Load testing tool called Rational Site Load tool,where can I get the information from and is the tool is similar to that of Load Runner,and also tell me the similarities and differences in that tool.....?

There is no tool named Rational Site Load Tool. You can use "Rational Performance Tester" , Else "Rational Robot". By using Rational Robot we can do Functional as well as performance testing also.

20. Which Corelation Functions have you used?

we used the following funciton for correlation

web_reg_save_param

for ex: web_reg_save_param("outFlightVal", "LB=outboundFlight value=", "RB= checked >", LAST);

21. how do you perform dynamic object testing using robo
scenario;
enter any number b/w 1 to 100 in an edit box, there is command buton, on click of cmd button, if you enter 50, 50 comboxes should be dispalyed, how do you test this??
ANSWER:Use SQAGetChildren and obtain child count / child names before clicking the cmd button - after clicking the button obtain the list of children again and compare.If recognition strings of the combo boxes follows a fixed pattern i.e. cmbBox1, cmbBox2,... use string concaenation and SQAfindObject to test their existence

22. Can anybody provide code of any sample script in Rational Robot?

Look at Robot help - lot of sample scripts there.

23. Is it possible to have an executable for the script that is made in Rational Robot? Is the script able to take arguements?

You can have a .BAT file that opens up Robot and executes the necessary script - as such no packaging is provided to make the scripts directly executable.You can write your own functions that wrap CallScript command and accepts args and sets some global values- there by achieveing passing args to scripts

24. How do we create or retrieve libary file from Verification point? Is it possible?

if you are looking to obtain the location of the lib files use standard Robot varialbes SQAGetDir (something like that - look in robot help) etc..but if you want the location of a verification point file (actual / baseline) use SQAGetActualVPFile, SQAGetBaaselinefile etc. (not exact names)


Your Ad Here
Your Ad Here