We have a text file which contains 1 to 100 numeric values sequentially like 1
2
.
.
100
Now we have to count them and transfer to XML file by writing a code in qtp.



We have a text file which contains 1 to 100 numeric values sequentially like 1 2 ..

Answer / pushkar1206

a="1 2 3 4 5 6 7 8 9 10"
b=split(a," ")
msgbox ubound(b)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

What is the quicktest professional (qtp) testing process?

0 Answers  


How you are developing the script? Using record and play back or manual?

0 Answers  


what are the disadvantages of descriptiveprograming

5 Answers   GE,


How do u connect database through QTP tell me both Ms Access and SQL

2 Answers   Livetek,


How To clear the AutoComplete?

1 Answers  






Explain the checkpoint in qtp?

0 Answers  


results.xls file is automatically generated while running the script in QTP.But it is showing error to open the file

1 Answers  


Whenever i'm running 3 diffrent scripts in a Test Batch Runner as a batch. its not showing any result. QTP only runs all the scripts n nothing else. B4 running the test batch i have done all the settings, But still its not working.

2 Answers  


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

0 Answers  


QTP9.1 does not support to text checkpoint in Windows application? Is this correct? If this is correct, what is alternative for Text checkpoint?

2 Answers  


hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me

0 Answers  


How to map the test cases to requirements in QC?

4 Answers   IBM,


Categories