how to write function to validate the number of characters
entering into the text box?
Answers were Sorted based on User's Feedback
Answer / bfakruddin
dialog("text:=Login").winedit("attached text:=Agent Name:").set "Baba"
text=dialog("text:=Login").winedit("attached text:=Agent Name:").getroproperty("text")
Function length(text,le)
le=len(text)
End Function
Call length(text,le)
msgbox le
Is This Answer Correct ? | 2 Yes | 1 No |
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
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
Can anyone send me a vb script function for verifying the functionality of active links on a web page
How to write VB script for login module?
can u test the application without add-in?
this q asked in applabs, q is: QTP should open google.com page and enter "qtp" in one edit(search) box and click search and should open google.com again and enter "job" in edit(search) box and click on search. I tried this but getting error "Edit(search) box matches more than one object", could anyone this question plz..
Give examples where vb script can directly run on users system with windows as os?
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
what is the features of visual basic?
join all the array values without using join function?
how to display all the links in one page using vb script in qtp.
1 Answers DST Global Solutions,
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar