I want to scroll down in MSPAINT (captured a screen
already). So that I can read the data in it through the
step Window(paint).GetVisibleText for my validation. Anyone
know the scripting for this?



I want to scroll down in MSPAINT (captured a screen already). So that I can read the data in it th..

Answer / aiswaryan

just recorded,

Window("Paint").Activate
Window("Paint").WinObject("Afx:1000000:8").VScroll
micPageNext, 1

Is This Answer Correct ?    6 Yes 1 No

Post New Answer

More QTP Interview Questions

There is a very good institute for Automation Testing using QTP.For more details please visit jbslearnings.com.

1 Answers  


what skills needed to be good test automation?

3 Answers  


I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)

0 Answers  


Is it possible to run QTP scripts created in IE 6.0 in IE 7.0?

4 Answers   TCS,


Hi, I am new to QTP testing and was exploring the frameworks used for automation. I wanted help in writing various scripts and files for keyword driven automation like 1. Control File 2. Test Case File 3. Startup Script 4. Driver Script 5. Utility Script . etc It would be great if someone can give help in this context ... Thanks

0 Answers  






h to all plz send me the answer if any one knows about this....i want the java add-ins for the QTP to do my project which is developed under the java platform.

2 Answers   Four soft,


How to convert QTP's ObjectRepository.mdb file to xml file

1 Answers  


I want to open a GOOGLE page without recording a test in QTP.Can any one answer me?

4 Answers   IBM,


we have one text box and one list box(list box appear in same page or another page) what ever the text enter in text box that must be displyed in list box as first one. for example if we enter 10 in text box that is the 1st item in list box . after that we enter 11 then 11 is the 1st item and 10 is 2nd item. the maximum limit of list box is 10 items. if we enter 11th item the 10th item is deleted and llth one is add as 1st one and 9th one goes to 10th position part2:maore than the answer for this question i want the the reason why testers go for this kind of risk.what is the use of we testers having these kind of attempts.is that not the problem with the developer .pls answer .real time users of tools.in which way these solutions help to test with r without affecting the developed souce code.

3 Answers  


can i change the runtime properties of an object ? How can i check if a parameter exists in database ?

0 Answers  


How to watch currnet value of an object like OK buton or edit box with "Agent Name:" label. in watch expression tab?

2 Answers   Cap Gemini,


What is the architecture of your project? Can any one answer for this question plz........

0 Answers  


Categories