Micro Focus QTP (UFT) Forums
Qtp script - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Qtp script (/Thread-Qtp-script)



Qtp script - sarveshqtp - 06-15-2009

Transaction IDTransaction DateProductAmountP11206090000026/12/2009 12:08:33 PMFlexi Topup25.00P11206090000016/12/2009 10:42:17 AM200200.00P11106090000376/11/2009 2:27:29 PM10001000.00P11106090000356/11/2009 10:16:50 AMFlexi Topup10.00P11006090000506/10/2009 3:49:40 PMFlexi Topup10.00P11006090000496/10/2009 3:42:31 PM200200.00P11006090000486/10/2009 3:41:58 PM200200.00P11006090000476/10/2009 3:41:36 PMSpecial Validity40.00P11006090000466/10/2009 3:41:12 PM10001000.00P11006090000436/10/2009 3:26:58 PM10001000.001234567


This is the value i got from table's cell , now my target is to calculate the sum of value of price(bold values). Please help me.


RE: Qtp script - yaseenarfath - 06-15-2009

Hi,

Please find and let me know the common property value of the Bold object.


Regards,
Yaseen.


RE: Qtp script - Jackomcnabb - 06-16-2009

Question? is the length of the String the same all the time?
if so then you can split the string based on that


RE: Qtp script - sarveshqtp - 06-17-2009

Dont be confuse , i have just made it bold to make you understand that what values i want to extract from string. in real they are not bold