Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
script for login feature
#1
Solved: 11 Years, 4 Months ago
can you help me
i have a script
Code:
Browser("Browser").Page("ABC").WebEdit("user_login").Set DataTable("user", dtGlobalSheet)
strMail = Browser("Browser").Page("ABC").WebEdit("user_login").ToString
Browser("Browser").Page("ABC").WebEdit("password").SetSecure "3c32f2445bbc7481db3492b1d1556ceb7fdf9e03ca7be253143d"
If strMail = "dqv@yahoo.com" Then
    Browser("Browser").Page("ABC").WebButton("Login").Click
else
    reporter.ReportEvent micFail, "Failed Report","Failed Email"
End If

when i input "dqv@yahoo.com" (this acc i registered) into datatable. the report always display Failed Email case without run Login case. i don't know why
Reply


Messages In This Thread
script for login feature - by sekhan - 10-06-2010, 11:32 AM
RE: script for login feature - by Saket - 10-06-2010, 12:27 PM
RE: script for login feature - by quicktest - 10-06-2010, 05:22 PM
RE: script for login feature - by sekhan - 10-07-2010, 03:28 AM
RE: script for login feature - by quicktest - 10-07-2010, 12:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  IE Tester feature not recognized by UFT12.01 saraiado 2 2,771 12-23-2014, 09:41 AM
Last Post: vinod123
Exclamation Login & logout in Siebel and clicking pop-up button yuetling926 7 11,377 07-09-2014, 10:43 PM
Last Post: hhamilton
  Unable to Click on Login Button Paurav 1 3,292 07-03-2014, 05:27 AM
Last Post: supputuri
  for help.Run a test to login,and then it didn't jump to another page maosilu 0 2,686 11-01-2013, 01:27 PM
Last Post: maosilu
  Best method to test Login validation defcon3 2 3,628 05-29-2012, 04:02 PM
Last Post: defcon3

Forum Jump:


Users browsing this thread: 3 Guest(s)