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.
Answer Posted / 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 View All Answers
Explain the concept of how quicktest professional identifies object?
How you know that a test case is a regression test case
What are the steps involved in the recovery scenario wizard?
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
Explain process of smart Identification in QTP?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
What is standalone database?
Explain different type of event trigger option.
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
How do we handle run-time errors?
What is the difference between the design-time and run-time data tables?
what is the difference between data driver & data driven and driver script?
What is the difference in testing a client-server application and a web application?
What is difference between run time object and test object?