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 |
3 differences between QTP & Winrunner?
Can we test internet application using QTP?
Suppose i have a script which is having 100 lines.I want to execute that script starting from line no 75.means first qtp should read the script from line no 75 how can u do it.
5 Answers Lehman Brothers, rsystems,
Why qtp always start action1 and does not start action?
1. Can anyone help me with recovery scenarios, each type with examples and also what is on error resume next?
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
how to insert QTP to display errors and other description in the test results instead of halting execution by throwing error in the mid of executin due to an error (for object not found)?
How do you connect to database ,What is the script to connect DATA BASE?
Hi I have created a table in the MS access database. I want to access the table in this database through QTP. The code is given below. The code is not working.The following error is displayed "Data source name not found and no default driver specified". Any one can correct the code. Thanks in advance. Dim dbconnection, rs Dim ca, sname Set dbconnection = createobject("ADODB.Connection") Set rs = createobject("ADODB.Recordset") dbconnection.open "DSN = MS Access Database","", "" rs.open "select * from Research", dbconnection rs.movefirst If rs.EOF <> True AND rs.BOF<> True then ca = rs("order_number") sname = rs("customer_number") rs.movenext msgbox ca msgbox sname End If
what is test scheduling?
How to handle the exceptions using recovery scenario manager In QTP?
how you update scripts in qtp?