Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object not identified
#1
Not Solved Exclamation 
Hi ,

Can any one help me with my problem.

I am trying to test a web page in which it has some WebElements, I created a new object in OR with shared Object. and Here is my code:


Code:
Browser("HP SALES REP EMAILER").Page("HP SALES REP EMAILER_2").WebCheckBox("agree").Set "ON"
Browser("HP SALES REP EMAILER").Page("HP SALES REP EMAILER_2").Image("login_button").Click
Browser("HP SALES REP EMAILER").Page("HP SALES REP EMAILER_3").WebElement("TYE HLS AMS PublicSector").Click
Browser("HP SALES REP EMAILER").Page("HP SALES REP EMAILER_3").Image("Next »").Click
Browser("HP SALES REP EMAILER").Page("HP SALES REP EMAILER_4").WebCheckBox("WebCheckBox").Set "ON"
Browser("HP SALES REP EMAILER").Page("HP SALES REP EMAILER_4").WebEdit("message").Set "rest"
Browser("HP SALES REP EMAILER").Page("HP SALES REP EMAILER_4").Image("Next »").Click
Browser("HP SALES REP EMAILER").Page("HP SALES REP EMAILER").WebElement("test_email").Click 212,537
Browser("HP SALES REP EMAILER").Page("HP SALES REP EMAILER").Image( "Add All »").Click
'Browser("HP SALES REP EMAILER").Page("HP SALES REP EMAILER").WebElement("Reciepent").Click
Browser("HP SALES REP EMAILER").Page("HP SALES REP EMAILER").Link("Sign Out").Click


I get an error at this point "
Code:
Browser("HP SALES REP EMAILER").Page("HP SALES REP EMAILER").WebElement("test_email").Click 212,537 "


Here is the Error code:

Cannot identify the object "test_email" (of class WebElement). Verify that this object's properties match an object currently displayed in your application.
Line (10):
Code:
"Browser("HP SALES REP EMAILER").Page("HP SALES REP EMAILER").WebElement("test_email").Click(212.537)".

I removed x,y value parameters ,still no luck.

If anyone could help would be a great help.

Thanks,
YTR.
Reply
#2
Not Solved
Hi YRT,

Check the properts of object WebElement("test_email") using Object Spy and compair it with the properties on Object Repository.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Object identified despite having no information mjt 1 2,127 09-14-2015, 08:25 PM
Last Post: mjt
  Toolbar object not identified excellentpawan123 0 2,134 10-29-2014, 04:37 PM
Last Post: excellentpawan123
  Webedit embedded in a Webelement, cannot be identified Dev509 0 2,969 07-14-2014, 10:03 PM
Last Post: Dev509
  mfc grid object is not identified excellentpawan123 3 3,790 05-31-2014, 11:47 AM
Last Post: excellentpawan123
  webobjects are seen identified as winobjects Ram2009 2 2,633 06-28-2013, 03:37 PM
Last Post: Ram2009

Forum Jump:


Users browsing this thread: 1 Guest(s)