GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  Rational Robot
Go To First  |  Previous Question  |  
 Rational Robot  |  Question 47 of 47    Print  
Script Copy
How to copy the script from one project to another project?


  
Total Answers and Comments: 1 Last Update: October 02, 2008     Asked by: srathour07 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 30, 2008 17:24:44   #1  
math_janaki Member Since: September 2008   Contribution: 2    

RE: Script Copy
You have 2 ways to copy a script from one project to other project.

1st Method:
Go to TMS_Scripts folder of your project. Let's say ur source project name is Project1 and destination project name is project2 and are saved in C:. Then Open the following folder:
C:Project1TestDatastoreDefaultTestScriptDatastoreTMS_Scripts
Say Ctrl+F and give the name of the script you want to copy. a list of files will be displayed in the search results window. The copy .rec file and paste in the destination project TMS_Scripts folder. Then copy all the Verification points and paste in
C:Project2TestDatastoreDefaultTestScriptDatastoreTMS_ScriptsVP folder.

Now open Robot Say Ctrl+N or File -> New -> Script and write the name of the script and say OK. Your script is copied from Project1 to Project2.

Method2:
Goto TestManager and upload the script in project1. i.e. Open the Testplan, right on a testcase folder (Ex: Default) and select "Insert Test Case". Give the name of the Test case in the Editbox and then click on Implementation tab.
Click on the select button under Automated implementation and select "GUI (Rational Test Datastore). Select the Test script you want to copy and click ok. Now your test script is uploaded to testmanager. now rightclick on the Test script and click Export.
Give the path where the script needs to be saved and check the checkboxes associated implementations and test inputs. Click ok. close the export window once it finishes exporting the script.
The script and its VPs are saved in a .rtpar which is saved in the specified location.

Now open Rational TestManager of Project2 and click File -> Import from Test Asset Parcel. Browse the .rtpar file saved from project1 and say ok. Then click Import All and select the Test case folder where you want to save the Test script in the Test Plan. say Ok and choose the option whether to overwrite or not overwrite the script with same name. Click Ok. close the window.

Close the TestManager, open it again and you could the script imported from project1. Right click on the script, goto properties -> Implementation and click on Open button under Automated Implementation. You script is opened in Robot of project2 which is copied from project1.

 
Is this answer useful? Yes | No

 Related Questions

I have an application which needs to be tested for the multiple selection of items from a combobox. I have recorded the test for the first item data. Can I use the same script for the multiple dataitems from the same ComboBox in an iteration? If yes, how can I do it?thanksRaj
Read Answers (1) | Asked by : RajD

I have an web application (buid in ASP.NET Framework 2.0) which needs to be tested. I have recorded a script with Rational Robot. When i play back the script, the robot cannot selected the menu item and the submenu items.Can anyone kindly explain me how to solve my problem?thanksCédrille
Read Answers (3) | Asked by : Cédrille

Latest Answer : Yes , the Robot save the script when we compile it. After compilation when we close the robot window it does not ask for saving , which means that the script have saved already. So there is no need for further saving. ...
Read Answers (3) | Asked by : Anand

how to convert all the rational robot script files in to QTP script files tool that is like file transferring from rational robot into Qtp or atleast if there ia any possibility something like how the 
Latest Answer : is there any tool which can convert this ...
Read Answers (2) | Asked by : prabhu

Latest Answer : SQABASIC-Software Quality Assurance Basic ...
Read Answers (1) | Asked by : Dhevi

I would like to use a script in another project. I copy this script .rec to the directory of new project but I can't see this script when I open the new project. Could you please tell me how to use 
Latest Answer : After copying the script,open a script with the name you copied.Then the copied script automatically open. ...
Read Answers (2) | Asked by : A. Tawee

How to copy the script from one project to another project? 
Latest Answer : You have 2 ways to copy a script from one project to other project.1st Method:Go to TMS_Scripts folder of your project. Let's say ur source project name is Project1 and destination project name is project2 and are saved in C:. Then Open the following ...


 Sponsored Links

 
Related Articles

Recording Test Script With WinRunner

How To Use a Wizard to Record a Test Script With WinRunner If you have a script that you want to convert with WinRunner, you can use the DataDriver Wizard to transform the script into a test that is driven by data. For instance, if you want your test script to include things such as checkpoints or v
 

WinRunner Script Design Tips

Scripts play an important role in the function of WinRunner. Those who wish to successful with this program will need to learn how to properly create scripts. In this article, I will provide you with a number of useful tips for script creation. The first tip of script development is to always place
 

VB Script - How to use VBScript with Forms

VB Script How to use VBScript with Forms In this tutorial you will learn about How to use VBScript with Forms Introduction How to do validate your Forms and Conclusion mosgoogle Introduction Now this is the last topic of the tutorial and you will learn how to validate and submit the data to the web
 

VB Script - Controlling VB Script Routines

VB Script Controlling VB Script Routines In this tutorial you will learn about Controlling VB Script Routines Introduction VB Script Description If then else Select Case Looping Statements For Next For Each Next Do loop Do While Do Until While wend and Conclusion mosgoogle Introduction Every program
 

Working with Objects in VB Script

VB Script Objects with VB Script In this tutorial you will learn about VB Script Objects with VB Script Introduction How to Add Objects to your web pages How to Add Objects to your Web Pages and How to link Vb Script with Objects mosgoogle Introduction Objects which are in the form of ActiveX contro
 

VB Script - Working with Variables

VB Script Working with Variables In this tutorial you will learn about VB Script Wroking with variables Introduction Description Naming Conventions Variants and its sub types How to Assign values to a variable What is the scope of a variable Constants Arrays and Conclusion mosgoogle Introduction A v
 

VB Script Tutorials- Introduction

VB Script Introduction Vb Script tutorials will be covered in the following topics which are given below What is VB Script Working with Variables Objects and VB Script Controlling VB Script Routines Using VB Script with Forms In this tutorial you will learn about VB Script What is VB S
 

Rational Robot Interview Questions

Rational Robot Interview Questions This article provides Software Testing Interview Questions covering Rational Robot questions For more Interview Questions Answers related to testing click on links provided at the end of each question set mosgoogle Rational Robot 1 In which directory are the
 

Rational Unified Process (RUP) Introduction

Rational Unified Process or RUP is a configurable software development process platform that delivers proven best practices and a configurable architecture It enables you to select and deploy only the process components you need for each stage of your project This talks about phases iterations workf
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape