1. How can I check a value against a calculated value, eg if i have (psuedocode)
Dim A
if < 20 then A = A * 1.10
Then how can I use A in a checkpoint
--which value do u want to compare A with?? is it the new value u want to check or is it the old value or both of 'em. Or is that you want to...
After going thru with qtp help ....i think it is possible to get the square boxes into the text after all.
The approach:
copy paste(or getroproperty text of the object)the code u want to enter into the datatable(the squares are converted into spaces in the excel sheet)
Array = Split("the text...
I have tried various approaches to solve this issue but to no avail. The reason it fails is that the square delimiter is a non standard character and most of the applications are programmed to convert non standard character into their own character sets. In this particular case I see that the...
I am really not sure about this but I am taking a wild guess....give it a shot..... Put the whole in Double Quotes and try.
All the best. Pray that I dream of a better solution tonight...hehhehehehheeh
The application that I was testing had many objects(lists,tables etc etc) without names, and any other conventional properties. So I had to use the Index property to uniquely identify the table and BTW using Index makes your script run faster.
Did u get a solution for this? If not could you be more descriptive about the problem and error message. I think I had the same problem and might be able to help you, if you give me more info.
First a little bit of philosophy.....You cannot avoid 'change'.
With regards to your question, Does QTP change the path to a specific button or checkbox.....No it doesn't. The code you have pasted is not about changing the path, QTP is merely adding another(read same) object into the repository...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.