SPONSORS:






User Tag List

Results 1 to 2 of 2

Thread: Login problems

  1. #1
    Junior Member
    Join Date
    Dec 1999
    Location
    Pleasanton, CA
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Login problems

    We have product that integrates with the Windows Explorer. The product will ask for a login when a user tries to access the database. However we are seeing couple strange behaviors. Both the user name and password are either hard coded in the test script or in the data.txt. The login uses a record that contains the user name and password.

    type LOGIN is record
    string sUserName
    string sPwd

    LOGIN sLogin

    The problems are:
    1. The Login process sometime hangs and it is necessary to hit <enter> or a key to get the process going.

    2. The user name and password are set with garbage characters attached at the end. For example:
    username should be "bob"
    username actually is "bobto the first tes"

    It seems to grab part of the message that is supposedly written to Notepad in a testcase and somehow the memory isn't cleared when setting the text for the login.

    Any insight or help is greatly appreciated.

    Wilbur
    Wilbur Hsu
    QA Engineer II
    Documentum, Inc. (NASDAQ: DCTM)

  2. #2
    AJ
    AJ is offline
    Moderator AJ's Avatar
    Join Date
    Jun 1999
    Location
    San Jose, CA
    Posts
    1,691
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Login problems

    I've never seen or heard of that problem before, but I have only one suggestion:

    in your record, rename sUserName to sUser. sUserName may be used globally?!

    for your 1st problem I would do a WaitFor () and if it fails, send keys to the login control and Wait again.



    ------------------
    AJ Alhait
    BetaSoft Inc.
    AJ Alhait
    BetaSoft Inc.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:20 PM.

Copyright BetaSoft Inc.