if there r 10 windows open in QTP write a command to close
all 10 windows at a time ?
Answer Posted / kamaldeep singh
If u are using iexplore then use this function
SystemUtil.CloseProcessByName ("iexplore.exe")
For mozilla only change the name i.e iexplore.exe
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
How many tabs are available in debug viewer pane?
How to use Environment parameterization? Explain with an example.
Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
what is the difference between built-i function and In-built function?
Mention the test steps of qtp.
What is checking bitmaps?
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); }
How to open a new test using quicktest professional?
How software automation specialist enter steps in the Expert View?
Explain in brief about the qtp automation object model (aom).
What is the keyword view and expert view in qtp?
How do Parameterization and Data-Driving relate to each other in QTP?
what r the main attributes of test automation?