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 |
I have made the recovery scenario in script. When i am exceuting the script. it stop automatically after running recovery scenario. Please tell the resaon?
How can we get a textcheckpoint in QTP9.1?
I am using Shared OR, and my collegues are also using Shared OR. How to merge Object Repositories?
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
How to connect to oracle(sqlserver) database to QTP
How will you declare a variable in qtp?
How to capture screenshots of Exceptions/Errors during run- time?
Hi All, How to get repeated word in string . Thanks Balaji
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me
What are different versions in Win Runner ,QTP ,Load Runner and Test Director till now and atleast please let me know new features for each version. Ex QTP8.2,QTP 8.5.QTP9.2 supports Mozilla 2.0
i have 100 manual test cases, how to automate from no 1. ols detail steps
How to execute a VBS file without using Execute File statement?