Hello everyone!

I am just writing a small test for a windows application. I
have a problem with a text output value.

The value i am trying to catch is presented in a scrollable
textbox. When the text is too long, only a portion of it
gets captured.

Do you have any experience with this?



Hello everyone! I am just writing a small test for a windows application. I have a problem with..

Answer / Yash Vardhan Srivavastava

To handle scrolling issues with a textbox in a Windows application, consider the following approaches:n
1. Wait for the text to finish loading before capturing its value.
2. Implement a method to scroll to the bottom of the textbox if the text length exceeds the visible area.
3. Use the `GetTextLength` function to determine the total length of the text and then use the `SetCaretPos` function to move the caret to the end of the textbox.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

When I parameterize a script then for each iteration script is executed from begining to end. If I want to execute some middle steps multiple times using Parameterization (avoiding begining and end steps), what is the solution of this (e.g. total steps are 1 2 3 4 5 and i want 2 3 4 only(not 1 nd 5)

3 Answers  


Tell me about userdefined functions ?

1 Answers  


WHat is Object Identification and Object Spy?

2 Answers   IBM,


Extract a word from a sentenece?

5 Answers   IBM,


How can you pass value one action to another action?

1 Answers  


How the objecs properties are identified?Tell me in Hierarchical order?

5 Answers   IBM,


how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief

1 Answers   HCL,


what is the recovery scenario?

1 Answers  


what is Defect density, defect leakage, defect age,latentbed,yasid testing, interface

4 Answers   Syntel,


what is profile tool?

1 Answers   ITC Infotech, TCS,


can u give one scenario for for PopWindow Exception & write Code for that?

2 Answers   Cap Gemini,


How to find given string is palindrome or not without using strreverse() function?

2 Answers  


Categories