Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object Identification error
#1
Solved: 10 Years, 2 Weeks ago
Hi,

I am trying to automate a web application. My script reads something like this

Code:
Browser(...).Page(...).WebEdit(j_user).Set datatable("Userid", dtlocalsheet).

QTP is unable to recognise the webedit object when I run the script and throws an Object Identification error even though the OR is able to highlight the object in the application.

How can I use Regular expression to solve this issue? Can someone give an example?

Thanks
Ansh123
Reply
#2
Solved: 10 Years, 2 Weeks ago
Is j_user the name of the object in the OR? If yes then you should use:
Browser(...).Page(...).WebEdit("j_user").Set datatable("Userid", dtlocalsheet).
Reply
#3
Solved: 10 Years, 2 Weeks ago
can u send the error message and upload any screenshot of that so i can send script to resolve it
Reply
#4
Solved: 10 Years, 2 Weeks ago
Could you please check whether or not the property of that particular object follows a pattern?
Reply
#5
Solved: 10 Years, 2 Weeks ago
Screenshot of the error message is attached


Attached Files
.doc   Object Identf error.doc (Size: 62 KB / Downloads: 110)
Reply
#6
Solved: 10 Years, 2 Weeks ago
I have attached a screenshot of the error. Let me know if you are unable to view it.

Thanks
Reply
#7
Solved: 10 Years, 2 Weeks ago
What are the properties that are displayed on spying?
Reply
#8
Solved: 10 Years, 2 Weeks ago
Screenshot is attached.
Thanks


Attached Files
.doc   Object Properties.doc (Size: 52.5 KB / Downloads: 91)
Reply
#9
Solved: 10 Years, 2 Weeks ago
Hello,

There are two possibilities for this issue:
1. Might be the input value (datatable("Userid", dtlocalsheet)) which ever you are giving is different. Please put a message box and see what the input is.

2. Can you try to remove the name property for the object in OR. (as we have index property)

One more question... are you getting the object not found error after a long wait?
Reply
#10
Solved: 10 Years, 2 Weeks ago
Yes I am getting the object not found error after a long wait.


I am getting the object not found after a long wait.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Identification Of Dynamic Object(Frame) Using Descriptive _Program yuvaraj 2 8,532 09-19-2013, 05:38 PM
Last Post: yuvaraj
  Run error: Object is disable bea 5 11,101 01-11-2012, 12:45 AM
Last Post: sunnyk8

Forum Jump:


Users browsing this thread: 1 Guest(s)