We have 10 page.In first page we 2 popup and next page we 3
popup window......(windows name is different)how can we
handle the all the popups without using recovery scenario
Answers were Sorted based on User's Feedback
Answer / niranjan chandramouli reddy
IF you are getting in different pages of same browser.
then you can use the following code:
Do While Browser("Logical name :=Property").Dialog
("ispopupwindow:=True").Exist
Browser("Logical name :=Property").Dialog
("ispopupwindow:=True").Close
Loop
You can use this as function and call this function in
every page
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / rahul
If the displayed dialog property is same then we can use below listed code
If Browser("").dialog("").exist then
Browser("").Dialog("").webbutton("").click
End If
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / pramod mallick
use
SystemUtil.CloseProcessByName "IEXPLORE"
'It will close all Browsers with all dependant popup
windows.
| Is This Answer Correct ? | 1 Yes | 7 No |
How many ways we can parameterize data in QTP?
What is object repository?
I have the following Doubts Please clarify me with examples? 1.Could QTP cover entire application? or part of the application? 2.Shall we rewrite(modify) the Manual testcase to automate? 3.How can I execute my scripts through client mechine which is not having QTP installation 4.Few objects are not being identified by QTP afeter one month. what could be the reason for this (I am using trail version of 15 days)
how qtp identifies objects of application.
In key word driven framework,we will rename the logical names of objects,why?
how many script you will wright in a year ? i told it's depends on the proj..and 'n.no of ... but he forced me to tell some num. or avg .....how many i suppose to tell..??and do a favor per day how many script don't thing it's repeated question or common ...help me post a ans...thanks for advance
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional" O/P "Professional Test Quick"
can anyone proide me reading material on svit00ef27@yahoo.com please thanx in advance
Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?
if Object repository contain x and y properties. we do not know whether they are mandatory or assistive properties. While executing the script qtp will use both the properties or only sufficient properties to identify the object. It means it use OR (or) AND
Hi Recently I Attend one interview .The intervier ask on Question in QC 9.2 . The Qus was while ruuning the Batch RUNS scripts in test lab if defect will comes .The defect automaticly wants to genate . How to Configure in QC . Thank You Balaji