i want to handle all the unwanted pop up through QTP i done
that with recovery scenario but it need some title of pop
up but i want that it should handle all the pop up even i
don't give the title of that pop up in recovery scenario is
there any general way to handle all the pop up please
help
Answers were Sorted based on User's Feedback
If U found any popups or error messages u need to recover
from that situation in runtime. For this we can use DP with
IF condition and Exist and Click methods.
EX:-
If OH.Exist Then
OH.Click
Else
Endif
OH means Object Heirarchy. EX:-Browser().Page().Frame().----.
Here I have given the answer with full explanation,this is
useful for Beginners.
Any doubts mail to
mskalyan.smile@gmail.com
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / jay prakash
Yon can use descriptive programing (DP) for such scenario.
QTP supports the concept of DP for such cases only where u
need to go beyond Object Repositry.
Please let me know if it satisfies your query.
| Is This Answer Correct ? | 2 Yes | 4 No |
Answer / imran sheikh
There is one method to handle the second browser initiating
dynamically, it can be pop-up dialog also.
every new browser has it's creation time. So, below command
will close any Second browser (first one will be one u are
working).
Browser("CreationTime := 1").Close
Count starts with 0 and so on...
| Is This Answer Correct ? | 0 Yes | 2 No |
How do we create and run the scripts with out using O.R. ?
how to write xml output check point bu useing descriptive programing .means without useing output check point
how to get font size of a "WebEdit"
how to parameterizing values from an excel sheet in Quick test professional?
why is execute file used.
Hi I able to record IE object but not able to record mozilla firefox 3 object using QTP 10. i don know wats the problem????
what is the defference between calling ation and called action?
Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers
Explain building blocks of the bpt framework ?
Shared Object Repository is preferable while dealing with dynamic objects ok? descriptive prog also same? ok but why descriptive?(only for w/o application)
How to set the function parameters as optional. Pls anybody can give the answer.. Thanks in advance...
can any one tell me what is process metrics and what is product metrics if possible give me example. Thank You