SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Feb 2002
    Location
    Ghaziabad,UP,India
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Testcases for Javascript validation check

    Hi
    How can we test the web page? Page is already having javascript checks.
    And how can we invoke the browser and load the required page in that?
    In the testplan testscript file is to included at each testcase or we can include globally.

    Regards
    Sunil



    ------------------
    Sunil Aggarwal
    (Software Engg.)
    Sunil Aggarwal
    (Software Engg.)

  2. #2
    Super Member
    Join Date
    Jul 2001
    Location
    Earth
    Posts
    1,882
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Testcases for Javascript validation check

    testcase foo ()
    browser.LoadPage ("www.yoururlhere.com")


    the above code will open a URL in a browser. The recovery system will start the browser for you automatically beofore the test begins.



    ------------------
    James Soderborg
    http://www.ameliortech.com
    jamesso@ameliortech.com

  3. #3
    Junior Member
    Join Date
    Feb 2002
    Location
    Ghaziabad,UP,India
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Testcases for Javascript validation check

    Hi

    Ok this is fine
    But If a webpage have two textfields namely (Username and Password) and both are mandatory .Then, how can we check the whether the javascript has put or not. And two testcases are needed for this. How both testcases are linked thru Tetsplan.

    I have tried but found some problem. it will run first testcase very fine but hangs on second one and remain for an hour. And what is the use Base state here. Can u give me little idea on this.

    Regards
    Sunil

    ------------------
    Sunil Aggarwal
    (Software Engg.)

    [This message has been edited by sunilaggarwal (edited 03-13-2002).]
    Sunil Aggarwal
    (Software Engg.)

  4. #4
    Super Member
    Join Date
    Jul 2001
    Location
    Earth
    Posts
    1,882
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Testcases for Javascript validation check

    What do the testcases look like? Is the site publicly available? What do you mean by "has javascript put them"?

    ------------------
    James Soderborg
    http://www.ameliortech.com
    jamesso@ameliortech.com

 

 

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 09:26 PM.

Copyright BetaSoft Inc.