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 |
what is the Debug view?
How to do the Mouse Operations in QTP. How to aacess an Image in a web application to save it on my desktop. To my Knwoledge that can be done by mouse right click on the Image and selecting 'Save the Image'option. Or Is there any alternate way to do this..
how to explain a claims and insurance project?
How comfortable are you in VB scripting?
How we can merge the object repositories?say if we have 2 or 3 object repositories then how we can merge them?Is there any option in QTP to merge the object repositories?
how to validate email?email ie correct or not ?with below conditions. 1)before @(symbol) only alphbates and min 4 char to max 15 chars. 2)before @(symbol) only alphabates dont use ant special chars or numarics 3) after @(symbol) only one dot(.)symbol for ex:abc@gmail.com it is valid email or not based above conditons
How to take screen shot of desktop by using vb script code or is there any method?
How can we disable popup blocker?
anybody give me the real time example for descriptive programming of web application
What is dictionary object? what is the use of it? How you will display all the items in the dictionary object?
QTP identifying the child tabs in a maintab like tab_1,tab_2,tab_3,tab_4 while using a for loop for these tabs.its not proceeding from _1 to _2. How can i use "for loop "
What are the drawbacks of QTP?