IF there are seven browsers with same name open. I want to
close one particular browser thru QTP. how can i do this?
Answers were Sorted based on User's Feedback
sorry venkatesh,
i am agrre with u. But one small correction is the creation
time is start with 0.
if u want close first browser u can give no 0,
if u want close 2nd browser u can give no 1 ,
Ex: for closing seventh browser,
browser("CreationTime:=6").close
| Is This Answer Correct ? | 17 Yes | 0 No |
Answer / deven
while browser ("CREATIONTIME:=7").exist(3) then
browser("creationtime:=7").open
wend
| Is This Answer Correct ? | 0 Yes | 3 No |
Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?
what is Defect density, defect leakage, defect age,latentbed,yasid testing, interface
Hi, When I click on a hyperlink a secondary pop-window will open. In that pop-up window there will be 'N' number of records arranged in with paging option in datagrid table. Each rows contains two columns, one is text and the other is a radio button. I will pass the first column value and based in it the tool have to select the corresponding radio button in that row. Please someone help me how to handle this as am new to QTP.
What are the different ways to invoke an application using QTP?
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!
What exactly is the difference among all the three recording modes.
How can i count the list box elements in QTP ?using script plz explain me (Chandana)
Can we create test script with out Step Generator?
Is it possible for QTP to capture the objects in word document.If so please give me the code.Thank you.
How to catch the TOol Tip Dyanamically changing values using the qtp script by Descriptive Programming Scenario: ======== 1. when i press the submit button 2. The Tool tip first shows the value "Validating...." 3. Next the value is changed in tooltip "Logging....." ------ And the class is webElement SO , how can i catch both values During Run time using Dp
What is the Difference between Environment variable and Globle variable,.. anybody can give me answer..Thanks in advance...
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