Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP not recognizing objects sometimes
#1
Not Solved
Hi,

I need a favour from you guys, my QTP script is configured to open up a website, check for the content (that I fed into Object Repository) and accordingly throw a FAIL or PASS based on whether the content is found or not.

However, the script sometimes recognizes the content and at times cannot, and hence I receive false FAILURE alerts for unknown reason. Here's a bit of code snippet that causing irregular failures. Please assist.

Code:
If  Browser("ABC").Page("XYZ").Exist(0) Then
   If Browser("ABC").Page("XYZ").Image("header_app_title").Exist(0) Then
    sMsg = "Ineos Credit Control Tool page launch successful"
    sStatus = True
   End If
Else
  sMsg = "Ineos Credit Control Tool page launch failed"
  sStatus = False
End If
Reply


Messages In This Thread
QTP not recognizing objects sometimes - by bharadwajk - 09-19-2012, 02:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP not recognizing date calendar kQTPs 1 3,469 12-20-2017, 11:21 PM
Last Post: harikrishna
  QTP 11 not recognizing WPF objects in Windows 7 32 bit system Pallavi 1 3,316 06-13-2014, 03:43 PM
Last Post: vinod123
  QTP recognizing Oracle forms as Java objects shankar.srini88 0 4,417 03-25-2014, 10:26 AM
Last Post: shankar.srini88
  QTP not recognizing the fancy box-item sxavierraj 1 2,344 03-05-2014, 05:26 PM
Last Post: guin.anirban
  WPF DataGrid is not recognizing properly suvenduitc@gmail.com 0 3,186 02-13-2014, 03:27 PM
Last Post: suvenduitc@gmail.com

Forum Jump:


Users browsing this thread: 1 Guest(s)