cancel
Showing results for 
Search instead for 
Did you mean: 

Parsed string vs input string

SOLVED
Contributor

Parsed string vs input string

I have an application where someone needs to input an ip address to a batch file then I have test complete parse out the batch file with the .split() function and get the ip address and use it for the name mapping of all the button in test complete. When I try to concatenate this to my name mapping and try to click a button I get a "TypeError: Illegal invocation" error; however, when I try to do the same thing with an input box in test complete it works just fine. I am using javascript for my project. Does anyone know what the difference could be between using the .split() function and assigning the string I want to a variable and using the BuiltIn.InputBox? They are exactly the same string. 

1 ACCEPTED SOLUTION

Accepted Solutions
Contributor

Re: Parsed string vs input string

When I did a substring of my parsed string it worked. 

View solution in original post

1 REPLY 1
Contributor

Re: Parsed string vs input string

When I did a substring of my parsed string it worked. 

View solution in original post

New Here?
Join us and watch the welcome video:
Watch the new Interview
Top Kudoed Authors