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 silent mode in WR?
w is time parameter
what r the drawbacks and limitations of QTP?
How can we use regular expressions for a table in web page, each cell in table having unique identification, Now I want to count number of rows in table and enter data in all cells of the table?
How to check which add-ins are associated with a test in qtp?
What are software testing metrics
What is synchronization? What are the ways you can synchronize?
How can we perfom Action and Component parameter.?
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
Apart from VB script What are the fundamental criteria to gain the knowledge to write QTP script without OR and recording ?
What is test object?
How many types of recording facility are available in QTP?