I encountered with very strange problem in qtp while
writing the script i written the code
window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open"
).Exit
this code was working fine for about 10-15 times i executed
the script but after some time qtp started giving the error
with the same code the error is "Object doesnt support this
method or function window(...).window(..)" then i modified
the code with only window"regexpwndtitle:=Open").Exit
in place of
window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open"
).Exit
now again its working fine i cannot understand what thing
is creating the problem if same code executed successfully
in starting for about 10 times then why it is giving the
error now can anyone give the reason .
No Answer is Posted For this Question
Be the First to Post Answer
What are the different types of recording modes?
How to use regular expression in descriptive programming?
What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?
I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?
How to return a value from a fn, if it has more than one value how to return
How to get the run time object property without using GetROProperty
Can Any One Write How to Write the Script for Child Objects
Among all the check points what is the most important checkpoint?
How to define array in qtp?
What is the difference in testing a client-server application and a web application?
Hey friends i m facing a problem when i m running my script in qtp it waits for about 5-10 secs before starting execution why it is so can any one solve my problem .Previously it was running fine
When I parameterize a script then for each iteration script is executed from begining to end. If I want to execute some middle steps multiple times using Parameterization (avoiding begining and end steps), what is the solution of this (e.g. total steps are 1 2 3 4 5 and i want 2 3 4 only(not 1 nd 5)