Hi could some one explan what is the use of the function
Defination generator, And how to use the function defination
generator.. Explan with the example..


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More QTP Interview Questions

What are the factors on which script execution time is dependent?

0 Answers  


Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

0 Answers   IBM,


Is virtual object supported in low level recording mode?

0 Answers  


What are table and db checkpoints?

0 Answers  


setroproperty and getroproperty difference

5 Answers   Ordain Solutions,






Hi Friends, How to trap an error message on Web page through QTP. Example:- When I put wrong user id or Password on a web page, I get the error message. So when I add the error object in Reposatory, every time it shows as Login Failed Object exist, eventhough using corret login details. And if I do the same without adding the object it shows as object not found. This might be because while recording QTP takes every new page as _1 _2 _3 and so on. as below. Browser("XXXXX").Page("XXXXX_1"). >>login Browser("XXXXX").Page("XXXXX_2"). >>Inbox Browser("XXXXX").Page("XXXXX_3"). >>Sent Items I used below code. Browser("XXXXX").Page("XXXXX").WebEdit("firstname").Set strFN Browser("XXXXX").Page("XXXXX").WebEdit("lastname").Set strLN Browser("XXXXX").Page("XXXXX").WebEdit("userid").Set strUserID Browser("XXXXX").Page("XXXXX").WebEdit("password").Set strPass Browser("XXXXX").Page("XXXXX").WebButton("Login >").Click If Browser("XXXXX").Page("XXXXX_2").Image ("msg_icon_error").Exist 5 Then Reporter.ReportEvent micFail, "XXXXX", "Login Failed!" ExitRun (It shows login failed ever after login is passed. Else Reporter.ReportEvent micPass, "XXXXX", "Login Successful!" End If Please find out a way for me here, and provide me with the correct code. Thanks in Advance.

1 Answers  


Explain qtp(quick test professional)?

0 Answers  


how do u plan test automation?

0 Answers  


When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.

0 Answers  


suppose u have two send buttons(same width,height,font) on an application write a descriptive programming

1 Answers  


Analyzing the checpoint results?

0 Answers  


How to add a runtime parameter to a data sheet?

6 Answers  


Categories