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
Answer Posted / pramod mallick
use
SystemUtil.CloseProcessByName "IEXPLORE"
'It will close all Browsers with all dependant popup
windows.
| Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?
how will you check how many members visited the website www.infosys.com?
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?
Is any limitation to xml checkpoints?
What is the use of Debug Viewer?
Did the scripts need lot of maintenance? If yes, why?
How can you identify the browser and its information using QTP script?
Explain types of descriptive programming?
what is impact analysis on regression testing?
How to open a new test using quicktest professional?
What are the key elements available in test result window?
What are the factors on which script execution time is dependent?
What is test object?
I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }