Hi Geeta,

Did you get a chance to go through my video which i shared in my previous 
reply.

Smart Identification is an alternative solution(actually it is an 
algorithm) that QTP follows when QTP unable to identify any objects in your 
application.

If you configure "Smart Identification" properly then you can its advantage.

If your case, the properties are not generic so this confusion.

Please go through the video, it will help.

Thanks,
Uday
QTP / UFT Videos <https://www.youtube.com/user/AnemUday/videos>


On Friday, 8 August 2014 15:40:50 UTC+5:30, Automation tester wrote:
>
> Hi Uday, Gangadhara Rao, Anil...
>
> Thank you for all of your reply and valuable inputs.
>
> It finally works now by disabling the smart identification. Thanks a lot.
> few questions:
>
> 1. So we cannot use smart idetification at all?
> 2. During what situation we can use smart identification
> 3. just for my understanding,, what should be done if smart identification 
> on , and else condition to be executed.
>
> Thank you once again.
>
>
> Regards,
> Geetha
>
>
> On Mon, Aug 4, 2014 at 11:14 PM, Anil Kumar V <[email protected] 
> <javascript:>> wrote:
>
>> HI,
>>
>> Try this
>>
>> 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 Not Browser("Site").Page("Site_7").WebElement("Invalid username or 
>> password. Signon failed.").Exist(10) 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,
>> Anil Kumar
>>
>>
>> On Friday, July 18, 2014 2:00:58 PM 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] 
>> <javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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] <javascript:>.
>> 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