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

i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.

1652


hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]

1686


Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)

1855


what are the challenges you have faced while testing web based application using the automation tools ?

850


Why is Client side image is preferred over server side image?

1676


Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.

1769


what is meant by Implicit and explicit requirements?

3869


How many ways we can parameterize data in quicktest professional?

771


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

3202


What is quicktest professional (qtp)?

777


Hi,All How to create a link in excel sheet using qtp

3211


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

799


how to test Web application using QTP software

1540


Can we run multiple QTP scripts one after the other without manual intervention? How?

797


In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.

1762