What is wrong in my code?

Answer Posted / uma

Hi,
Below is my code,
If Browser("opentitle:="&result,"application
version:=internet explorer 7").Exist Then
print "ok"
else
print "no browser"
End If
If Page("title:="&pge1,"height:=593","url:="&purl).Exist
Then
print "ok"
else
print "no page"
End If

Here I am able to get the browser.
for the page,I am passing exactely same properties,
what I got it from Object,but it always printing no page.
[I am passing the title and url and i am directly giving
height value]
Any help?
Thanks
Uma

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to change the values of analog recording?

852


Both static and dynamic arrays are handled by the vb script. Is it true?

822


What is the virtual object?

906


what is vmodel?advantages and disadvantages of vmodel?

1845


we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

2010


What are the steps involved in recovery scenario wizard?

778


how will you load the test cases in ddt?

1856


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 ?

2039


www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example

1973


What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?

2087


What is clean sweep?

1631


In Remote acess server how u run a test?

1506


could any help me please, how to work on visual foxpro application using UFT

2062


Differences between quicktest professional (qtp) and winrunner?

930


Does Low-level recording capture mouse movements?

813