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

How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

0 Answers  


If 2 gmail browsers are opened in our system, how to enter the mail id and password into second browser by using discriptive program?

7 Answers   Mphasis,


What is XML checkpoint in QTP. How we can use in Web Based application

2 Answers   LinkEdge,


actually how many hours per one day we will work on automation(qtp) in real time

1 Answers   Synechron,


.mtr ( modular test repository or mercury test repository) plz give correct answer??

3 Answers  






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.

1 Answers   Cap Gemini,


How did you resolve conflicts present in Object Repository?

0 Answers  


When I start recording any web application (either Mozilla or IE) QTP recognizes window instead of browser and also it does not show all the hierarchy tree of that particular web page. 1. Window("Mozilla Firefox").Check CheckPoint("Mozilla Firefox") 2. As everybody knows it should be browser("Mozilla Firefox").Check CheckPoint("Mozilla Firefox") I am using the windows vista, do you think it may be a problem of my settings in QTP or problem of my installation. Your kind responses will be appreciated. Thanks in advance. Satya

12 Answers  


In what situations QTP will not recognize the Objects?

6 Answers   Wipro,


Hello, I am learning QTP. I have recorded test for Login page, i have also inserted checkpoint for Email field & when I run test it passed. But when i tried to run test by inserting 'Adding Parameter Values to a Data Table' for email & password field, it pass the first value in both the fields but after that when test run for second parameter values it displays 'Internet Explorer cannot open the Internet site, Operation aborted' & when i analyze test result it displays run time error 'Object disable'. I have also cleared all the history from IE but it is not working. Please help me. Thank you.

2 Answers  


1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP

0 Answers  


When it be decided to go for either Per - Action or Shared?

2 Answers  


Categories