What are the advantages of Object Repository?


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

Post New Answer

More QTP Interview Questions

any one can explain about QTP proocess,means where to start and how to start Scripting.

3 Answers  


plz can any one send me what is Automation Testing Frameworks.. Thanks in advance

1 Answers  


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  


How to add multiple values in rows, under a single column of a run time datatable?

3 Answers   NIIT,


How to record right click of a context menu and click on the selection ?

3 Answers  






when we enter url,one page should open.write a vb script ,that page is open or not

2 Answers   Blue Chip India, Persistent,


i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click

0 Answers   Rogers,


What is the new version of qtp which is recently released in the market?

0 Answers  


Which property do you use to retrieve or assign data into a cell in a Data Table object?

1 Answers  


What is recovery scenario in qtp?

0 Answers  


Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

0 Answers  


how you will do cookie testing using QTP?

2 Answers  


Categories