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

Post New Answer

More QTP Interview Questions

Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya

0 Answers  


what r the send key commands in QTP why they r used

1 Answers  


After geting the modules where we generate the script ie in qtp or notpad ?

1 Answers  


Do we get any issues if we run the testscript on different browsers? what are the options we need to st in QTP?

2 Answers   BirlaSoft,


Explain the parameter in qtp?

0 Answers  






write vbscript in qtp tool for senario, in the given sheet add each number in each row and each colunm and show result

3 Answers   Mind Q Systems,


How do you configure QTP AND Test director?

0 Answers  


why was automation used in the project?

1 Answers   Google,


what is localisation testing and globalisation testing? what is the difference between them?

1 Answers   CDC Software,


How to capture data from images in QTP and produce them in Excel sheet ?

4 Answers   iFlex, QA InfoTech,


What type of VB script u had done in expert view?

1 Answers   HCL,


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

0 Answers  


Categories