we executed QTP scripts in one browser(i.e IN)same scripts
is working on another browsers or not (i.e mean netscap,m
azol..like )
Answer Posted / satyanarayana
Hi Harry you are absolutely correct.
We have to record the scripts using only IE.
But we can run our tests in any browser.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
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
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
Explain the tristate constants in vbscript?
Explain vbscript in detail?
How to replace junk code recorded by QTP with a mall function.
What is vbscript language used for and which earlier language is it modeled upon?
How to Import data from a file (file is on the desktop) to the data table
What is the scope of a constant declared using public?
What is the technology used by vb script?
create a form to accept username and password validate the username and password with using message box, display the corresponding user message
Explain the .wsf files?
when we use filter funtiom invb script(QTP)
What is loose binding? Why is it not a good practice to use it?
regular expression that will recognize a browser as long as its name property starts with mybrowser
How to capture a runtime error in vbscript?