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 |
Explain the views in the QTP GUI?
How do you convert manual test cases to automated test cases?
HOw to add the recovery file at runtime to the test file .
Explain building blocks of the bpt framework ?
how much space occupies in object respository by default?
Give me the Example of standard check point and text check point with syntax?
3 Answers IMI Soft, IMI Soft Engineering,
Deal All, Recently i face one interview question in one company. str="test12@#3456" In This i want to print like special character and numeric ,word in one script please tell me how to write the code for this Thanks Balaji
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
how can we compare descriptive programing with a regular expression
What are the general steps involved in the data driven framework?
How comfortable are you in VB scripting?