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 -- 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
