What is wrong in my code?
Answers were Sorted based on User's Feedback
Answer / pavani prasad
Hi Uma,
try the below one, hope it will work.
If Browser("opentitle:="&result,"application
version:=internet explorer 7").Exist Then
print "ok"
else
print "no browser"
End If
If Browser("opentitle:="&result,"application
version:=internet explorer 7").Page
("title:="&pge1,"height:=593","url:="&purl).Exist
Then
print "ok"
else
print "no page"
End If
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
Answer / pankaj
Hi ,
try this one i hope it should work
Browser("opentitle:=result","application
version:=internet explorer 7").Exist
| Is This Answer Correct ? | 0 Yes | 0 No |
unique properties of button,edit box, radio button,check box?
after click on compose mail how can we attached a file in qtp with vbscript code
how do close the task manager through QTP?
How to do excception handling ( error handling ) in QTP
6 Answers Institute for Medical Education,
Write test cases for copy and past password in password field ?
How should I get results when I run scripts in a Batch mode
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
How to add check point?
describe common problems of test automation?
How to record objects of Windows taskbar
1. What is diffrence between Analog Recording And Lomlevel Recording ?
How many types of recording modes in qtp? Which will be used when?