> Suppose I want to check what password the user has input in the Password editbox,
in this case user is you (QTP), no one else enter here password in a edit box. You need to understand what you are doing and why, and scope of the testing also. Testing HTML parser in a browser is not part of your test, it was tested by MS or Mozilla teams. If you (or script) enter "mercury" in the field it will be "mercury". You testing an application, the possible bug you will catch by the scenario you have described: if user enter "blahblahblah", but an application understands it as "mercury" - doesn't make much sense. test: test id | password | username | expected bevaivior 1 mercury kjkjkj pass 2 blahblahblah kjkjkj fail just check if you can lonig or not, and verify with expected bevaivior. On Fri, Jul 31, 2009 at 6:10 PM, RRJoshi Joshi <[email protected]>wrote: > Suppose I want to check what password the user has input in the Password > editbox,how can I check that? > I input through datatable, passsword as "mercury" in encrypted form and > using output values extracted it back to datatable but it is displayed as > IAAAAA...something like that...hw to check this? > > On Fri, Jul 31, 2009 at 1:41 PM, RRJoshi Joshi <[email protected]>wrote: > >> Wow! >> Thanks a lot for the correction. >> >> >> On Fri, Jul 31, 2009 at 1:36 PM, Shahid Khan <[email protected]> wrote: >> >>> (password== "mercury") should be (password = "mercury") >>> >>> On Fri, Jul 31, 2009 at 4:21 PM, RRJoshi Joshi <[email protected]>wrote: >>> >>>> 21. If ( (LenAgeName>=4)and (password== "mercury") ) and window("Flight >>>> Reservation").Exist Then >>>> 22. DataTable.GlobalSheet.AddParameter"Result","Pass" >>>> 23. End If >>>> >>>> Its giving me two errors: >>>> 21:Expected expression >>>> 23:Expected end of statement >>>> >>>> Can someone help me out please? >>>> >>>> >>>> >>> >>> >>> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
