Automation COE
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Rational Robot queries

3 posters

Go down

Rational Robot queries Empty Rational Robot queries

Post  Admin 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

https://automationcoe.board-directory.net

Back to top Go down

Rational Robot queries Empty Re: Rational Robot queries

Post  rsudhagar Tue Jan 22, 2008 5:50 am

Are you using any frame work?

rsudhagar

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

Back to top Go down

Rational Robot queries Empty Re: Rational Robot queries

Post  Admin 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

https://automationcoe.board-directory.net

Back to top Go down

Rational Robot queries Empty Re: Rational Robot queries

Post  Saroja 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

Back to top Go down

Rational Robot queries Empty Re: Rational Robot queries

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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