Hi Raghu,
As you described, Smart identification must be getting activated in
your case which is why it's taking more than usual to look out for the
webelement.
As described by deepak, please try to add mre unique propertiesof the
element which could easily make it identifiable.
Also, make it sure that before reaching if condition, is your object
getting donwloaded properly or not. if not please add :
Browser("DMX Admin_3").Page("Control panel-newpage").sync
so that it next page/msg get enough time to get download.
hope it help. do let us know if you are still facing any issues.
On Apr 25, 11:49 pm, Deepak Kumar Mahapatro
<[email protected]> wrote:
> spy the Saved Successful message and try to find some extra properties to
> identify the element. use those manually to this element in OR. i think
> this may help. try it and please let me know whether it is working or not.
>
>
>
>
>
> On Wed, Apr 25, 2012 at 12:45 PM, rags <[email protected]> wrote:
> > Browser("DMX Admin_3").Page("Control panel-new
> > page").WebEdit("UN").Set datatable("UN",3)
> > Browser("DMX Admin_3").Page("Control panel-new
> > page").WebEdit("PWD").Set datatable("PWD",3)
> > Browser("DMX Admin_3").Page("Control panel-new
> > page").Image("Save").Click
>
> > ------> If Browser("DMX Admin_3").Page("Control panel-new
> > page").WebElement("Saved Successfully").Exist Then
> > Datatable("ACTUALRESULT",3)="Pass"
> > else
> > Datatable("ACTUALRESULT",3)="Fail"
>
> > Here UN & PWD is wrong & it will not display saved successfully
> > message.
> > Now when it comes to If condition, Execution is taking long time more
> > than 10-15 min what might be the problem.
> > Is there any other option, other than using exist method to check
> > whether validation message.
>
> > Plz help me out ...............
>
> > Thanks in advance
> > Raghu
>
> > --
> > 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
>
> --
> Regards,
> Deepak- Hide quoted text -
>
> - Show quoted text -
--
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