I am running a windows based application.While running the
script on QTP ,The Application pop-up an Error Message
as "object Disabled" in two different scenarios
Scenario 1-->The Application pop-up up a Message for Max
Session Reached(as the application is set to hold 2 session
and if if crosses the pre-defined limit then the error
message pop-up)
Scenario 2-->When Network connectivity is disabled the
Application screen gets greyed out in colour with no
operation possible.
Now through Exception handling features in QTP ,we need to
do the following
For Scenarion 1-->Through Exception handling we need to
just accept the Message pop-up in the Application and and
resume with the call function as is
for Scenario 2--> Through Exception Handling featutes on
QTP we need to shut down the client , restart the client
and resume the call functions as it is
Note: The Application returns an Error Message as "object
disabled" in both the cases i.e for pop-up message and when
the Apllication getting greyed out due to Network failure
how can we enhance the script in such a way that for the
same error message retured by the application in two
different and how to handle them????
Answer Posted / kkk
Hi
Handily recovery scenarios in QTP so many ways is there
Recovery scenario Manger (exte:qrs)
a) Popup recovery
b) Application cash recovery
c) Object status exceptions
d) Test runner error exceptions
2.) Run time setting is a one error handling
3) On error resume next step is a one error handling
a) on error resume step no 0
4) Using the descript is final recovery scenario
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the environments supported by vbscript language?
Which function is used to perform string comparison?
How can you create an object in vbscript?
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
Is VB Script Case sensitive or Case insensitive?
wht must be the interview question on corinthian information technology solutions incorporated.
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.
How to add actions in driver script to run those actions in QTP?
How will you get the largest subscript of an array in vbscript?
What is the purpose of drive object of scripting.filesystemobject class in vbscript?
Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
Differentiate javascript and vbscript?
What are lbound and ubound in the vbscript language?
what is the use of QCUtil? explain with one example?