Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Smart Id configured but not being used
#1
Solved: 11 Years, 3 Months, 2 Weeks ago
Hi Ankur,

I am new to the site, the forum and to QTP. I have been thru the tutorials and now I am beginning automation of the company site. Two questions for you.

1) I configured the smart identification Base Filters and Optional Filters for a WebEdit. When I run my test I get a warning. The warning show the Base and Optional filters that are not the ones I set up. Is there something else I need to do to actually 'turn on' this smart identification to look at my custom configuration? Warning message :
The smart identification mechanism was invoked.

Reason: object not found.

Original description:
name=invDate
micclass=WebEdit
html id=editInvoiceDate
class=dijit.form.DateTextBox

Smart Identification Alternative Description:

Base filter properties (36 objects found)
type=text
micclass=WebEdit
html tag=INPUT

Optional filter properties
name=invDate (Skipped)
html id=editInvoiceDate (Used, 1 matches)
max length=30 (Ignored)
default value= (Ignored)
class=dijit.form.DateTextBox (Ignored)
rows=0 (Ignored)
visible=1 (Ignored)

Next Question:
I have totally matched an objects properties but when I run the test it gets stuck and says it doesn't recognize it. I have clicked the WebElement to make the focus in the WebEdit field. Now all I need to do is Set "32.00". Set does not seem to be doing anything, is it because it doesn't recognize the object? What can I try?

Thanks,
Charles
Reply
#2
Solved: 11 Years, 3 Months, 2 Weeks ago
Hi Charles,
have you set the mandatory properties?
here I can suggest you a better object identification settings for webedit.
Mandatory Properties - html id,html tag,name,type
these are sufficient to recognize the object, incase you want to try using smart identification
Base filter - html tag,type
Optional filter - name,html id, class, default value,visible

try this and let us how it goes.

Reply
#3
Solved: 11 Years, 3 Months, 2 Weeks ago
(12-10-2009, 09:52 AM)Saket Wrote: Hi Charles,
have you set the mandatory properties?
here I can suggest you a better object identification settings for webedit.
Mandatory Properties - html id,html tag,name,type
these are sufficient to recognize the object, incase you want to try using smart identification
Base filter - html tag,type
Optional filter - name,html id, class, default value,visible

try this and let us how it goes.
Reply
#4
Solved: 11 Years, 3 Months, 2 Weeks ago
Charles, I think you missed to write in your post. is it working now?

Reply
#5
Solved: 11 Years, 3 Months, 2 Weeks ago
Saket,

I decided to use a new approach. I deleted the old Object from the repository and added a new one with the same exact mandatory properties. It works like a charm now.

Thank you very much Saket.

Let me ask - why do you think it worked although they both matched?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Enabling Smart Identification for SAP Gui object prasanna.kale5@gmail.com 0 964 12-05-2019, 08:04 PM
Last Post: prasanna.kale5@gmail.com
  Smart identification is disabled for PSFrame object guruprasadnagarali 3 5,265 08-18-2012, 11:25 PM
Last Post: savitripatil
Big Grin Smart Identification asisha 4 12,654 03-11-2011, 10:28 AM
Last Post: Rohan
  Smart Identification hofsoc20 0 2,193 02-12-2010, 07:23 PM
Last Post: hofsoc20
  Anchor tag (WebLink) always takes smart identification path!!! sepgs2004 3 4,484 02-09-2009, 08:44 PM
Last Post: sepgs2004

Forum Jump:


Users browsing this thread: 1 Guest(s)