qtp
QTP narrow a list of ChildObjects
[The description is a bit fudged to obfuscate my real work for confidentiality reasons] I\'m working on a QTP test for a web page where there are multiple HTML tables of items.Items that are availabl[详细]
2023-01-08 12:48 分类:问答QTP Using Regular Expressions to match object text dynamically
Let\'s say we\'re trying to match SSNs, so the regular expression would be: d{9}.But what if, at run time, I wanted to have, say, the third digit match to 3?So the regex would be d{2}3d{6}.[详细]
2023-01-08 06:12 分类:问答is there a method in qtp to check whether the item exists in Combo box?
I have written the following code to get all the elements in the combo and check with my required value, but i think there may be a better way. Whats the better method to check if any item is there in[详细]
2023-01-08 02:22 分类:问答What is the best way to wait until a frame is loaded in QTP?
In Web addin QTP pro开发者_如何学Pythonvides Sync function for Browser and Page objects in order to wait until the correposponding navigation is complete.[详细]
2023-01-08 00:51 分类:问答can we execute QTP script on remote machine by keeping session minimized
I have couple of machines on which I wish to schedule exceutions. I need to access these 开发者_如何学运维machines remotely for exceution. Whenever I start exceution from these machines and minimize t[详细]
2023-01-06 19:42 分类:问答VBScript: how to find the difference between two strings that look identical
There ar开发者_如何学Ce two strings \"test_name\" that are compared in a VB script. They have to be identical, and they look identical in debug viewer, but StrCompare(string1, string2) returns 1.[详细]
2023-01-06 12:15 分类:问答Toolbar button doesnt get accessed at all
I am using the following code but the toolbar button doesnt get accessed at all. The error is \"unknown error\"[详细]
2023-01-06 06:31 分类:问答Problem with multi conversion into array elements
We are using a code as follows split(Window(window_name).Dialog(dialog_name).WinList(control_name).GetSelection[详细]
2023-01-05 03:47 分类:问答How to convert many thousands of lines of VBScript to C#?
I have a collection of about 10,000 small VBScript programs (50-100 lines each) and a small collection of larger ones, and I\'m looking for a way to convert them to C# without resorting to by-hand t开[详细]
2023-01-03 15:04 分类:问答QTP read webtable content
I have a WebTable in QTP like: <TBODY> <TR></TR> <TR> <TD> <TABLE> <TR>[详细]
2023-01-02 12:22 分类:问答