Hi Uday,

Thank you for your reply.

Yes it is identified with text /value etc., Also smart identification
enabled is set to True.

Since the cases 3 and 4 doesn't go to else condition, the smart
identification is report as object not found.. I am wondering why it
doesn't go to else condition for the false cases.
I have send the script in my first email ...
Invalid username or password. Signon failed."- Smart Identification

The smart identification mechanism was invoked.

Reason: object not found.
*Original description:*
micclass=WebElement
innertext=Invalid username or password. Signon failed.
html tag=FONT

*Smart Identification Alternative Description: *
*Base filter properties (1 objects found) *
micclass=WebElement
html tag=FONT






On Wed, Jul 23, 2014 at 5:47 PM, udayanem <[email protected]> wrote:

> Hi Geeta,
>
> Can you please check the object description in your OR? Whether it is
> being identified with Smart Identification or it identified with some
> name/text/value property?
>
> Thanks,
> Uday
> QTP / UFT Videos <https://www.youtube.com/user/AnemUday/videos>
>
>
> On Friday, 18 July 2014 14:00:58 UTC+5:30, Automation tester wrote:
>
>> Hi,
>> Below is the code .. Please correct me if I am wrong
>>
>>
>> Browser("Site").Page("Site").WebEdit("userId").Set DataTable("username",
>> dtGlobalSheet)
>>
>> Browser("Site").Page("Site").WebEdit("password").Set
>> DataTable("password", dtGlobalSheet)
>>
>> Browser("Site").Page("Site").WebButton("Login").Click
>>
>> If Browser("Site").Page("Site_7").WebElement("Invalid username or
>> password. Signon failed.").Exist Then
>>
>> Browser("Site").Page("Site_7").WebElement("Invalid username or password.
>> Signon failed.").Output CheckPoint("Invalid username or password. Signon
>> failed._2")
>>
>> Browser("Site").Page("Site").Sync
>>
>> Browser("Site").Close
>>
>> Reporter.ReportEvent micFail,"Login failed","Incorrect username and
>> password"
>>
>> Else
>>
>> Browser("Site").Page("Site_6").Link("Logout").Click
>>
>> Browser("Site").Page("Site").Sync
>>
>> Browser("Site").Close
>>
>> Reporter.ReportEvent micPass,"WEbpage is seen","Pass"
>>
>> End If
>>
>>
>> Regards,
>> Geetha
>>
>> On Jul 18, 2014, at 11:43 AM, Geetha <[email protected]> wrote:
>>
>> *This message has no content.*
>>
>>  --
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to