09-09-2010, 09:16 AM
Thanks for that, i resolved that issue in my click function as i am taking text property and in that i have done one silly mistake i have not make regular expression false, and the text property is having special symbol in it, due to which it was failing.
Yesterday i automated Ajax for my application, and i am very much successful in that but at one case there is a problem as, while the ajax is going on a pop up appears, now qtp is in ajax function waiting to complete but it will not set its status as complete until i pop up is clicked. What i thought is to use timer as well in condition that if the status is not complete then it should wait for that particular seconds in ajax function.
Don't you think with this my scripts will fail if application responds slowly as ajax will not be complete within that time limit.Is there any other best possible approach for that.
I will go through your code today and tree to use the approach where i require. Thanks for helping me.
I am facing one more issue with my Function named verifytextonpage in that i am taking all child objects on page and then i iterate all child objects innertext property to find my string with help of INSTR function but the problem is that the function is slow as it has to iterate no. of times to find the string. Is there is any other way to to that.
I appreciate your help, Thanks once again!
Yesterday i automated Ajax for my application, and i am very much successful in that but at one case there is a problem as, while the ajax is going on a pop up appears, now qtp is in ajax function waiting to complete but it will not set its status as complete until i pop up is clicked. What i thought is to use timer as well in condition that if the status is not complete then it should wait for that particular seconds in ajax function.
Don't you think with this my scripts will fail if application responds slowly as ajax will not be complete within that time limit.Is there any other best possible approach for that.
I will go through your code today and tree to use the approach where i require. Thanks for helping me.
I am facing one more issue with my Function named verifytextonpage in that i am taking all child objects on page and then i iterate all child objects innertext property to find my string with help of INSTR function but the problem is that the function is slow as it has to iterate no. of times to find the string. Is there is any other way to to that.
I appreciate your help, Thanks once again!