when we enter url,one page should open.write a vb script
,that page is open or not
Answers were Sorted based on User's Feedback
SystemUtil.Run "C:\Program Files\Internet
Explorer\iexplore.exe","","C:\Program Files\Internet
Explorer","open"
Browser("title:=about:blank").Page("url:=about:blank").Sync
Browser
("title:=about:blank").Navigate "http://www.google.com/"
If Browser("title:=Google").Page("title:=Google").Exist then
msgbox "Page Exists"
else
msgbox "Page does not Exist"
end if
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / leena
Browser is open with blank home page
Browser("version:=internet explorer
6", "Title:=about:blank", "openurl:=about:blank").Navigate
("http://www.google.com/")
Dim a
a=Browser("version:=internet explorer
6", "Title:=Google", "openurl:=about:blank", "name:=Google")
.Page("Title:=Google", "url:=http://www.google.co.in").Exist
if a="True" then
msgbox " Page is open"
else
msg "Page is not open"
Is This Answer Correct ? | 1 Yes | 4 No |
I am using DataTable.ImportSheet method to import the data from an excel sheet to the Runtime DataTable of QTP. here is my piece of code DataTable.import("c:\DataSheet.xls","Members","Members") The first row headings of Members sheet of DataSheet.xls and Members sheet of QTp are matched. but the QTP is taking very long time(approximately half an hour) to import the data into runtime datatable even though the DataSheet.xls has one or two rows in it. Please let me know why this is happening and is there any alternative for impoting the data into runtime datatable of qtp ?
what is difference between Mandatrary proparties and Assistive proparties? Explain
What is the Diff between Image check-point and Bit map Check point?
Explain the terms test and business component?
if we can find the status of script in qtp that either it's pass or fail then why we need to put this status on different excel file or log file in hybrid framework .please let me know asap thanks
What is the Difference Between Quick Test Pro and Quick test professional?
write code to read and write data from file?
It is a SQL question. Write a query to find top three salaries in an EMP TABLE?
What r the features of QTP9.2,other than QTP8.0 What r the extre features of QTP9.2.
What is the limitations of BVA?
What is the difference between Mandatory and BaseFilter Properies..Anybody please answer me..Thanks in Advance
How does QTP identify an object?