|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
How to do Success-Login Validation
by AshishChadda
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Hi All,
I am using below piece of code to validate whether my user successfully logged into the target application or not: SET VER_STRING = "Welcome TEST_USER" LOAD RESPONSE_INFO BODY ON 2 INTO VER_BODY SET VER_LOCATION = ~LOCATE (VER_STRING,VER_BODY), CASE_BLIND IF (VER_LOCATION >= 0) THEN LOG "Login Verification SUCCES - Page contained the string '", VER_STRING , "'" ELSE LOG "Login Verification FAILED - Page did not contain the string '", VER_STRING , "'" ENDIF But when I played the above script I got success message irrespective of my user credentials, here I am even if I gave invalid Username and password I got the success message. Please can anyone explain this behavior? /How OpenSTA is able to get welcome page with invalid USR/PWD ? Thanks in anticipation This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -- OpenSTA-users mailing list OpenSTA-users@... Subscribe/Unsubscribe/Options: http://lists.sf.net/lists/listinfo/opensta-users Posting Guidelines: http://portal.opensta.org/faq.php?topic=UserMailingList |
| Free embeddable forum powered by Nabble | Forum Help |