How to find arry size in qtp vb script
Answer Posted / eswar
Use ubound method to get the array size.
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
Which command is used for writing text on a page?
Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?
Description.Create
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
What are the disadvantages of vbscript?
did any one attended interview in applabs if you had gone through plz tell me the procedure
Which operator can be used to do an xor operation in vbscript?
How to access array data?
When to use function procedures and what are its characteristics?
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
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
Explain about tristate constants in vbscript?
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?