Dear All,
I am geting below IE error whilie executing the QTP scripts in Batch mode
"Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience."
can any one suggest me how to resolve this issue .
Thanks
Balaji
Answer / Pradeep Kumar Verma
The issue you're facing might be due to compatibility issues between QTP and Internet Explorer. Here are some possible solutions:
1. Update your Internet Explorer to the latest version.
2. Repair or Reinstall QTP.
3. Run IE in Compatibility Mode.
4. Disable ActiveX scripts temporarily.
5. Set IE security settings to Medium-Low.
| Is This Answer Correct ? | 0 Yes | 0 No |
how to write validation function for date in vb script
write a vb script to open a text file and write into it
What is the use of option explicit statement?
How to open a file. What is the perpose of true and false mode there?
I have a webtable and many objects are embedded in side.(like buttons,checkboxes etc). How to know how many such objects are there? what is the class of that objects?
how to display all the links in one page using vb script in qtp.
1 Answers DST Global Solutions,
What are keywords in the vbscript language?
What is string concatenation function in VBScript?
There is a web Table where You will find Two Columns First Column consist of Check box and Second column consist of Test cases ID(Viz T1,T2,T3....Etc); If You select any Test case ID, respective Check boxes to be checked write a VBSCRIPT for this scenario?
Mention how you can call vbscript functions?
write a vb script to generate the following pattern ***** **** *** ** *
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