Is there any way by which i can search and get a Label Text. Currently i am using SQAGetProperty method to find out label on Application window. But which i taking long time to search the string. Is there any way by which i can supply partial string text and get the complete Label text. For example: My complete string is "Nitesh Bansal", but can i search the string with "Nitesh*" and where match found it will get the complete text in 1 variable.
this is a little faster than interating through all the labels in a large population of children.
<font class="small">Code:</font><hr /><pre>'$CStrings Save
<font color="blue">Global Const</font> CrLf <font color="blue">as String</font> ="\r\n"
Thanks Phil...This code works for me...and help me reduce execution time...Can you help me out in 1 more thing...can you please tell me from where i can found these undocumented functions or methods...
Read the help. There is an SQA Reference guide that has information about the syntax of SQA.
Also, do a record and playback test on something in your AUT. This will give you the starting point for how SQA code is formatted and go from there.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!