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 Dynamic Scenario in QTP? And also anybody give the example for this?
How u prepare Test result summary in QTp?
How can i store runtime value through vb script while using qtp
what is object?
How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for this?????
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
what is Unicode Compatibility ? HOw does this makes a diffrence from Winrunner.?
What is TOM in QTP?
How can the functions inside DLL be called from QTP? i mean How can i use those functions(Inside DLL) in QTP
how to capture tool tip in QTP and which check point is needed
In my Script Firstly i have to parametrize the data then we import the data from c drive.suppose i have parametrize the Person name and company Name and i have enter one person name and one company name in the excel sheet now we import the sheet and the script is passed i want to ask one thing can we add more than one person name and more than one company name in the excel sheet suppose firstly we create person name "ADDy" and company nmae.'Wipro" and we set the current row in the script for this data and now we want run the script another set of data so how we can run the script with another set of data
how can i use text check point in descriptive programming. or else is there any way to compare the text in the application and the text in data table.