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

when a test case is written how u test using qtp

1655


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

1407


I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?

1567


in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

1524


What is the extension of qtp local repository?

576






What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);

3496


Explain the qtp test phases.

619


How can you close the second opened browser?

804


What are the different types of action?

560


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

621


What is quicktest professional?

559


What are the methods used in UFT to handle exceptions or run-time errors?

652


tell me QTP standards ?plz

1522


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

1730


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

2912