How to copy from one script to another script in qtp
Answer Posted / bfakruddin
I did get your answer friends.....
I think he asked about script not file...
if script is available in vbs file we can copy using FSO
if script is available in QTP Expert view how would you
copy..?
think...?
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Mention how to create a cookie using vbscript?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
How can you create an object in vbscript?
Explain what is loose binding? Why is it not a good practice to use it?
What are class variables?
Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?
Explain few date functions in vbscript?
I need to get some data from data base and store this
(retrieved) data in a excel sheet using VB script in QTP9.0
I have created connection for data base
I have created as excels sheet by using
Set XL=CreateObject("Excel.Application")
XLworksheet.cells(1,1).value= rs.fields.item("<
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
Explain about the functionality of vb script?
Explain the tristate constants in vbscript?
Explain about tristate constants in vbscript?
How will you convert a string to lower case string using vbscript?
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
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