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?

Answers were Sorted based on User's Feedback



1.In VB Script 100 lines Script. How can check the Syntax errors? 2. Write a VB Script for X = I..

Answer / 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

1.In VB Script 100 lines Script. How can check the Syntax errors? 2. Write a VB Script for X = I..

Answer / kishore

laxmi u r doing great.not only this answer i can see some other answer also.

Is This Answer Correct ?    1 Yes 0 No

1.In VB Script 100 lines Script. How can check the Syntax errors? 2. Write a VB Script for X = I..

Answer / lakshmi

Hi kishore. In which company/location u r working now?

Is This Answer Correct ?    0 Yes 0 No

1.In VB Script 100 lines Script. How can check the Syntax errors? 2. Write a VB Script for X = I..

Answer / lakshmi

hey [rakash. i am working now in ms group

Is This Answer Correct ?    0 Yes 0 No

1.In VB Script 100 lines Script. How can check the Syntax errors? 2. Write a VB Script for X = I..

Answer / raghavendra.p

Hi Lakshmi,Thanks for answers.

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More QTP Interview Questions

In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?

0 Answers  


In qtp,how to interact tool & application build?

1 Answers   Polaris,


Hi all please solve this.It is urgent..... When I right clicked on a Web image manually It displayed Open link,open link in new window,save picture as, Email picture,Printpicture,propeties...etc. While automation I have written a code like this 'browser("Google").Page("ramseeker®: Memory and_3").Image ("graphOfModel").Click 10,10,micRightBtn But the right click menu was not displayed. I want to save that image in a seperate folder

6 Answers  


what is check point?

2 Answers  


what is the latest version of QTP? Main difference between 9.2 and 10 version

0 Answers  






how to test power point using QTP 8.2 ? What are different methods to retrieve value from Application during runtime ?

3 Answers   HCL,


How to handle Run-time errors?

2 Answers  


1. I have asked the same question for the third time, but i am getting wrong answers. Pls give me the script to count the number of edit boxes or checkboxes in an windows application screen. In windows application childobject is not working, anyone very urgent

8 Answers  


Why we load add-ins in qtp?

0 Answers  


can we change the name of a check point? when will you start writing testcases? do you follow any methodology for writing test scripts? qtp is key word driven testing or data driven testing?

2 Answers  


Hi guys i'm prepareing for interview question for qtp i don't have bayground for vb scipt language can any one tell me it is easy to do job in qtp without bayground.

3 Answers  


Hi, I am new to QTP and vb.script.How to start to write vb.script in QTP? Please give me suggestions?

3 Answers  


Categories