Votes
Answers
Views
Question
12
votes
3
answers
106
views
asked 15 years ago by
updated 5 years ago by
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
votes
1
answer
26
views
asked 3 years ago by
updated 3 years ago by
Category: Test Automation
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
votes
1
answer
148
views
asked 15 years ago by
updated 15 years ago by
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
votes
1
answer
908
views
asked 15 years ago by
updated 15 years ago by
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
votes
1
answer
129
views
asked 13 years ago by
updated 13 years ago by
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
votes
1
answer
17
views
asked 11 years ago by
updated 11 years ago by
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
vote
1
answer
174
views
asked 10 years ago by
updated 10 years ago by
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
votes
1
answer
78
views
asked 10 years ago by
updated 10 years ago by
Why do I sometimes get 'Cannot use parenthesis when calling a Sub' when I try to use a function in my QTP script?
2
votes
1
answer
52
views
asked 10 years ago by
updated 10 years ago by
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")....
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top