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 |
what is the long form of QTP ?
What is output value?
how to test Web application using QTP software
Hello everyone, I am trying to parametrize a script. Its clear to me that, we use data table to enter various text data. but if I want to change the radiobutton (e.g. if for first iteration I selected radio button 'A' and for second iteration I want to use 'B' radio button for second iteration) then how can I make it happen. I have tried to define the question but still if not clear plz tell me. Thanks everyone
can i able to connect any version of qtp to any version qc
HOW do we find a datasheet when there are 4 datasheets in data table.this question was asked by covansys interview.
Write a code check the checkbox in the web table which is in the 4th row and fifth column (Use child item concept)
Hi friends I am new in Qtp. now i am Searching on Qtp give real time inter questions with answers.pls help me
How do I get the QTP scripts result in xml format by using vb script function?
How u call functions in QTP Function to calculate the length of characters in a word -
When Object Repository is available what is the necessity of having Descriptive programming which needs more scripting efforts.
How to retrieve value (data) from notepad using QTP ?