when we enter url,one page should open.write a vb script
,that page is open or not

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many ways we can parameterize data in quicktest professional (qtp)?

585


I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error

2350


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

654


Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement

1647


in a web page hoe to check the dynamic links that rechabging with out using regular expressions

1781






I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?

1763


Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John

2166


Hi All, How to Compare two strings character by character in QTP

953


banking project description for software tester

7023


Explain the new feature of UFT regarding the export of test results?

578


Explain sub procedure of vbscript.

590


I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You

1520


what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

1706


distinguish between old version and new version QTP features.

1863


Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji

1323