How to copy from one script to another script in qtp

Answer Posted / vasanth

First you need to know where your scripts are store by QTP?
Each script is stored as MTS file in action folder
When you open your test script folder in explorer you will
see Action0,Action1....your scrips can be found in Action1
onwards.

now you can modify your scripts as you want. :)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to access array data?

770


How will you compare two strings in vbscript?

832


How to assign a date value to a variable?

803


How will you release the memory acquired by an array variable in vbscript?

1002


How to write functions and sub in vb script?

835


Difference between dim,public and private variables in vb script?

763


Mention characteristics of sub procedures?

825


Which loop is used in case of arrays in the vbscript language?

730


How will you get the smallest subscript of an array in vbscript?

1120


What are the 2 ways to pass a value to the function?

745


For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com

1987


What is variant in vb script?

877


What is the purpose of the err object in the vbscript language?

877


What are class properties?

903


Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.

2786