Rational Robot queries

Go down

Rational Robot queries

Post  Admin on Mon Jan 21, 2008 2:28 am

I would like to know how to create map file

Admin
Admin
Admin

Number of posts : 7
Registration date : 2008-01-11

View user profile http://automationcoe.board-directory.net

Back to top Go down

Re: Rational Robot queries

Post  rsudhagar on Tue Jan 22, 2008 5:50 am

Are you using any frame work?

rsudhagar

Number of posts : 2
Age : 42
Registration date : 2008-01-21

View user profile

Back to top Go down

Re: Rational Robot queries

Post  Admin on Tue Jan 22, 2008 11:06 pm

Yes, tell us about the details of Map file and creation and using of Map file in Keyword driven framework

Admin
Admin
Admin

Number of posts : 7
Registration date : 2008-01-11

View user profile http://automationcoe.board-directory.net

Back to top Go down

Re: Rational Robot queries

Post  Saroja on Wed Jan 30, 2008 2:09 am

A Map file contains map names assigned by testers to the technical references(i.e Objects).Robot recognize objects by its properties like Name,Type,Index etc.

Creating a Map File

In the Example mapping is done for the Login window,Username editbox,Password editbox and Login html link. Here UserID is the reference name given for the username editbox.The Parent and Child properties of the object will be displayed in Rational Inspector if you place the cursor over the object and from the rational inspector we can copy the property and paste it in our map file.After creating a map file in a notepad the file should be saved with .MAP extension.

Example:

[LoginPage]
LoginPage="Type=Window;Caption={Window Name*}"
UserID=Type=HTMLFrame;HTMLId=FormViewer;\;Type=EditBox;Name=logonid
Password=Type=HTMLFrame;HTMLId=FormViewer;\;Type=EditBox;Name=passwd
Login=Type=HTMLFrame;HTMLId=FormViewer;\;Type=HTMLLink;HTMLText=Logon


Usage of Map names in Step file

The reference names given by us is used in the step file to identify the object and to perform any action on the identified object.

Example:

;RT WINDOW COMP ACTION ARG
T LoginPage LoginPage Maximize
C WaitForGUI LoginPage LoginPage 100
T LoginPage UserID SETTEXTCHARACTERS "Valid User ID"
T LoginPage Password SETTEXTCHARACTERS "Valid Password"
T LoginPage Login Click

Saroja

Number of posts : 3
Registration date : 2008-01-21

View user profile

Back to top Go down

Re: Rational Robot queries

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum