what is the code in QTP to take screen shot? Please send me
any one to my mail id. my mailid is manu.sanepalli@gmail.com

Answer Posted / pankaj jaju

Desktop.CaptureBitmap "C:\test.bmp"

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you convert a string to upper case string using vbscript?

561


When are redim statement and preserve keyword used in the vbscript language?

603


how to increasing the numbers in a given text box please write a vb script

1706


What purpose does ‘on error resume next’ serves?

553


Which loop is used in case of arrays in the vbscript language?

524






Explain the arrays in vb script?

595


How many types of operators are available in the vbscript language?

540


How to Convert Hex color code to color name in VB Script?

3934


How to delete a cookie using vbscript?

555


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

2244


how does vb script help in web page designing? explain with example.

1590


What is vbscript procedures?

604


How will you format a number in percetage format in vbscript?

593


Both Static and dynamic arrays are handled by VB script. Is it true?

615


What are the data types supported by vbscript?

581