how to write codings in QTP using vb script. please help
me. i am new to QTP. it is easy or very much tough. please
tell me
Answer Posted / dnrsm
Nothing is difficult in QTP. Just you need to work hard.
Learn QTP objects (Properties and methods) and VB Script.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
How to delete a cookie using vbscript?
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
How to open excel in vb script?
Explain some uses of vb script?
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
How can you create a file object to work with the files in the vbscript language?
What is the difference between vb debugger and the script debugger?
please can you help me to get a code of flames using a visual basic 6
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
filter the array values without using filter function?
Mention what is byref and byval parameters in vbscript?
Which function is used in the vbscript language to convert the specified expression into a date type value?
what is diff between static and dynaic arrys?