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 CMMP and CMMH?
What are Error handling other than Recovery scenario manager?
Explain script generated at the time of setting runtime property?
Write the Test Cases for ATM(Any Time Money)
How many test scripts are prapare in ur project(HeathCare Insurance).
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
How can you pass value one action to another action?
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
I used Child objects to get the count of the no of weblist present in the page.now i need to select the item in the weblist..Please send me full code
How do I modify a value of an elemnt which is not the first one in xml file? My sample XML file is like: <Environment> <Variable> <Name>Name</Name> <Value>Uday Kumar</Value> </Variable> <Variable> <Name>Designation</Name> <Value>Senior Software Engineer</Value> </Variable> </Environment> for example, I'd like to change the value 'Senior Software Engineer' to 'Student' in the second element. How do I do it in QTP?
Differenece betwen Project and product ? when company need project or product?
How to Analyze the Checpoint results by Text/Text Area Checkpoint?