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
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
please can you help me to get a code of flames using a visual basic 6
What are lbound and ubound in the vbscript language?
How to Import data from a file (file is on the desktop) to the data table
Is VB Script Case sensitive or Case insensitive?
Which in-built function related to an array joins substrings into one string in the vbscript language?
What is the output of a + b in vbscript if a = 5 and b = 10?
what is resorceallocation
What are the environments supported by vbscript language?
How to add actions in driver script to run those actions in QTP?
Sub link() Dim k As Integer Dim rand As Integer Dim URL As String Dim foldernum As Integer Dim folderstring As String Dim filenum As Integer Dim filestring As String k = 1 'for AC Numbers For i = 11 To 40 foldernum = 0 foldernum = 1000 + i folderstring = CStr(foldernum) folderstring = Mid(folderstring, 2, 3) folder = "ac" & folderstring 'folderstring = Sheets(2).Cells(i, 1) ' for Number of Random files For j = 1 To 10 rand = Int(Rnd * (200 - 1) + 1) filenum = 0 filenum = 1000 + rand filestring = CStr(filenum) filestring = Mid(filestring, 2, 3) 'URL = "http://ceobihar.nic.in/PSCDROM/ac" & folderstring & "/i" & folderstring & "0" & filestring & ".pdf" URL = "http://www.elections.tn.gov.in/pdfs/dt1/" & folder & "/" & folder & filestring & ".pdf" ' URL =http://www.wb.nic.in/wbeco/EROLLS/PDF/English/A001/a0010105 .pdf Cells(k, 1) = folderstring Cells(k, 2) = folder Cells(k, 3) = filestring Cells(k, 3) = URL k = k + 1 Next j Next i End Sub plz define it
What if you do not specify anything when you call a procedure?
When are redim statement and preserve keyword used in the vbscript language?
How to open browser in vb script?
What is the purpose of drive object of scripting.filesystemobject class in vbscript?