1.In VB Script 100 lines Script. How can check the Syntax
errors? 2. Write a VB Script for X =
India/Srilanka/Australia/England/South Africa.I need the
Output Country wise? [ 1st Msgbox India , 2nd Msgbox
Srilanka] ---- 3. How can Choose these test cases to be
automated?

Answer Posted / lakshmi

1.Information tab. It will display all syntax errors in the
script while moving from expert view to keyword view.

2.Dim str
str=Split(X,"/")
for i=0 to ubound(str)
msgbox str(i)
next

3.testcases which needs to be executed for each and every
build.

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is test object model in quicktest professional (qtp)?

537


what is the advantages and disadvantages of using functions instead of re usable actions

1418


in a web page How to check and display a particular word from a paragraph?

2029


Explain the features and benefits of quick test pro(qtp)?

506


What are the features of quick test pro(qtp)?

522






How to break the object spy ?

655


what is meant by Implicit and explicit requirements?

3609


i can done the project with QTP in that time i can say how many members in my team size?

1358


I want to do QTP Certification what is the pattern of Question paper.

1735


Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..

4119


What is the significance of “action 0” in qtp?

561


How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks

2744


how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief

1531


Explain hybrid framework with advantages and disadvantages?

538


Explain how Does Run time data (Parameterization) is handled in QTP?

550