Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP not recognizing the webelement
#1
Not Solved
Hi, I am trying to validate if a webelement property exists on the page or not. But QTP always returns true Sad and not going to Else part . Below is my code. pls help Sad
************************************************************
Code:
BlnResult = Browser("CDMS :: Master Agreement").Page("CDMS :: Master Agreement").WebElement("File Upload successfully").Exist(0) Then
Msgbox "Success"
Else
Msgbox "Fail"
End If
************************************************************
QTP always true even in case if web element doesn't exist on the page.
Reply


Messages In This Thread
QTP not recognizing the webelement - by vidya2k2 - 04-03-2015, 09:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP recognizing every JavaEdit as "VTextField" having different index values. K Gaurav Varshney 1 2,393 10-29-2012, 11:51 AM
Last Post: krr
  Application and QTP freezes when recognizing/selecting Java Tab pora 4 6,710 01-10-2012, 10:11 PM
Last Post: sunnyk8
  QTP Webelement with Html tag as OPTION pjr 0 7,001 01-30-2011, 05:33 AM
Last Post: pjr
  QTP Not Recognizing WebElement Sathiyakum 6 10,438 01-27-2011, 07:46 PM
Last Post: Arun Prakash
  QTP WebElement Click Help Anilkr 1 8,815 02-04-2010, 01:35 PM
Last Post: sreekanth chilam

Forum Jump:


Users browsing this thread: 1 Guest(s)