hi,i have a pblm in qtp,im testing an webappl in which
different types of error pop up messages are displayed
which qtp is not differentiating or it is not recognising.
how do i make it recognise different popup errorm messages
while writing script?

Answers were Sorted based on User's Feedback



hi,i have a pblm in qtp,im testing an webappl in which different types of error pop up messages ar..

Answer / mukesh

Hi guys he is asking about how to recognise one pop up from
other and not of the error message when the application
fails----I am also facing the same problem

For example QTP dosen't recognise different pop up message
if we use it in a If else statement----i.e for all pop ups
it goes onlt in the 'If' condition always

Is This Answer Correct ?    0 Yes 0 No

hi,i have a pblm in qtp,im testing an webappl in which different types of error pop up messages ar..

Answer / kamesh

Use the Recovery manger to diffrentiating the pop up..Here
you have two check box options like
1. Window title and Regular expression
2. Window text contains

Is This Answer Correct ?    0 Yes 1 No

hi,i have a pblm in qtp,im testing an webappl in which different types of error pop up messages ar..

Answer / rosy

Hi, use Recovery Scenario manager for error handling, you
can instruct it to recognize the error.

Is This Answer Correct ?    0 Yes 1 No

hi,i have a pblm in qtp,im testing an webappl in which different types of error pop up messages ar..

Answer / raja

Use recovery scenario or else learn the OR of those windows
then handle those pop ups thro' script...

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538

0 Answers   Cap Gemini,


When i used this below script to insert value in the Datatable... At run time it was inserting the given value in the specified column, But after execution all those inserted values were cleared automatically... datatable("column name",sheetid)=value

1 Answers  


How can we upload pdf files in qtp?

1 Answers   Syntel, TCS,


what is the diff between Procedure and function

3 Answers   iFlex,


can u please explain what is the exact difference between qtp8.2 and 9.0

0 Answers  






Interviwer asked, How many years exper.. on QTP? I said, total 2 yrs exp in manual and QTP. QTP only current project arround 3 months. then interviewer ask , HOW BOLD YOU QTP? What you say?

1 Answers  


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

0 Answers   Accenture,


How you used DDT in QTP?

1 Answers  


we are submitting data one form to another form.defaultly it is time period set as 5sec. but it is taken 15sec what to do

5 Answers   Covansys,


how to capture objects of remote deskop as it is capturing only window.

1 Answers   Wipro,


I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”

0 Answers  


Hi I have exp in manual testing and planning to move in automation testing qtp(9.2).So can help me how to automate customer relationship management tool using qtp and vb script this tool already developed so how can I test it whatever maintaining by development team like documents,various options just give the whole life cycle thanks in advance

0 Answers   Mphasis,


Categories