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 |
What is the Dynamic Scenario in QTP? And also anybody give the example for this?
How will u declare a variable to access multiple actions? a)Dim b)Global c)Public d)Private
What is Reusable component is QTP...Anybody can answer it..Thanks in advance...
what is the difference between IE & Netscape in web testing on a log in page
How to retrieve the data from database?
-->IF two TextBOxes are there in a "Form". -->A table contains some records which contains usernames & password.. -->What is the script we need to write using Descriptive programming concept...in QTP (simply DATA DRIVEN TEST SCRIPT OF QTP)?
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
Can we directly automate test script according to requirements?
What is the syntax to call one action in another?
Plz suggest me a good training institute in Mumbai/hyderabad for QTP…. Plz advice thank u
HOW TO CONVERT MANUAL TEST CASES IN TO AUTOMATION TEST SCRIPTS EXPLAIN THE PROCESS?
difference between do while and do until ?