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 / sanjaymadhav
Hi
Use Recovery Scenario to overcome this problem...
There are four Types of triggers are there
1. Pop-Up Window
2. Object State
3. Test Run Error
4. Application Crash
You can acces Recovery scenario Thru Tools --> Recovery
Scenario...........
Regards
Sanjay
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Mention what is byref and byval parameters in vbscript?
Explain about the extension .hta?
What is difference between vbscript and vba?
how to comvert 120 into one hunderd twenty rupees only and vice varsa
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
How will you get the exponent of the given number in vbscript?
Mention how to access array data?
Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...
Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.
How to pass argument by reference to a function in vbscript?
In what way program "hello world" you can write in vbscript?
what is the differance between BYVAL,BYREF?
what is diff between static and dynaic arrys?
How regexp.execute method works?
Which operator can be used to change the value of the operand or change the state of the condition?