The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> HP / Mercury WinRunner

Pages: 1
JoeLoyzaga
Member


Reged: 09/11/07
Posts: 175
Loc: Australia
can you vbs scripts via cscript in winrunner?
      #534763 - 11/26/08 02:05 PM

I'm trying to get as much of my vbs scripts generic so as to run them via winrunner (as long as they are not qtp specific) and then if I have to used another scripting language that both can use - I'll use python - but first can any pure vbs scripts be run via cscript in winrunner?

Post Extras: Print Post   Remind Me!   Notify Moderator  
James Pulley
Moderator


Reged: 08/01/01
Posts: 5551
Loc: NC
Re: can you vbs scripts via cscript in winrunner? [Re: JoeLoyzaga]
      #535479 - 12/01/08 10:36 AM

WinRunner uses neither vb script or C script for its language, instead it uses a language optimized for the exercise of graphical elements called TSL (Test Script Language). Many of the flow control options (looping, conditionals, etc..) are C derived in TSL, as they are for other languages, such as Java and Perl.

As far as executing your VB inside of the WR shell, you're going to be out of luck. Per design, you may call a QTP script from within a WinRunner script, which would allow for the execution of your VB under a different shell, or you may "shell out" to the OS and execute the code as a standalone VB script, taking advantage of some sort of file based synchronization mechanism. to pull data back from the script.

--------------------
James Pulley

Replace ineffective offshore contracts, LoadRunnerByTheHour. Starting @ $19.95/hr USD.

Put us to the test, skilled expertise is less expensive than you might imagine.

Twitter: @LoadRunnerBTH @PerfBytes


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 21 anonymous users are browsing this forum.

Moderator:  Peter Ruscoe, bpolitzer 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 1708

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5