SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Senior Member
    Join Date
    Mar 2002
    Location
    Bangalore,Kar,Ind
    Posts
    112
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Scripting language in QuickTest

    What is the scripting language in QuickTest

    ------------------

  2. #2
    Junior Member
    Join Date
    Oct 2002
    Location
    Odessa, Ukraine
    Posts
    28
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scripting language in QuickTest

    VBS - Visual Basis Scripts

    ------------------

  3. #3
    Junior Member
    Join Date
    Jul 2002
    Location
    spain
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scripting language in QuickTest

    Somebody knows why the QT v.6.0 have a manual of JScript? Can we do something with JScript in QT?

    ------------------

  4. #4
    Junior Member
    Join Date
    Nov 2002
    Location
    Russia
    Posts
    11
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scripting language in QuickTest

    yes, you may work with JS objects, but not directly

    ------------------

  5. #5
    Junior Member
    Join Date
    May 2003
    Location
    Belgium
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scripting language in QuickTest

    I'ld like to re-post this question because the above replies don't offer that much information.
    It appears you can use VBScript or JScript in QTP. Does anybody know in which cases you would use JScript instead of VBScript. Does QTP choose itself what language it uses for its script during recording, or do you choose this yourself?

    Regards,

    Jorge

  6. #6
    Moderator
    Join Date
    Sep 2001
    Location
    Doncaster, UK
    Posts
    5,788
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scripting language in QuickTest

    Don't forget QTP does not support ALL VBScript commands.

    Mark.

  7. #7
    Member
    Join Date
    Aug 2000
    Posts
    279
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scripting language in QuickTest

    Does anyone know how JScript used in QTP?

  8. #8
    Moderator
    Join Date
    Sep 2001
    Location
    Doncaster, UK
    Posts
    5,788
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scripting language in QuickTest

    JSript is used via Windows Script Host. See the QTP compiled help file Script56. Can't remember whether I got it from the QTP installation CD, support.mercuryinteractive.com (documentation) or from MSDN.

    Let me know if you can't find it and I'll email it to you (1.3MB).

    Mark.

  9. #9
    Junior Member
    Join Date
    May 2003
    Location
    Belgium
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scripting language in QuickTest

    Looked around some myself and it appears you can use both when creating scripts in QTP, although the courses only seem to mention VBScript in the examples.

    JScript is more oriented towards object oriented programming (it treats a string for example as an object with its own properties and methods), while VBScript is more oriented towards the classical VB stuff.

    Regards,

    Jorge

  10. #10
    Member
    Join Date
    Jun 2003
    Posts
    52
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scripting language in QuickTest

    Actually JScript is very good for portability to use for different browsers and also, VBScript does not have functionality of the MS VB, but this VB Script works better with the Micrsosoft Internet explorer.

    I have a question that how do select in which script you want to code and also, can we write in both the scripts, VBScripts and Java Scripts

 

 
Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 8.33%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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 11:47 AM.

Copyright BetaSoft Inc.