Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to check if correct page/Browser is opened
#3
Not Solved
U can use this:
Code:
If  Browser(oBrowser).Page(oPage).WebElement("html tag:=DIV","innertext:=SelectFlight").Exist Then
          Call WriteCheckpointResult(2,"Verification Of Page","page exists","Pass")
      Else
         Call WriteCheckpointResult(2,"Verification Of Page","page does not exists","Fail")
     End If
Reply


Messages In This Thread
RE: how to check if correct page/Browser is opened - by sshukla12 - 08-04-2011, 03:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation Very Slow Response time of WpfApp when QTP is opened. krr 1 3,404 11-23-2011, 09:06 AM
Last Post: sowmya
  How to Recognize that Browser returns an Error page after hitting a URL with QTP ? Sukhvinder 7 6,424 07-09-2011, 11:11 AM
Last Post: rajpes
  2 process opened for ie help priya999 5 5,132 02-25-2011, 03:35 PM
Last Post: basanth27
  New browser/page for each new object added in OR ritugoyal 1 2,412 12-15-2009, 06:17 PM
Last Post: Ankur
  unable to add objects of 3rd succesively opened window to Object Repository abhaya_147 2 3,031 10-20-2009, 04:09 PM
Last Post: abhaya_147

Forum Jump:


Users browsing this thread: 1 Guest(s)