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 |
How to get line numbers in your editor in expert view?
why we use check points , In qtp we use the any check points , what r they , when and why
Is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?
What are Test case selection criteria for Automation?
What is TD plugin? For what purpose they are used . Ineed to connect QC9.2 with QTP 9.2 . Need to run some scripts IN QTP having the QC connectivity. Pls explain in detailed step Thanks in advnece
How can you handle exceptions in qtp?
can u give one scenario for for PopWindow Exception & write Code for that?
What is All object and Local object in Object Repositary? Explain me please.
What is the pros and cons between QTP and Rational Robot
can objects recogonised without repository?
tell me abt a time when u had to go above &beyind the call of duty to get the job done
How to insert a check point to a image to check enable property in QTP?