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?
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 |
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)
Tell me about userdefined functions ?
WHat is Object Identification and Object Spy?
Extract a word from a sentenece?
How can you pass value one action to another action?
How the objecs properties are identified?Tell me in Hierarchical order?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
what is the recovery scenario?
what is Defect density, defect leakage, defect age,latentbed,yasid testing, interface
what is profile tool?
can u give one scenario for for PopWindow Exception & write Code for that?
How to find given string is palindrome or not without using strreverse() function?