How will you generate Reports using Vb Script?it asked in
testing(QTP)Interview.Plz Any Body Let me know.
Thanks
uday
Uday_testing@yahoo.co.in
Answer Posted / satyanaryana
By using the following syntax we can pass the reports to the
result window
Reporter.Reportevent RESULT,"PERFORMED ACTION","USER DEFINED
STATEMENT"
EX:
Reporter.Reportevent Pass,"file creation","a new file is
created successfully"
Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
filter the array values without using filter function?
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
Mention when to use function procedures and what are its characteristics?
hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz
How to take whole text output from screen of Bitmap Application.
How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
Which event is triggered when mouse focus comes out of an element in the vbscript language?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
How do i automate a website www.flyashx.com without having any test cases witin a week time.
How to delete a cookie using vbscript?
When does ‘on click of button’ event gets triggered in the vbscript language?
What is the use of the formatdatetime function in the vbscript language?
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
How do you declare a variable in vbscript?
How to create a cookie using vbscript?