when i am running login page i got test run error? Please give
me the script to handle run time exceptions. It's urgent for
me.
Answers were Sorted based on User's Feedback
Answer / ramana vanteru
Hi,
i dont know what exactly the error is, but what i can
suggest you is: use "On Error Resume Next" to handle
runtime errors.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / subasish nayak
in qtp we can handle run time error by two methods.
1.Recovery scenario
2.On Error Resume Next
Recovery Scenario is QTP internal Features
where as On Error Resume Next is the vb script features.
| Is This Answer Correct ? | 3 Yes | 0 No |
Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.
what could go wrong with test automation?
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
what is the script(qtp) to export and import the datas from MSaccess to Excel sheet.if anybody know plz tell me.
Synchronozation types in QTP
How to make arguments optional in a function?
When and why do you use "OPTION EXPLICIT" in VB Script. Is there any online help or something to learn the script for Beginners?
I am in need of some set of QTP FAQ @ interview. Also recently in one of interview portal they asked me how you write the script for Login application which it is web -based and using Descriptive Programming? Without associating the shared object repository?Please i do need this answer very soon? Please respond me soon @ vaisu72@yahoo.com
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
What is the virtual object?
can we call runaction in the funcion