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 r steps to migrate from Manual testing to QTP?(IN BOTH WEB BASED AND WINDOWS APP)
How exactly you start scripting in QTP? In the interview he was not satisfied with my answer.Please post what is correct answer.
How to handle the exceptions using recovery scenario manager in QTP?
Explain process of smart Identification in QTP?
How to identify 2 versions of browsers based on regular expression
Hi my name is mohan. I am working as a manual tester.. And now i want learn QTP.. is there any online websites to learn QTP for free if u know any plz help me out..,.or send mail to k.mohann.mohan@gmail.com
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
0 Answers Sapient, Satyam, TCS,
when a test case is written how u test using qtp
How to display the first 3 letters in these "ABCDEFGH" using qtp script?
How we can import data from database?
How can we get the result from WindowsXP Command Window? (e.g. After we input 'ipconfig' in command window, how QTP get the result?)
Hi,can anyone tell me How to found the number of 1's and 2's in the given format 1,1,2,2,3,3,4,2 using vbscript Thanks in advance