hi
Set myobj=Description.Create()
myobj("type").value="submit"
myobj("name").value="google search"
myobj("html tag").value="button"
browser("title:=google").page("title:=google").webButton
(myobj).Click
i was running above code in one weak back it was working
fine i got result,again i opened after few days ,again i
was trying to run the code it shows run time error in last
line of my code ,why ?pls answer my question?
No Answer is Posted For this Question
Be the First to Post Answer
How will you compare two strings in vbscript?
How will you convert a string to lower case string using vbscript?
Explain what is loose binding? Why is it not a good practice to use it?
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
How to add actions in driver script to run those actions in QTP?
What is the differene between QTP 8.2 and QTP 9.0 and QTP 9.1,Pls give me answer ASAP.
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
Can anyone help me in write coding to get this pattern * ** *** ****
write a script to count no drives in file systems in qtp?
To get data from table which method will be used in QTP
What are the properties of regexp object?
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