i created script for login in QTP,i parametirized that
using global sheet,problem i am facing is first i want to
login with first values provided in excelsheet and want to
perform some operation,second time if call same action it
should login with second values in excelsheet
Answers were Sorted based on User's Feedback
Answer / sadashiv (wipro)
hello we should change the settings for that
file-> settings->Run->run the row from 1 to 10 then we can
pass the all the parameter from the datatable.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / aswinikumar.av
I am supposed to set the value in QTP under File-->
Settings to run on all rows. In your script, take the count
of all the rows in the Excel Sheet and then put in a For
loop and run your action. This is to move the pointer in
Excel Sheet to the next row in the Datasheet to pick the
newer data for execution.
| Is This Answer Correct ? | 0 Yes | 8 No |
How will you convert a string to lower case string using vbscript?
If else for do while select in vb script?
What is the difference between vb debugger and the script debugger?
am giving to one number u can set into that in date format.u can use any methods
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
accept an email id & validate it .email id should not exceed 25 characters the mail id should contain 3 characters excluding domain name,@ and .(dot) the last 3 characters of the domain should be net,com or org
when we use filter funtiom invb script(QTP)
How many types of operators are available in the vbscript language?
What is difference between Active screen and movie screen recorder in QTP 9.2?
how to add action through AOM in QTP
can anyone tell me the procedure of interview held in applabs
How will you reverse a string in vbscript?