Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Facing Problem while writing Script for the Login Functionality.
#1
Hi Ankur,

Thanks for such an appreciating Effort for the beginners in Qtp.
I need Your help in writing script which can check following functionality:
"To limit the number of consecutive failed authentication attempts" of Login screen.



Thanks
Rekha
Reply
#2
Please paste script here or explain the scenario
Reply
#3
Hi,
The Scenario is :I Need to generate a script that can check whether a Message window appears for (3 wrong consecutive Password/Username Iterations) or not.Please tell me the Approach to do.


Thanks
Rekha
Reply
#4
Code:
InvokeApplication "C:\Program Files\Internet Explorer\IEXPLORE.EXE gmail.com" For i=1 to 3 Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("name:=Email").Set "sarvesh" Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("name:=Passwd").Set "111111" Browser("Gmail: Email from Google").Page("Gmail: Email from Google").webButton("name:=Sign in").Click x=Browser("Gmail: Email from Google").Page("Gmail: Email from Google").webButton("name:=Sign in").Exist If x=0 Then Reporter.ReportEvent 0,r1,Success Exit for End if If i=3 Then Reporter.ReportEvent 1,r1,Success End If Next

From:sarvesh.qtp@gmail.com

Make sure that there is no captcha image in your application
Reply
#5
Hi,
Thanks Survesh for the quick Response.
Smile


Rekha
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Facing Issue with UFT 12.02 Gowrishankar2585 0 1,506 04-15-2019, 01:20 PM
Last Post: Gowrishankar2585
  Facing a problem while identifying Angular JS objects in a web page vangasantosh 0 1,544 12-20-2017, 01:26 PM
Last Post: vangasantosh
  Execution without desktop login, only CLI Beckhell 0 2,989 09-01-2011, 01:21 PM
Last Post: Beckhell
  How to Manage 50 Test Cases of Login Page Ronit 1 9,337 08-10-2010, 09:37 AM
Last Post: venkatbatchu
  TP 10 has problem in switching from one script to another using AutomationModel mrmukeshjain 0 1,747 05-28-2009, 04:42 PM
Last Post: mrmukeshjain

Forum Jump:


Users browsing this thread: 3 Guest(s)