If there are some browsers opened and I don't how many browsers are open, Now I want to close all the browsers that I don't know how many are opened.
What would be Descriptive programming for this in QTP using VB Script..???
Please send your answers.
Answer Posted / mogal
While Browser("creationtime:=0").Exist(0)
Browser("creationtime:=0").Close
Wend
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is quicktest professional?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
When you open QTP, how many sheets you can see?
Explain data driven framework?
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
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?
In qtp, how you can get the last character from a string?
What is the quicktest professional (qtp) testing process?
What is an expert view and keyword view?
How do you create new test sets in td?
I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)
How software automation specialist enter steps in the Expert View?
What is qtpro? What is quick test pro? What is a quick test professional?
How to use the object spy in quicktest professional (qtp) 8.0 version?
What is a recovery scenario?