Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP "Can't recognize object" error
#1
Not Solved
Hi,

I am trying to create a simple login webscript. This is the line of code.

Code:
Browser("HR Worksheet Navigator").Page("HR Worksheet Navigator").WebEdit("j_user").Click

QTP errors out on and gives me a message that it cannot recognize WebEdit object. So I go to ORepository and highlight the object in the application and it highlights the object "j_user". So looks like Runtime value of that webedit object is changing. Not sure how to handle this. Appreciate if someone could help me out.
Smile
Reply
#2
Not Solved
go for regular expression. it will help u.

Regards,
Sankalp
Reply
#3
Not Solved
Could you please give me an example? I am new to QTP.

Thanks
Reply
#4
Not Solved
Hi,

U have mentioned that object is changing. could u please provide us the comman pattern between the two objects so that we can suggest u the regular expression.

Regards,
Sankalp
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Error in Code while accessing WPF object Dinesh_cts 1 3,324 11-08-2017, 11:46 PM
Last Post: lotos
  Error while adding Object to Object repository at run time SaranKumarV 3 8,641 02-02-2015, 01:40 AM
Last Post: dubeyvin
  UFT 11.5 throwing unspecified error while running for Delphi object rakeshsahay 0 3,809 12-25-2013, 10:43 AM
Last Post: rakeshsahay
  Does QTP recognize C++ Objects? Babita01 0 3,498 05-15-2012, 03:09 PM
Last Post: Babita01
  QTP doesnot recognize Java objects. Babita01 0 3,883 05-15-2012, 11:41 AM
Last Post: Babita01

Forum Jump:


Users browsing this thread: 1 Guest(s)