Votes
Answers
Views
Question
12
3
106
asked 15 years ago by The Danny
updated 5 years ago by steve-antonoff
Category:
Load/Performance Testing
I am using LR and in my script, trying to determine which option is selected in a drop down list. I need a function to search a string for left and right boundaries, similar to other LR built in functions. I just need the function to search inside a string though, not inside the entire HTTP response...
0
1
26
I've been working with UFT for a few months now, and one thing that keeps coming up is having to convert a string to a date, then use that date later in the test. I've tried solutions I've found online, and I've got a method which can handle most date formats. However, I was wondering if you were aw...
6
1
148
asked 15 years ago by tlstockton
updated 15 years ago by sammyh
I have a function that no longer works after our upgrade to QCv10. It does not appear to be looping. Below is the function. Function CUST_Create_HTML_String(testSteps) Dim HTML_String HTML_String = "" For Each item In testSteps HTML_String = HTML_String & Replace(item, "Step^", &...
3
1
908
asked 15 years ago by The Danny
updated 15 years ago by Captain Mercury
I need to URL encode a string in a LoadRunner script, I need a C function to do that, but i am not sure where to start. Has anyone written such a function before?
0
1
129
I'm using QTP 9.2.0.0 Build 2610 with a customer's framework. The UBound function does not work, I get 'Type mismatch: UBound'. The specific line of code is: "nResult = ubound(aArray)" I've verified that aArray is a single-dimension array when passed to ubound. The word 'ubound' does not app...
3
1
17
asked 11 years ago by kaptainkayoss
updated 11 years ago by rich-text
Is there any we can stop QTP from looking up parameters on clicking space, when a function is called. We have fairly large libraries and due to that every time we press space qtp freezes up at least for a minute.
1
1
174
asked 10 years ago by jumphopper
updated 10 years ago by bubblehead712
Basically, I would like to rename and combine some of our Function Libraries. If I do this, is there a way to update all the scripts that use the Function Library or do I have to manually go to every test script check to see if it uses that Function and then update it. Hopefully, there is a better w...
2
1
78
asked 10 years ago by kaptainkayoss
updated 10 years ago by rich-text
Why do I sometimes get 'Cannot use parenthesis when calling a Sub' when I try to use a function in my QTP script?
2
1
52
Intellisense is not popping up in my script when I call a function that is within a 'With' block. For example: CheckLink Browser("Google").Page("Automation Testing Software").Link("Get Started Now") 'This works fine! With Browser("Google") .Page("Google")....