Suppose there are 10 browsers opened on desktop. I want to
close all browsers except one browser in QTP. Can any one
give the code for this?
Answer Posted / shankar
set brow=description.create
brow("micclass").value="browser"
set brows=Desctop.childobjects(brow)
for i=0 to brows.counts-1
browser(brow).close
please reffer this and if it is wrong give me clarification.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How does qtp identify gui object?
Explain quicktest professional testing process?
how many maximum number of virtual users we can create?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
Differences between text and test area checkpoints?
What is the new version of qtp which is recently released in the market?
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
can any body give the banking domain concepts/links
How to open a new test using quicktest professional (qtp)?
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page
What are the different types of functions available in qtp and explain ?
What is QTP testing process?
How can you write the scripts that operate on different objects depending on run-time information?