Write a test case using Test if the images,a particular test
exists,check if the page links match,page response is within
a certain range,parameterization of the test,the test should
comprise of actions,the test should use a custom
function,the test should use global repository


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More VB Script Interview Questions

How will you get the exponent of the given number in vbscript?

0 Answers  


Mention characteristics of sub procedures?

0 Answers  


Mention the rules for using option explicit statement?

0 Answers  


What are the environments supported by vbscript language?

0 Answers  


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

0 Answers  






I want to count the total no of links present in yahoo home page. The script like Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo!India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing But while running the script it is fail (the object not present in the object repository).How to overcome please tell me the detail steps...for QTP9.30

1 Answers  


Which keyword is used to declare a variable in the vbscript language?

0 Answers  


How can you create an object in vbscript?

0 Answers  


How to Import data from a file (file is on the desktop) to the data table

0 Answers   IBM,


write a vb script create 5 folders test1 test2 test3 test4 test5

3 Answers  


write a vb-script code to delete all the mails in my gmail in the year 2011

1 Answers  


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

0 Answers  


Categories