how to retrieve native property value in runtime?
Answer Posted / prathyusha
we can Getroproperty("property")
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to capture a runtime error in vbscript?
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
How to create a function in vbscript?
Explain the scope of the variables using dim, public, and private keywords respectively.
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
What is the purpose of regexp object in vbscript?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
How will you get a string with the specified character the specified number of times in vbscript?
What are the 2 ways to pass a value to the function?
What's the difference between vbscript and vb.net?
Which event is triggered when mouse focus comes out of an element in the vbscript language?
Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.
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
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?