generic function for webedit box for web application
Answer Posted / chakrapani
if Browser("name:="abc").Page("title:= xyz").WebEdit
("name:=username").Exist(2) Then
Browser("name:="abc").Page("title:= xyz").WebEdit
("name:=username").Set "Chakri"
End if
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
How to take whole text output from screen of Bitmap Application.
what is used of Property........End Property loop ? how to write the script for it?
Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com
Why is it recommended to close the database connection every time after the work is completed?
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
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
How to write functions and sub in vb script?
Which operator is used to concatenate the 2 values in the vbscript language?
How do you declare a variable in vbscript?
What are string functions in vbscript?
Mention what is vbscript?
how to check whether link is disabled in QTP??
What if you do not specify anything when you call a procedure?
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.
How will you get the exponent of the given number in vbscript?