Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP cannot identify my webpage
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
i'm trying to do a descriptive programming for our test website but QTP cannot recognize the page. I test the same code for other website like Yahoo and Google and it is working fine.

i'm pretty new in QTP, as i have started using this just last week. if some expert can give me a working solution it will be very much appreciated. below are my codes... i'm not sure if you can access my webpage since it's only accessible on our LAN.

'-------------------------------------------------------------------
Code:
'*** Yahoo!
'SystemUtil.Run "iexplore.exe", "https://login.yahoo.com","","open"
'strTitle = "Sign in to Yahoo!"

'*** Google
'SystemUtil.Run "iexplore.exe", "http://www.google.ca","open"
'strTitle = "Google"

'*** PTE
'SystemUtil.Run "iexplore.exe", "http://bptest.wmic.ins/wps/portal/broker","","open"
'strTitle = "[QA] Wawanesa Broker Portal"


' sync and get title of the initial page
With Browser("title:=" & strTitle).Page("title:=" & strTitle)
   .Sync

   MsgBox .GetROProperty("title")
End With
'-------------------------------------------------------------------
Reply


Messages In This Thread
QTP cannot identify my webpage - by Joel Abad - 04-20-2011, 07:58 PM
RE: QTP cannot identify my webpage - by Joel Abad - 04-20-2011, 09:44 PM
RE: QTP cannot identify my webpage - by mbnrguy - 04-21-2011, 03:09 AM
RE: QTP cannot identify my webpage - by Lakshman - 06-03-2011, 09:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  webpage WinObject has same name Ananthakumar_S 0 1,570 11-30-2016, 09:48 PM
Last Post: Ananthakumar_S
  Check specific links of a webpage rocky9 1 2,556 06-11-2015, 06:23 PM
Last Post: venkatesh9032
Exclamation How to verify whether pdf is completely loaded or not in webpage nmakkena 1 2,501 08-27-2014, 04:09 PM
Last Post: vinod123
  Handling .NET framework menu in webpage using QTP 10 vishnu1067 0 2,212 05-15-2014, 05:30 PM
Last Post: vishnu1067
  Comparing webtable data with weblist and webelements in other webpage arnav 1 5,600 04-18-2014, 10:01 PM
Last Post: Parke

Forum Jump:


Users browsing this thread: 1 Guest(s)