Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on what function is useful to convert string to number within the QTP forums, part of the Software Testing category; I got two values from textfields and attempted to add the two numbers (sum). The result isn't sum but concatenated strings. I may have to convert them before sum them. ...
|
|||||||
|
|||
|
what function is useful to convert string to number
I got two values from textfields and attempted to add the two numbers (sum). The result isn't sum but concatenated strings. I may have to convert them before sum them.
what function in qtp to use? msgbox browser(b).page(p).webedit(w1).getroproperty("vaue") + browser(b).page(p).webedit(w2).getroproperty("vaue") |
| Sponsored Links |
|
|||
|
please assign the values to variables & then sum them
Pseducode i = ROPROPERTY(Object1) j = ROPROPERTY(Object2) MsgBox int(i) + int(j) Regards, Nawab
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fastest algorithm to find the number of bits set in a number? | chandan1008 | C and C++ | 4 | 08-27-2008 08:31 AM |
| Difference between String.Convert Vs String.ToString | jbanx | C# | 6 | 03-24-2008 01:02 PM |
| How to convert the String to date in Parallel | jagadish10 | Data Warehousing | 0 | 06-19-2007 05:19 AM |
| display string without having underscore if we send string with underscore | ausprem2000 | Oracle | 1 | 05-28-2007 07:46 AM |
| String handling function in C | scott | C and C++ | 1 | 07-23-2006 12:22 PM |